public sealed class WebRiskServiceSettings : ServiceSettingsBase
Settings for WebRiskServiceClient instances.
Namespace
Google.Cloud.WebRisk.V1Assembly
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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
WebRiskServiceSettings | A deep clone of this WebRiskServiceSettings object. |
GetDefault()
public static WebRiskServiceSettings GetDefault()
Get a new instance of the default WebRiskServiceSettings.
Returns | |
---|---|
Type | Description |
WebRiskServiceSettings | A new instance of the default WebRiskServiceSettings. |