Google Cloud Web Risk v1 API - Class WebRiskServiceSettings (2.1.0)

public sealed class WebRiskServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Google Cloud Web Risk v1 API class WebRiskServiceSettings.

Settings for WebRiskServiceClient instances.

Inheritance

Object > ServiceSettingsBase > WebRiskServiceSettings

Namespace

Google.Cloud.WebRisk.V1

Assembly

Google.Cloud.WebRisk.V1.dll

Constructors

WebRiskServiceSettings()

public WebRiskServiceSettings()

Constructs a new WebRiskServiceSettings object with default settings.

Properties

ComputeThreatListDiffSettings

public CallSettings ComputeThreatListDiffSettings { get; set; }

CallSettings for synchronous and asynchronous calls to WebRiskServiceClient.ComputeThreatListDiff and WebRiskServiceClient.ComputeThreatListDiffAsync .

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.

CreateSubmissionSettings

public CallSettings CreateSubmissionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to WebRiskServiceClient.CreateSubmission and WebRiskServiceClient.CreateSubmissionAsync.

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

SearchHashesSettings

public CallSettings SearchHashesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to WebRiskServiceClient.SearchHashes and WebRiskServiceClient.SearchHashesAsync.

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.

SearchUrisSettings

public CallSettings SearchUrisSettings { get; set; }

CallSettings for synchronous and asynchronous calls to WebRiskServiceClient.SearchUris and WebRiskServiceClient.SearchUrisAsync.

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.

Methods

Clone()

public WebRiskServiceSettings Clone()

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

Returns
TypeDescription
WebRiskServiceSettings

A deep clone of this WebRiskServiceSettings object.

GetDefault()

public static WebRiskServiceSettings GetDefault()

Get a new instance of the default WebRiskServiceSettings.

Returns
TypeDescription
WebRiskServiceSettings

A new instance of the default WebRiskServiceSettings.