Class CompletionSettings (2.0.0-beta07)

public sealed class CompletionSettings : ServiceSettingsBase

Settings for CompletionClient instances.

Inheritance

Object > ServiceSettingsBase > CompletionSettings

Namespace

Google.Cloud.Talent.V4Beta1

Assembly

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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CompletionSettings

A deep clone of this CompletionSettings object.

GetDefault()

public static CompletionSettings GetDefault()

Get a new instance of the default CompletionSettings.

Returns
TypeDescription
CompletionSettings

A new instance of the default CompletionSettings.