public class WebSecurityScannerClient : ClientBase<WebSecurityScanner.WebSecurityScannerClient>
Client for WebSecurityScanner
Inheritance
Object > ClientBase > ClientBase<WebSecurityScanner.WebSecurityScannerClient> > WebSecurityScanner.WebSecurityScannerClientNamespace
Google.Cloud.WebSecurityScanner.V1Assembly
Google.Cloud.WebSecurityScanner.V1.dll
Constructors
WebSecurityScannerClient()
protected WebSecurityScannerClient()
Protected parameterless constructor to allow creation of test doubles.
WebSecurityScannerClient(CallInvoker)
public WebSecurityScannerClient(CallInvoker callInvoker)
Creates a new client for WebSecurityScanner that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
WebSecurityScannerClient(ChannelBase)
public WebSecurityScannerClient(ChannelBase channel)
Creates a new client for WebSecurityScanner
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
WebSecurityScannerClient(ClientBase.ClientBaseConfiguration)
protected WebSecurityScannerClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
CreateScanConfig(CreateScanConfigRequest, CallOptions)
public virtual ScanConfig CreateScanConfig(CreateScanConfigRequest request, CallOptions options)
Creates a new ScanConfig.
Parameters | |
---|---|
Name | Description |
request | CreateScanConfigRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ScanConfig | The response received from the server. |
CreateScanConfig(CreateScanConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ScanConfig CreateScanConfig(CreateScanConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a new ScanConfig.
Parameters | |
---|---|
Name | Description |
request | CreateScanConfigRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ScanConfig | The response received from the server. |
CreateScanConfigAsync(CreateScanConfigRequest, CallOptions)
public virtual AsyncUnaryCall<ScanConfig> CreateScanConfigAsync(CreateScanConfigRequest request, CallOptions options)
Creates a new ScanConfig.
Parameters | |
---|---|
Name | Description |
request | CreateScanConfigRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ScanConfig> | The call object. |
CreateScanConfigAsync(CreateScanConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ScanConfig> CreateScanConfigAsync(CreateScanConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a new ScanConfig.
Parameters | |
---|---|
Name | Description |
request | CreateScanConfigRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ScanConfig> | The call object. |
DeleteScanConfig(DeleteScanConfigRequest, CallOptions)
public virtual Empty DeleteScanConfig(DeleteScanConfigRequest request, CallOptions options)
Deletes an existing ScanConfig and its child resources.
Parameters | |
---|---|
Name | Description |
request | DeleteScanConfigRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
DeleteScanConfig(DeleteScanConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Empty DeleteScanConfig(DeleteScanConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes an existing ScanConfig and its child resources.
Parameters | |
---|---|
Name | Description |
request | DeleteScanConfigRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
DeleteScanConfigAsync(DeleteScanConfigRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> DeleteScanConfigAsync(DeleteScanConfigRequest request, CallOptions options)
Deletes an existing ScanConfig and its child resources.
Parameters | |
---|---|
Name | Description |
request | DeleteScanConfigRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
DeleteScanConfigAsync(DeleteScanConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Empty> DeleteScanConfigAsync(DeleteScanConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes an existing ScanConfig and its child resources.
Parameters | |
---|---|
Name | Description |
request | DeleteScanConfigRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
GetFinding(GetFindingRequest, CallOptions)
public virtual Finding GetFinding(GetFindingRequest request, CallOptions options)
Gets a Finding.
Parameters | |
---|---|
Name | Description |
request | GetFindingRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Finding | The response received from the server. |
GetFinding(GetFindingRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Finding GetFinding(GetFindingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets a Finding.
Parameters | |
---|---|
Name | Description |
request | GetFindingRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Finding | The response received from the server. |
GetFindingAsync(GetFindingRequest, CallOptions)
public virtual AsyncUnaryCall<Finding> GetFindingAsync(GetFindingRequest request, CallOptions options)
Gets a Finding.
Parameters | |
---|---|
Name | Description |
request | GetFindingRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Finding> | The call object. |
GetFindingAsync(GetFindingRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Finding> GetFindingAsync(GetFindingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets a Finding.
Parameters | |
---|---|
Name | Description |
request | GetFindingRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Finding> | The call object. |
GetScanConfig(GetScanConfigRequest, CallOptions)
public virtual ScanConfig GetScanConfig(GetScanConfigRequest request, CallOptions options)
Gets a ScanConfig.
Parameters | |
---|---|
Name | Description |
request | GetScanConfigRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ScanConfig | The response received from the server. |
GetScanConfig(GetScanConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ScanConfig GetScanConfig(GetScanConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets a ScanConfig.
Parameters | |
---|---|
Name | Description |
request | GetScanConfigRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ScanConfig | The response received from the server. |
GetScanConfigAsync(GetScanConfigRequest, CallOptions)
public virtual AsyncUnaryCall<ScanConfig> GetScanConfigAsync(GetScanConfigRequest request, CallOptions options)
Gets a ScanConfig.
Parameters | |
---|---|
Name | Description |
request | GetScanConfigRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ScanConfig> | The call object. |
GetScanConfigAsync(GetScanConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ScanConfig> GetScanConfigAsync(GetScanConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets a ScanConfig.
Parameters | |
---|---|
Name | Description |
request | GetScanConfigRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ScanConfig> | The call object. |
GetScanRun(GetScanRunRequest, CallOptions)
public virtual ScanRun GetScanRun(GetScanRunRequest request, CallOptions options)
Gets a ScanRun.
Parameters | |
---|---|
Name | Description |
request | GetScanRunRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ScanRun | The response received from the server. |
GetScanRun(GetScanRunRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ScanRun GetScanRun(GetScanRunRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets a ScanRun.
Parameters | |
---|---|
Name | Description |
request | GetScanRunRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ScanRun | The response received from the server. |
GetScanRunAsync(GetScanRunRequest, CallOptions)
public virtual AsyncUnaryCall<ScanRun> GetScanRunAsync(GetScanRunRequest request, CallOptions options)
Gets a ScanRun.
Parameters | |
---|---|
Name | Description |
request | GetScanRunRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ScanRun> | The call object. |
GetScanRunAsync(GetScanRunRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ScanRun> GetScanRunAsync(GetScanRunRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets a ScanRun.
Parameters | |
---|---|
Name | Description |
request | GetScanRunRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ScanRun> | The call object. |
ListCrawledUrls(ListCrawledUrlsRequest, CallOptions)
public virtual ListCrawledUrlsResponse ListCrawledUrls(ListCrawledUrlsRequest request, CallOptions options)
List CrawledUrls under a given ScanRun.
Parameters | |
---|---|
Name | Description |
request | ListCrawledUrlsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListCrawledUrlsResponse | The response received from the server. |
ListCrawledUrls(ListCrawledUrlsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListCrawledUrlsResponse ListCrawledUrls(ListCrawledUrlsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
List CrawledUrls under a given ScanRun.
Parameters | |
---|---|
Name | Description |
request | ListCrawledUrlsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListCrawledUrlsResponse | The response received from the server. |
ListCrawledUrlsAsync(ListCrawledUrlsRequest, CallOptions)
public virtual AsyncUnaryCall<ListCrawledUrlsResponse> ListCrawledUrlsAsync(ListCrawledUrlsRequest request, CallOptions options)
List CrawledUrls under a given ScanRun.
Parameters | |
---|---|
Name | Description |
request | ListCrawledUrlsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListCrawledUrlsResponse> | The call object. |
ListCrawledUrlsAsync(ListCrawledUrlsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListCrawledUrlsResponse> ListCrawledUrlsAsync(ListCrawledUrlsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
List CrawledUrls under a given ScanRun.
Parameters | |
---|---|
Name | Description |
request | ListCrawledUrlsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListCrawledUrlsResponse> | The call object. |
ListFindings(ListFindingsRequest, CallOptions)
public virtual ListFindingsResponse ListFindings(ListFindingsRequest request, CallOptions options)
List Findings under a given ScanRun.
Parameters | |
---|---|
Name | Description |
request | ListFindingsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListFindingsResponse | The response received from the server. |
ListFindings(ListFindingsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListFindingsResponse ListFindings(ListFindingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
List Findings under a given ScanRun.
Parameters | |
---|---|
Name | Description |
request | ListFindingsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListFindingsResponse | The response received from the server. |
ListFindingsAsync(ListFindingsRequest, CallOptions)
public virtual AsyncUnaryCall<ListFindingsResponse> ListFindingsAsync(ListFindingsRequest request, CallOptions options)
List Findings under a given ScanRun.
Parameters | |
---|---|
Name | Description |
request | ListFindingsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListFindingsResponse> | The call object. |
ListFindingsAsync(ListFindingsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListFindingsResponse> ListFindingsAsync(ListFindingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
List Findings under a given ScanRun.
Parameters | |
---|---|
Name | Description |
request | ListFindingsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListFindingsResponse> | The call object. |
ListFindingTypeStats(ListFindingTypeStatsRequest, CallOptions)
public virtual ListFindingTypeStatsResponse ListFindingTypeStats(ListFindingTypeStatsRequest request, CallOptions options)
List all FindingTypeStats under a given ScanRun.
Parameters | |
---|---|
Name | Description |
request | ListFindingTypeStatsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListFindingTypeStatsResponse | The response received from the server. |
ListFindingTypeStats(ListFindingTypeStatsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListFindingTypeStatsResponse ListFindingTypeStats(ListFindingTypeStatsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
List all FindingTypeStats under a given ScanRun.
Parameters | |
---|---|
Name | Description |
request | ListFindingTypeStatsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListFindingTypeStatsResponse | The response received from the server. |
ListFindingTypeStatsAsync(ListFindingTypeStatsRequest, CallOptions)
public virtual AsyncUnaryCall<ListFindingTypeStatsResponse> ListFindingTypeStatsAsync(ListFindingTypeStatsRequest request, CallOptions options)
List all FindingTypeStats under a given ScanRun.
Parameters | |
---|---|
Name | Description |
request | ListFindingTypeStatsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListFindingTypeStatsResponse> | The call object. |
ListFindingTypeStatsAsync(ListFindingTypeStatsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListFindingTypeStatsResponse> ListFindingTypeStatsAsync(ListFindingTypeStatsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
List all FindingTypeStats under a given ScanRun.
Parameters | |
---|---|
Name | Description |
request | ListFindingTypeStatsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListFindingTypeStatsResponse> | The call object. |
ListScanConfigs(ListScanConfigsRequest, CallOptions)
public virtual ListScanConfigsResponse ListScanConfigs(ListScanConfigsRequest request, CallOptions options)
Lists ScanConfigs under a given project.
Parameters | |
---|---|
Name | Description |
request | ListScanConfigsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListScanConfigsResponse | The response received from the server. |
ListScanConfigs(ListScanConfigsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListScanConfigsResponse ListScanConfigs(ListScanConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists ScanConfigs under a given project.
Parameters | |
---|---|
Name | Description |
request | ListScanConfigsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListScanConfigsResponse | The response received from the server. |
ListScanConfigsAsync(ListScanConfigsRequest, CallOptions)
public virtual AsyncUnaryCall<ListScanConfigsResponse> ListScanConfigsAsync(ListScanConfigsRequest request, CallOptions options)
Lists ScanConfigs under a given project.
Parameters | |
---|---|
Name | Description |
request | ListScanConfigsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListScanConfigsResponse> | The call object. |
ListScanConfigsAsync(ListScanConfigsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListScanConfigsResponse> ListScanConfigsAsync(ListScanConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists ScanConfigs under a given project.
Parameters | |
---|---|
Name | Description |
request | ListScanConfigsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListScanConfigsResponse> | The call object. |
ListScanRuns(ListScanRunsRequest, CallOptions)
public virtual ListScanRunsResponse ListScanRuns(ListScanRunsRequest request, CallOptions options)
Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time.
Parameters | |
---|---|
Name | Description |
request | ListScanRunsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListScanRunsResponse | The response received from the server. |
ListScanRuns(ListScanRunsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListScanRunsResponse ListScanRuns(ListScanRunsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time.
Parameters | |
---|---|
Name | Description |
request | ListScanRunsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListScanRunsResponse | The response received from the server. |
ListScanRunsAsync(ListScanRunsRequest, CallOptions)
public virtual AsyncUnaryCall<ListScanRunsResponse> ListScanRunsAsync(ListScanRunsRequest request, CallOptions options)
Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time.
Parameters | |
---|---|
Name | Description |
request | ListScanRunsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListScanRunsResponse> | The call object. |
ListScanRunsAsync(ListScanRunsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListScanRunsResponse> ListScanRunsAsync(ListScanRunsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time.
Parameters | |
---|---|
Name | Description |
request | ListScanRunsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListScanRunsResponse> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override WebSecurityScanner.WebSecurityScannerClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
WebSecurityScanner.WebSecurityScannerClient |
StartScanRun(StartScanRunRequest, CallOptions)
public virtual ScanRun StartScanRun(StartScanRunRequest request, CallOptions options)
Start a ScanRun according to the given ScanConfig.
Parameters | |
---|---|
Name | Description |
request | StartScanRunRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ScanRun | The response received from the server. |
StartScanRun(StartScanRunRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ScanRun StartScanRun(StartScanRunRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Start a ScanRun according to the given ScanConfig.
Parameters | |
---|---|
Name | Description |
request | StartScanRunRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ScanRun | The response received from the server. |
StartScanRunAsync(StartScanRunRequest, CallOptions)
public virtual AsyncUnaryCall<ScanRun> StartScanRunAsync(StartScanRunRequest request, CallOptions options)
Start a ScanRun according to the given ScanConfig.
Parameters | |
---|---|
Name | Description |
request | StartScanRunRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ScanRun> | The call object. |
StartScanRunAsync(StartScanRunRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ScanRun> StartScanRunAsync(StartScanRunRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Start a ScanRun according to the given ScanConfig.
Parameters | |
---|---|
Name | Description |
request | StartScanRunRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ScanRun> | The call object. |
StopScanRun(StopScanRunRequest, CallOptions)
public virtual ScanRun StopScanRun(StopScanRunRequest request, CallOptions options)
Stops a ScanRun. The stopped ScanRun is returned.
Parameters | |
---|---|
Name | Description |
request | StopScanRunRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ScanRun | The response received from the server. |
StopScanRun(StopScanRunRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ScanRun StopScanRun(StopScanRunRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Stops a ScanRun. The stopped ScanRun is returned.
Parameters | |
---|---|
Name | Description |
request | StopScanRunRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ScanRun | The response received from the server. |
StopScanRunAsync(StopScanRunRequest, CallOptions)
public virtual AsyncUnaryCall<ScanRun> StopScanRunAsync(StopScanRunRequest request, CallOptions options)
Stops a ScanRun. The stopped ScanRun is returned.
Parameters | |
---|---|
Name | Description |
request | StopScanRunRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ScanRun> | The call object. |
StopScanRunAsync(StopScanRunRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ScanRun> StopScanRunAsync(StopScanRunRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Stops a ScanRun. The stopped ScanRun is returned.
Parameters | |
---|---|
Name | Description |
request | StopScanRunRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ScanRun> | The call object. |
UpdateScanConfig(UpdateScanConfigRequest, CallOptions)
public virtual ScanConfig UpdateScanConfig(UpdateScanConfigRequest request, CallOptions options)
Updates a ScanConfig. This method support partial update of a ScanConfig.
Parameters | |
---|---|
Name | Description |
request | UpdateScanConfigRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ScanConfig | The response received from the server. |
UpdateScanConfig(UpdateScanConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ScanConfig UpdateScanConfig(UpdateScanConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Updates a ScanConfig. This method support partial update of a ScanConfig.
Parameters | |
---|---|
Name | Description |
request | UpdateScanConfigRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ScanConfig | The response received from the server. |
UpdateScanConfigAsync(UpdateScanConfigRequest, CallOptions)
public virtual AsyncUnaryCall<ScanConfig> UpdateScanConfigAsync(UpdateScanConfigRequest request, CallOptions options)
Updates a ScanConfig. This method support partial update of a ScanConfig.
Parameters | |
---|---|
Name | Description |
request | UpdateScanConfigRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ScanConfig> | The call object. |
UpdateScanConfigAsync(UpdateScanConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ScanConfig> UpdateScanConfigAsync(UpdateScanConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Updates a ScanConfig. This method support partial update of a ScanConfig.
Parameters | |
---|---|
Name | Description |
request | UpdateScanConfigRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ScanConfig> | The call object. |