Class WebRiskServiceSettings

public sealed class WebRiskServiceSettings : ServiceSettingsBase

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
  • 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: 60 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
  • 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
  • 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.