Web Security Scanner v1 API - Class WebSecurityScannerSettings (2.2.0)

public sealed class WebSecurityScannerSettings : ServiceSettingsBase

Reference documentation and code samples for the Web Security Scanner v1 API class WebSecurityScannerSettings.

Settings for WebSecurityScannerClient instances.

Inheritance

Object > ServiceSettingsBase > WebSecurityScannerSettings

Namespace

Google.Cloud.WebSecurityScanner.V1

Assembly

Google.Cloud.WebSecurityScanner.V1.dll

Constructors

WebSecurityScannerSettings()

public WebSecurityScannerSettings()

Constructs a new WebSecurityScannerSettings object with default settings.

Properties

CreateScanConfigSettings

public CallSettings CreateScanConfigSettings { get; set; }

CallSettings for synchronous and asynchronous calls to WebSecurityScannerClient.CreateScanConfig and WebSecurityScannerClient.CreateScanConfigAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 600 seconds.

DeleteScanConfigSettings

public CallSettings DeleteScanConfigSettings { get; set; }

CallSettings for synchronous and asynchronous calls to WebSecurityScannerClient.DeleteScanConfig and WebSecurityScannerClient.DeleteScanConfigAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

GetFindingSettings

public CallSettings GetFindingSettings { get; set; }

CallSettings for synchronous and asynchronous calls to WebSecurityScannerClient.GetFinding and WebSecurityScannerClient.GetFindingAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

GetScanConfigSettings

public CallSettings GetScanConfigSettings { get; set; }

CallSettings for synchronous and asynchronous calls to WebSecurityScannerClient.GetScanConfig and WebSecurityScannerClient.GetScanConfigAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

GetScanRunSettings

public CallSettings GetScanRunSettings { get; set; }

CallSettings for synchronous and asynchronous calls to WebSecurityScannerClient.GetScanRun and WebSecurityScannerClient.GetScanRunAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

ListCrawledUrlsSettings

public CallSettings ListCrawledUrlsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to WebSecurityScannerClient.ListCrawledUrls and WebSecurityScannerClient.ListCrawledUrlsAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

ListFindingsSettings

public CallSettings ListFindingsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to WebSecurityScannerClient.ListFindings and WebSecurityScannerClient.ListFindingsAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

ListFindingTypeStatsSettings

public CallSettings ListFindingTypeStatsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to WebSecurityScannerClient.ListFindingTypeStats and WebSecurityScannerClient.ListFindingTypeStatsAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

ListScanConfigsSettings

public CallSettings ListScanConfigsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to WebSecurityScannerClient.ListScanConfigs and WebSecurityScannerClient.ListScanConfigsAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

ListScanRunsSettings

public CallSettings ListScanRunsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to WebSecurityScannerClient.ListScanRuns and WebSecurityScannerClient.ListScanRunsAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

StartScanRunSettings

public CallSettings StartScanRunSettings { get; set; }

CallSettings for synchronous and asynchronous calls to WebSecurityScannerClient.StartScanRun and WebSecurityScannerClient.StartScanRunAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 600 seconds.

StopScanRunSettings

public CallSettings StopScanRunSettings { get; set; }

CallSettings for synchronous and asynchronous calls to WebSecurityScannerClient.StopScanRun and WebSecurityScannerClient.StopScanRunAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 600 seconds.

UpdateScanConfigSettings

public CallSettings UpdateScanConfigSettings { get; set; }

CallSettings for synchronous and asynchronous calls to WebSecurityScannerClient.UpdateScanConfig and WebSecurityScannerClient.UpdateScanConfigAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 600 seconds.

Methods

Clone()

public WebSecurityScannerSettings Clone()

Creates a deep clone of this object, with all the same property values.

Returns
TypeDescription
WebSecurityScannerSettings

A deep clone of this WebSecurityScannerSettings object.

GetDefault()

public static WebSecurityScannerSettings GetDefault()

Get a new instance of the default WebSecurityScannerSettings.

Returns
TypeDescription
WebSecurityScannerSettings

A new instance of the default WebSecurityScannerSettings.