public sealed class CompletionSettings : ServiceSettingsBase
Settings for CompletionClient instances.
Namespace
Google.Cloud.Talent.V4Beta1Assembly
Google.Cloud.Talent.V4Beta1.dll
Constructors
CompletionSettings()
public CompletionSettings()
Constructs a new CompletionSettings object with default settings.
Properties
CompleteQuerySettings
public CallSettings CompleteQuerySettings { get; set; }
CallSettings for synchronous and asynchronous calls to
CompletionClient.CompleteQuery
and CompletionClient.CompleteQueryAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 30 seconds.
Methods
Clone()
public CompletionSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
CompletionSettings | A deep clone of this CompletionSettings object. |
GetDefault()
public static CompletionSettings GetDefault()
Get a new instance of the default CompletionSettings.
Returns | |
---|---|
Type | Description |
CompletionSettings | A new instance of the default CompletionSettings. |