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
.
Type | Name | Description |
---|---|---|
CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
WebSecurityScannerClient(ChannelBase)
public WebSecurityScannerClient(ChannelBase channel)
Creates a new client for WebSecurityScanner
Type | Name | Description |
---|---|---|
ChannelBase | channel | The channel to use to make remote calls. |
WebSecurityScannerClient(ClientBase.ClientBaseConfiguration)
protected WebSecurityScannerClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
CreateScanConfig(CreateScanConfigRequest, CallOptions)
public virtual ScanConfig CreateScanConfig(CreateScanConfigRequest request, CallOptions options)
Creates a new ScanConfig.
Type | Name | Description |
---|---|---|
CreateScanConfigRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Creates a new ScanConfig.
Type | Name | Description |
---|---|---|
CreateScanConfigRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
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.
Type | Name | Description |
---|---|---|
CreateScanConfigRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Creates a new ScanConfig.
Type | Name | Description |
---|---|---|
CreateScanConfigRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
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.
Type | Name | Description |
---|---|---|
DeleteScanConfigRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Deletes an existing ScanConfig and its child resources.
Type | Name | Description |
---|---|---|
DeleteScanConfigRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
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.
Type | Name | Description |
---|---|---|
DeleteScanConfigRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Deletes an existing ScanConfig and its child resources.
Type | Name | Description |
---|---|---|
DeleteScanConfigRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Type | Description |
---|---|
AsyncUnaryCall<Empty> | The call object. |
GetFinding(GetFindingRequest, CallOptions)
public virtual Finding GetFinding(GetFindingRequest request, CallOptions options)
Gets a Finding.
Type | Name | Description |
---|---|---|
GetFindingRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Gets a Finding.
Type | Name | Description |
---|---|---|
GetFindingRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Type | Description |
---|---|
Finding | The response received from the server. |
GetFindingAsync(GetFindingRequest, CallOptions)
public virtual AsyncUnaryCall<Finding> GetFindingAsync(GetFindingRequest request, CallOptions options)
Gets a Finding.
Type | Name | Description |
---|---|---|
GetFindingRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Gets a Finding.
Type | Name | Description |
---|---|---|
GetFindingRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Type | Description |
---|---|
AsyncUnaryCall<Finding> | The call object. |
GetScanConfig(GetScanConfigRequest, CallOptions)
public virtual ScanConfig GetScanConfig(GetScanConfigRequest request, CallOptions options)
Gets a ScanConfig.
Type | Name | Description |
---|---|---|
GetScanConfigRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Gets a ScanConfig.
Type | Name | Description |
---|---|---|
GetScanConfigRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Type | Description |
---|---|
ScanConfig | The response received from the server. |
GetScanConfigAsync(GetScanConfigRequest, CallOptions)
public virtual AsyncUnaryCall<ScanConfig> GetScanConfigAsync(GetScanConfigRequest request, CallOptions options)
Gets a ScanConfig.
Type | Name | Description |
---|---|---|
GetScanConfigRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Gets a ScanConfig.
Type | Name | Description |
---|---|---|
GetScanConfigRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Type | Description |
---|---|
AsyncUnaryCall<ScanConfig> | The call object. |
GetScanRun(GetScanRunRequest, CallOptions)
public virtual ScanRun GetScanRun(GetScanRunRequest request, CallOptions options)
Gets a ScanRun.
Type | Name | Description |
---|---|---|
GetScanRunRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Gets a ScanRun.
Type | Name | Description |
---|---|---|
GetScanRunRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Type | Description |
---|---|
ScanRun | The response received from the server. |
GetScanRunAsync(GetScanRunRequest, CallOptions)
public virtual AsyncUnaryCall<ScanRun> GetScanRunAsync(GetScanRunRequest request, CallOptions options)
Gets a ScanRun.
Type | Name | Description |
---|---|---|
GetScanRunRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Gets a ScanRun.
Type | Name | Description |
---|---|---|
GetScanRunRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Type | Description |
---|---|
AsyncUnaryCall<ScanRun> | The call object. |
ListCrawledUrls(ListCrawledUrlsRequest, CallOptions)
public virtual ListCrawledUrlsResponse ListCrawledUrls(ListCrawledUrlsRequest request, CallOptions options)
List CrawledUrls under a given ScanRun.
Type | Name | Description |
---|---|---|
ListCrawledUrlsRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
List CrawledUrls under a given ScanRun.
Type | Name | Description |
---|---|---|
ListCrawledUrlsRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
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.
Type | Name | Description |
---|---|---|
ListCrawledUrlsRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
List CrawledUrls under a given ScanRun.
Type | Name | Description |
---|---|---|
ListCrawledUrlsRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Type | Description |
---|---|
AsyncUnaryCall<ListCrawledUrlsResponse> | The call object. |
ListFindings(ListFindingsRequest, CallOptions)
public virtual ListFindingsResponse ListFindings(ListFindingsRequest request, CallOptions options)
List Findings under a given ScanRun.
Type | Name | Description |
---|---|---|
ListFindingsRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
List Findings under a given ScanRun.
Type | Name | Description |
---|---|---|
ListFindingsRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
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.
Type | Name | Description |
---|---|---|
ListFindingsRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
List Findings under a given ScanRun.
Type | Name | Description |
---|---|---|
ListFindingsRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
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.
Type | Name | Description |
---|---|---|
ListFindingTypeStatsRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
List all FindingTypeStats under a given ScanRun.
Type | Name | Description |
---|---|---|
ListFindingTypeStatsRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
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.
Type | Name | Description |
---|---|---|
ListFindingTypeStatsRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
List all FindingTypeStats under a given ScanRun.
Type | Name | Description |
---|---|---|
ListFindingTypeStatsRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Type | Description |
---|---|
AsyncUnaryCall<ListFindingTypeStatsResponse> | The call object. |
ListScanConfigs(ListScanConfigsRequest, CallOptions)
public virtual ListScanConfigsResponse ListScanConfigs(ListScanConfigsRequest request, CallOptions options)
Lists ScanConfigs under a given project.
Type | Name | Description |
---|---|---|
ListScanConfigsRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists ScanConfigs under a given project.
Type | Name | Description |
---|---|---|
ListScanConfigsRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
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.
Type | Name | Description |
---|---|---|
ListScanConfigsRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists ScanConfigs under a given project.
Type | Name | Description |
---|---|---|
ListScanConfigsRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
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.
Type | Name | Description |
---|---|---|
ListScanRunsRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time.
Type | Name | Description |
---|---|---|
ListScanRunsRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
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.
Type | Name | Description |
---|---|---|
ListScanRunsRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time.
Type | Name | Description |
---|---|---|
ListScanRunsRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
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
.
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration |
Type | Description |
---|---|
WebSecurityScanner.WebSecurityScannerClient |
StartScanRun(StartScanRunRequest, CallOptions)
public virtual ScanRun StartScanRun(StartScanRunRequest request, CallOptions options)
Start a ScanRun according to the given ScanConfig.
Type | Name | Description |
---|---|---|
StartScanRunRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Start a ScanRun according to the given ScanConfig.
Type | Name | Description |
---|---|---|
StartScanRunRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
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.
Type | Name | Description |
---|---|---|
StartScanRunRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Start a ScanRun according to the given ScanConfig.
Type | Name | Description |
---|---|---|
StartScanRunRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
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.
Type | Name | Description |
---|---|---|
StopScanRunRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Stops a ScanRun. The stopped ScanRun is returned.
Type | Name | Description |
---|---|---|
StopScanRunRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
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.
Type | Name | Description |
---|---|---|
StopScanRunRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Stops a ScanRun. The stopped ScanRun is returned.
Type | Name | Description |
---|---|---|
StopScanRunRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
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.
Type | Name | Description |
---|---|---|
UpdateScanConfigRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Updates a ScanConfig. This method support partial update of a ScanConfig.
Type | Name | Description |
---|---|---|
UpdateScanConfigRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
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.
Type | Name | Description |
---|---|---|
UpdateScanConfigRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Updates a ScanConfig. This method support partial update of a ScanConfig.
Type | Name | Description |
---|---|---|
UpdateScanConfigRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Nullable<DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Type | Description |
---|---|
AsyncUnaryCall<ScanConfig> | The call object. |