public sealed class WebRiskServiceSettings : ServiceSettingsBase
Reference documentation and code samples for the Google Cloud Web Risk v1 API class WebRiskServiceSettings.
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
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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.
SubmitUriOperationsSettings
public OperationsSettings SubmitUriOperationsSettings { get; set; }
Long Running Operation settings for calls to WebRiskServiceClient.SubmitUri
and
WebRiskServiceClient.SubmitUriAsync
.
Property Value | |
---|---|
Type | Description |
OperationsSettings |
Uses default PollSettings of:
- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.
SubmitUriSettings
public CallSettings SubmitUriSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
WebRiskServiceClient.SubmitUri
and WebRiskServiceClient.SubmitUriAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- No timeout is applied.
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. |