public sealed class WebSecurityScannerClientImpl : WebSecurityScannerClient
WebSecurityScanner client wrapper implementation, for convenient use.
Namespace
Google.Cloud.WebSecurityScanner.V1Assembly
Google.Cloud.WebSecurityScanner.V1.dll
Remarks
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.
Constructors
WebSecurityScannerClientImpl(WebSecurityScanner.WebSecurityScannerClient, WebSecurityScannerSettings)
public WebSecurityScannerClientImpl(WebSecurityScanner.WebSecurityScannerClient grpcClient, WebSecurityScannerSettings settings)
Constructs a client wrapper for the WebSecurityScanner service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | WebSecurityScanner.WebSecurityScannerClient The underlying gRPC client. |
settings | WebSecurityScannerSettings The base WebSecurityScannerSettings used within this client. |
Properties
GrpcClient
public override WebSecurityScanner.WebSecurityScannerClient GrpcClient { get; }
The underlying gRPC WebSecurityScanner client
Property Value | |
---|---|
Type | Description |
WebSecurityScanner.WebSecurityScannerClient |
Methods
CreateScanConfig(CreateScanConfigRequest, CallSettings)
public override ScanConfig CreateScanConfig(CreateScanConfigRequest request, CallSettings callSettings = null)
Creates a new ScanConfig.
Parameters | |
---|---|
Name | Description |
request | CreateScanConfigRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ScanConfig | The RPC response. |
CreateScanConfigAsync(CreateScanConfigRequest, CallSettings)
public override Task<ScanConfig> CreateScanConfigAsync(CreateScanConfigRequest request, CallSettings callSettings = null)
Creates a new ScanConfig.
Parameters | |
---|---|
Name | Description |
request | CreateScanConfigRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
System.Threading.Tasks.Task<ScanConfig> | A Task containing the RPC response. |
DeleteScanConfig(DeleteScanConfigRequest, CallSettings)
public override void DeleteScanConfig(DeleteScanConfigRequest request, CallSettings callSettings = null)
Deletes an existing ScanConfig and its child resources.
Parameters | |
---|---|
Name | Description |
request | DeleteScanConfigRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
DeleteScanConfigAsync(DeleteScanConfigRequest, CallSettings)
public override Task DeleteScanConfigAsync(DeleteScanConfigRequest request, CallSettings callSettings = null)
Deletes an existing ScanConfig and its child resources.
Parameters | |
---|---|
Name | Description |
request | DeleteScanConfigRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
System.Threading.Tasks.Task | A Task containing the RPC response. |
GetFinding(GetFindingRequest, CallSettings)
public override Finding GetFinding(GetFindingRequest request, CallSettings callSettings = null)
Gets a Finding.
Parameters | |
---|---|
Name | Description |
request | GetFindingRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Finding | The RPC response. |
GetFindingAsync(GetFindingRequest, CallSettings)
public override Task<Finding> GetFindingAsync(GetFindingRequest request, CallSettings callSettings = null)
Gets a Finding.
Parameters | |
---|---|
Name | Description |
request | GetFindingRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
System.Threading.Tasks.Task<Finding> | A Task containing the RPC response. |
GetScanConfig(GetScanConfigRequest, CallSettings)
public override ScanConfig GetScanConfig(GetScanConfigRequest request, CallSettings callSettings = null)
Gets a ScanConfig.
Parameters | |
---|---|
Name | Description |
request | GetScanConfigRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ScanConfig | The RPC response. |
GetScanConfigAsync(GetScanConfigRequest, CallSettings)
public override Task<ScanConfig> GetScanConfigAsync(GetScanConfigRequest request, CallSettings callSettings = null)
Gets a ScanConfig.
Parameters | |
---|---|
Name | Description |
request | GetScanConfigRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
System.Threading.Tasks.Task<ScanConfig> | A Task containing the RPC response. |
GetScanRun(GetScanRunRequest, CallSettings)
public override ScanRun GetScanRun(GetScanRunRequest request, CallSettings callSettings = null)
Gets a ScanRun.
Parameters | |
---|---|
Name | Description |
request | GetScanRunRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ScanRun | The RPC response. |
GetScanRunAsync(GetScanRunRequest, CallSettings)
public override Task<ScanRun> GetScanRunAsync(GetScanRunRequest request, CallSettings callSettings = null)
Gets a ScanRun.
Parameters | |
---|---|
Name | Description |
request | GetScanRunRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
System.Threading.Tasks.Task<ScanRun> | A Task containing the RPC response. |
ListCrawledUrls(ListCrawledUrlsRequest, CallSettings)
public override PagedEnumerable<ListCrawledUrlsResponse, CrawledUrl> ListCrawledUrls(ListCrawledUrlsRequest request, CallSettings callSettings = null)
List CrawledUrls under a given ScanRun.
Parameters | |
---|---|
Name | Description |
request | ListCrawledUrlsRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Google.Api.Gax.PagedEnumerable<ListCrawledUrlsResponse, CrawledUrl> | A pageable sequence of CrawledUrl resources. |
ListCrawledUrlsAsync(ListCrawledUrlsRequest, CallSettings)
public override PagedAsyncEnumerable<ListCrawledUrlsResponse, CrawledUrl> ListCrawledUrlsAsync(ListCrawledUrlsRequest request, CallSettings callSettings = null)
List CrawledUrls under a given ScanRun.
Parameters | |
---|---|
Name | Description |
request | ListCrawledUrlsRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Google.Api.Gax.PagedAsyncEnumerable<ListCrawledUrlsResponse, CrawledUrl> | A pageable asynchronous sequence of CrawledUrl resources. |
ListFindings(ListFindingsRequest, CallSettings)
public override PagedEnumerable<ListFindingsResponse, Finding> ListFindings(ListFindingsRequest request, CallSettings callSettings = null)
List Findings under a given ScanRun.
Parameters | |
---|---|
Name | Description |
request | ListFindingsRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Google.Api.Gax.PagedEnumerable<ListFindingsResponse, Finding> | A pageable sequence of Finding resources. |
ListFindingsAsync(ListFindingsRequest, CallSettings)
public override PagedAsyncEnumerable<ListFindingsResponse, Finding> ListFindingsAsync(ListFindingsRequest request, CallSettings callSettings = null)
List Findings under a given ScanRun.
Parameters | |
---|---|
Name | Description |
request | ListFindingsRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Google.Api.Gax.PagedAsyncEnumerable<ListFindingsResponse, Finding> | A pageable asynchronous sequence of Finding resources. |
ListFindingTypeStats(ListFindingTypeStatsRequest, CallSettings)
public override ListFindingTypeStatsResponse ListFindingTypeStats(ListFindingTypeStatsRequest request, CallSettings callSettings = null)
List all FindingTypeStats under a given ScanRun.
Parameters | |
---|---|
Name | Description |
request | ListFindingTypeStatsRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ListFindingTypeStatsResponse | The RPC response. |
ListFindingTypeStatsAsync(ListFindingTypeStatsRequest, CallSettings)
public override Task<ListFindingTypeStatsResponse> ListFindingTypeStatsAsync(ListFindingTypeStatsRequest request, CallSettings callSettings = null)
List all FindingTypeStats under a given ScanRun.
Parameters | |
---|---|
Name | Description |
request | ListFindingTypeStatsRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
System.Threading.Tasks.Task<ListFindingTypeStatsResponse> | A Task containing the RPC response. |
ListScanConfigs(ListScanConfigsRequest, CallSettings)
public override PagedEnumerable<ListScanConfigsResponse, ScanConfig> ListScanConfigs(ListScanConfigsRequest request, CallSettings callSettings = null)
Lists ScanConfigs under a given project.
Parameters | |
---|---|
Name | Description |
request | ListScanConfigsRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Google.Api.Gax.PagedEnumerable<ListScanConfigsResponse, ScanConfig> | A pageable sequence of ScanConfig resources. |
ListScanConfigsAsync(ListScanConfigsRequest, CallSettings)
public override PagedAsyncEnumerable<ListScanConfigsResponse, ScanConfig> ListScanConfigsAsync(ListScanConfigsRequest request, CallSettings callSettings = null)
Lists ScanConfigs under a given project.
Parameters | |
---|---|
Name | Description |
request | ListScanConfigsRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Google.Api.Gax.PagedAsyncEnumerable<ListScanConfigsResponse, ScanConfig> | A pageable asynchronous sequence of ScanConfig resources. |
ListScanRuns(ListScanRunsRequest, CallSettings)
public override PagedEnumerable<ListScanRunsResponse, ScanRun> ListScanRuns(ListScanRunsRequest request, CallSettings callSettings = null)
Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time.
Parameters | |
---|---|
Name | Description |
request | ListScanRunsRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Google.Api.Gax.PagedEnumerable<ListScanRunsResponse, ScanRun> | A pageable sequence of ScanRun resources. |
ListScanRunsAsync(ListScanRunsRequest, CallSettings)
public override PagedAsyncEnumerable<ListScanRunsResponse, ScanRun> ListScanRunsAsync(ListScanRunsRequest request, CallSettings callSettings = null)
Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time.
Parameters | |
---|---|
Name | Description |
request | ListScanRunsRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Google.Api.Gax.PagedAsyncEnumerable<ListScanRunsResponse, ScanRun> | A pageable asynchronous sequence of ScanRun resources. |
StartScanRun(StartScanRunRequest, CallSettings)
public override ScanRun StartScanRun(StartScanRunRequest request, CallSettings callSettings = null)
Start a ScanRun according to the given ScanConfig.
Parameters | |
---|---|
Name | Description |
request | StartScanRunRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ScanRun | The RPC response. |
StartScanRunAsync(StartScanRunRequest, CallSettings)
public override Task<ScanRun> StartScanRunAsync(StartScanRunRequest request, CallSettings callSettings = null)
Start a ScanRun according to the given ScanConfig.
Parameters | |
---|---|
Name | Description |
request | StartScanRunRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
System.Threading.Tasks.Task<ScanRun> | A Task containing the RPC response. |
StopScanRun(StopScanRunRequest, CallSettings)
public override ScanRun StopScanRun(StopScanRunRequest request, CallSettings callSettings = null)
Stops a ScanRun. The stopped ScanRun is returned.
Parameters | |
---|---|
Name | Description |
request | StopScanRunRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ScanRun | The RPC response. |
StopScanRunAsync(StopScanRunRequest, CallSettings)
public override Task<ScanRun> StopScanRunAsync(StopScanRunRequest request, CallSettings callSettings = null)
Stops a ScanRun. The stopped ScanRun is returned.
Parameters | |
---|---|
Name | Description |
request | StopScanRunRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
System.Threading.Tasks.Task<ScanRun> | A Task containing the RPC response. |
UpdateScanConfig(UpdateScanConfigRequest, CallSettings)
public override ScanConfig UpdateScanConfig(UpdateScanConfigRequest request, CallSettings callSettings = null)
Updates a ScanConfig. This method support partial update of a ScanConfig.
Parameters | |
---|---|
Name | Description |
request | UpdateScanConfigRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ScanConfig | The RPC response. |
UpdateScanConfigAsync(UpdateScanConfigRequest, CallSettings)
public override Task<ScanConfig> UpdateScanConfigAsync(UpdateScanConfigRequest request, CallSettings callSettings = null)
Updates a ScanConfig. This method support partial update of a ScanConfig.
Parameters | |
---|---|
Name | Description |
request | UpdateScanConfigRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
System.Threading.Tasks.Task<ScanConfig> | A Task containing the RPC response. |