Class WebSecurityScannerGrpc.WebSecurityScannerStub (2.17.0)

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

A stub to allow clients to do asynchronous rpc calls to service WebSecurityScanner.

Web Security Scanner Service identifies security vulnerabilities in web applications hosted on Google Cloud. 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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateScanConfigRequest
responseObserverio.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
NameDescription
requestDeleteScanConfigRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

getFinding(GetFindingRequest request, StreamObserver<Finding> responseObserver)

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

Gets a Finding.

Parameters
NameDescription
requestGetFindingRequest
responseObserverio.grpc.stub.StreamObserver<Finding>

getScanConfig(GetScanConfigRequest request, StreamObserver<ScanConfig> responseObserver)

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

Gets a ScanConfig.

Parameters
NameDescription
requestGetScanConfigRequest
responseObserverio.grpc.stub.StreamObserver<ScanConfig>

getScanRun(GetScanRunRequest request, StreamObserver<ScanRun> responseObserver)

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

Gets a ScanRun.

Parameters
NameDescription
requestGetScanRunRequest
responseObserverio.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
NameDescription
requestListCrawledUrlsRequest
responseObserverio.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
NameDescription
requestListFindingTypeStatsRequest
responseObserverio.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
NameDescription
requestListFindingsRequest
responseObserverio.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
NameDescription
requestListScanConfigsRequest
responseObserverio.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
NameDescription
requestListScanRunsRequest
responseObserverio.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
NameDescription
requestStartScanRunRequest
responseObserverio.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
NameDescription
requestStopScanRunRequest
responseObserverio.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
NameDescription
requestUpdateScanConfigRequest
responseObserverio.grpc.stub.StreamObserver<ScanConfig>