Class WebSecurityScannerGrpc.WebSecurityScannerFutureStub (2.54.0)

public static final class WebSecurityScannerGrpc.WebSecurityScannerFutureStub extends AbstractFutureStub<WebSecurityScannerGrpc.WebSecurityScannerFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service WebSecurityScanner.

Cloud Web Security Scanner Service identifies security vulnerabilities in web applications hosted on Google Cloud Platform. It crawls your application, and attempts to exercise as many user inputs and event handlers as possible.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > WebSecurityScannerGrpc.WebSecurityScannerFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected WebSecurityScannerGrpc.WebSecurityScannerFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
WebSecurityScannerGrpc.WebSecurityScannerFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createScanConfig(CreateScanConfigRequest request)

public ListenableFuture<ScanConfig> createScanConfig(CreateScanConfigRequest request)

Creates a new ScanConfig.

Parameter
Name Description
request CreateScanConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ScanConfig>

deleteScanConfig(DeleteScanConfigRequest request)

public ListenableFuture<Empty> deleteScanConfig(DeleteScanConfigRequest request)

Deletes an existing ScanConfig and its child resources.

Parameter
Name Description
request DeleteScanConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

getFinding(GetFindingRequest request)

public ListenableFuture<Finding> getFinding(GetFindingRequest request)

Gets a Finding.

Parameter
Name Description
request GetFindingRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Finding>

getScanConfig(GetScanConfigRequest request)

public ListenableFuture<ScanConfig> getScanConfig(GetScanConfigRequest request)

Gets a ScanConfig.

Parameter
Name Description
request GetScanConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ScanConfig>

getScanRun(GetScanRunRequest request)

public ListenableFuture<ScanRun> getScanRun(GetScanRunRequest request)

Gets a ScanRun.

Parameter
Name Description
request GetScanRunRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ScanRun>

listCrawledUrls(ListCrawledUrlsRequest request)

public ListenableFuture<ListCrawledUrlsResponse> listCrawledUrls(ListCrawledUrlsRequest request)

List CrawledUrls under a given ScanRun.

Parameter
Name Description
request ListCrawledUrlsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListCrawledUrlsResponse>

listFindingTypeStats(ListFindingTypeStatsRequest request)

public ListenableFuture<ListFindingTypeStatsResponse> listFindingTypeStats(ListFindingTypeStatsRequest request)

List all FindingTypeStats under a given ScanRun.

Parameter
Name Description
request ListFindingTypeStatsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListFindingTypeStatsResponse>

listFindings(ListFindingsRequest request)

public ListenableFuture<ListFindingsResponse> listFindings(ListFindingsRequest request)

List Findings under a given ScanRun.

Parameter
Name Description
request ListFindingsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListFindingsResponse>

listScanConfigs(ListScanConfigsRequest request)

public ListenableFuture<ListScanConfigsResponse> listScanConfigs(ListScanConfigsRequest request)

Lists ScanConfigs under a given project.

Parameter
Name Description
request ListScanConfigsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListScanConfigsResponse>

listScanRuns(ListScanRunsRequest request)

public ListenableFuture<ListScanRunsResponse> listScanRuns(ListScanRunsRequest request)

Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time.

Parameter
Name Description
request ListScanRunsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListScanRunsResponse>

startScanRun(StartScanRunRequest request)

public ListenableFuture<ScanRun> startScanRun(StartScanRunRequest request)

Start a ScanRun according to the given ScanConfig.

Parameter
Name Description
request StartScanRunRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ScanRun>

stopScanRun(StopScanRunRequest request)

public ListenableFuture<ScanRun> stopScanRun(StopScanRunRequest request)

Stops a ScanRun. The stopped ScanRun is returned.

Parameter
Name Description
request StopScanRunRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ScanRun>

updateScanConfig(UpdateScanConfigRequest request)

public ListenableFuture<ScanConfig> updateScanConfig(UpdateScanConfigRequest request)

Updates a ScanConfig. This method support partial update of a ScanConfig.

Parameter
Name Description
request UpdateScanConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ScanConfig>