Class WebSecurityScannerGrpc.WebSecurityScannerStub (2.51.0)

public static final class WebSecurityScannerGrpc.WebSecurityScannerStub extends AbstractAsyncStub<WebSecurityScannerGrpc.WebSecurityScannerStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > WebSecurityScannerGrpc.WebSecurityScannerStub

Methods

build(Channel channel, CallOptions callOptions)

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

createScanConfig(CreateScanConfigRequest request, StreamObserver<ScanConfig> responseObserver)

public void createScanConfig(CreateScanConfigRequest request, StreamObserver<ScanConfig> responseObserver)

Creates a new ScanConfig.

Parameters
Name Description
request CreateScanConfigRequest
responseObserver io.grpc.stub.StreamObserver<ScanConfig>

deleteScanConfig(DeleteScanConfigRequest request, StreamObserver<Empty> responseObserver)

public void deleteScanConfig(DeleteScanConfigRequest request, StreamObserver<Empty> responseObserver)

Deletes an existing ScanConfig and its child resources.

Parameters
Name Description
request DeleteScanConfigRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

getFinding(GetFindingRequest request, StreamObserver<Finding> responseObserver)

public void getFinding(GetFindingRequest request, StreamObserver<Finding> responseObserver)

Gets a Finding.

Parameters
Name Description
request GetFindingRequest
responseObserver io.grpc.stub.StreamObserver<Finding>

getScanConfig(GetScanConfigRequest request, StreamObserver<ScanConfig> responseObserver)

public void getScanConfig(GetScanConfigRequest request, StreamObserver<ScanConfig> responseObserver)

Gets a ScanConfig.

Parameters
Name Description
request GetScanConfigRequest
responseObserver io.grpc.stub.StreamObserver<ScanConfig>

getScanRun(GetScanRunRequest request, StreamObserver<ScanRun> responseObserver)

public void getScanRun(GetScanRunRequest request, StreamObserver<ScanRun> responseObserver)

Gets a ScanRun.

Parameters
Name Description
request GetScanRunRequest
responseObserver io.grpc.stub.StreamObserver<ScanRun>

listCrawledUrls(ListCrawledUrlsRequest request, StreamObserver<ListCrawledUrlsResponse> responseObserver)

public void listCrawledUrls(ListCrawledUrlsRequest request, StreamObserver<ListCrawledUrlsResponse> responseObserver)

List CrawledUrls under a given ScanRun.

Parameters
Name Description
request ListCrawledUrlsRequest
responseObserver io.grpc.stub.StreamObserver<ListCrawledUrlsResponse>

listFindingTypeStats(ListFindingTypeStatsRequest request, StreamObserver<ListFindingTypeStatsResponse> responseObserver)

public void listFindingTypeStats(ListFindingTypeStatsRequest request, StreamObserver<ListFindingTypeStatsResponse> responseObserver)

List all FindingTypeStats under a given ScanRun.

Parameters
Name Description
request ListFindingTypeStatsRequest
responseObserver io.grpc.stub.StreamObserver<ListFindingTypeStatsResponse>

listFindings(ListFindingsRequest request, StreamObserver<ListFindingsResponse> responseObserver)

public void listFindings(ListFindingsRequest request, StreamObserver<ListFindingsResponse> responseObserver)

List Findings under a given ScanRun.

Parameters
Name Description
request ListFindingsRequest
responseObserver io.grpc.stub.StreamObserver<ListFindingsResponse>

listScanConfigs(ListScanConfigsRequest request, StreamObserver<ListScanConfigsResponse> responseObserver)

public void listScanConfigs(ListScanConfigsRequest request, StreamObserver<ListScanConfigsResponse> responseObserver)

Lists ScanConfigs under a given project.

Parameters
Name Description
request ListScanConfigsRequest
responseObserver io.grpc.stub.StreamObserver<ListScanConfigsResponse>

listScanRuns(ListScanRunsRequest request, StreamObserver<ListScanRunsResponse> responseObserver)

public void listScanRuns(ListScanRunsRequest request, StreamObserver<ListScanRunsResponse> responseObserver)

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

Parameters
Name Description
request ListScanRunsRequest
responseObserver io.grpc.stub.StreamObserver<ListScanRunsResponse>

startScanRun(StartScanRunRequest request, StreamObserver<ScanRun> responseObserver)

public void startScanRun(StartScanRunRequest request, StreamObserver<ScanRun> responseObserver)

Start a ScanRun according to the given ScanConfig.

Parameters
Name Description
request StartScanRunRequest
responseObserver io.grpc.stub.StreamObserver<ScanRun>

stopScanRun(StopScanRunRequest request, StreamObserver<ScanRun> responseObserver)

public void stopScanRun(StopScanRunRequest request, StreamObserver<ScanRun> responseObserver)

Stops a ScanRun. The stopped ScanRun is returned.

Parameters
Name Description
request StopScanRunRequest
responseObserver io.grpc.stub.StreamObserver<ScanRun>

updateScanConfig(UpdateScanConfigRequest request, StreamObserver<ScanConfig> responseObserver)

public void updateScanConfig(UpdateScanConfigRequest request, StreamObserver<ScanConfig> responseObserver)

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

Parameters
Name Description
request UpdateScanConfigRequest
responseObserver io.grpc.stub.StreamObserver<ScanConfig>