Class HttpJsonWebSecurityScannerStub
java.lang.Object
com.google.cloud.websecurityscanner.v1.stub.WebSecurityScannerStub
com.google.cloud.websecurityscanner.v1.stub.HttpJsonWebSecurityScannerStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class HttpJsonWebSecurityScannerStub
extends WebSecurityScannerStub
REST stub implementation for the WebSecurityScanner service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonWebSecurityScannerStub(WebSecurityScannerStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonWebSecurityScannerStub, using the given settings.protectedHttpJsonWebSecurityScannerStub(WebSecurityScannerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonWebSecurityScannerStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonWebSecurityScannerStubcreate(ClientContext clientContext) static final HttpJsonWebSecurityScannerStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonWebSecurityScannerStubcreate(WebSecurityScannerStubSettings settings) UnaryCallable<DeleteScanConfigRequest,com.google.protobuf.Empty> static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()void
-
Constructor Details
-
HttpJsonWebSecurityScannerStub
protected HttpJsonWebSecurityScannerStub(WebSecurityScannerStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonWebSecurityScannerStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
HttpJsonWebSecurityScannerStub
protected HttpJsonWebSecurityScannerStub(WebSecurityScannerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonWebSecurityScannerStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
-
Method Details
-
create
public static final HttpJsonWebSecurityScannerStub create(WebSecurityScannerStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonWebSecurityScannerStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonWebSecurityScannerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
createScanConfigCallable
- Overrides:
createScanConfigCallablein classWebSecurityScannerStub
-
deleteScanConfigCallable
- Overrides:
deleteScanConfigCallablein classWebSecurityScannerStub
-
getScanConfigCallable
- Overrides:
getScanConfigCallablein classWebSecurityScannerStub
-
listScanConfigsCallable
- Overrides:
listScanConfigsCallablein classWebSecurityScannerStub
-
listScanConfigsPagedCallable
public UnaryCallable<ListScanConfigsRequest,WebSecurityScannerClient.ListScanConfigsPagedResponse> listScanConfigsPagedCallable()- Overrides:
listScanConfigsPagedCallablein classWebSecurityScannerStub
-
updateScanConfigCallable
- Overrides:
updateScanConfigCallablein classWebSecurityScannerStub
-
startScanRunCallable
- Overrides:
startScanRunCallablein classWebSecurityScannerStub
-
getScanRunCallable
- Overrides:
getScanRunCallablein classWebSecurityScannerStub
-
listScanRunsCallable
- Overrides:
listScanRunsCallablein classWebSecurityScannerStub
-
listScanRunsPagedCallable
public UnaryCallable<ListScanRunsRequest,WebSecurityScannerClient.ListScanRunsPagedResponse> listScanRunsPagedCallable()- Overrides:
listScanRunsPagedCallablein classWebSecurityScannerStub
-
stopScanRunCallable
- Overrides:
stopScanRunCallablein classWebSecurityScannerStub
-
listCrawledUrlsCallable
- Overrides:
listCrawledUrlsCallablein classWebSecurityScannerStub
-
listCrawledUrlsPagedCallable
public UnaryCallable<ListCrawledUrlsRequest,WebSecurityScannerClient.ListCrawledUrlsPagedResponse> listCrawledUrlsPagedCallable()- Overrides:
listCrawledUrlsPagedCallablein classWebSecurityScannerStub
-
getFindingCallable
- Overrides:
getFindingCallablein classWebSecurityScannerStub
-
listFindingsCallable
- Overrides:
listFindingsCallablein classWebSecurityScannerStub
-
listFindingsPagedCallable
public UnaryCallable<ListFindingsRequest,WebSecurityScannerClient.ListFindingsPagedResponse> listFindingsPagedCallable()- Overrides:
listFindingsPagedCallablein classWebSecurityScannerStub
-
listFindingTypeStatsCallable
public UnaryCallable<ListFindingTypeStatsRequest,ListFindingTypeStatsResponse> listFindingTypeStatsCallable()- Overrides:
listFindingTypeStatsCallablein classWebSecurityScannerStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classWebSecurityScannerStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-