Class CompletionSettings (1.4.0)

public sealed class CompletionSettings : ServiceSettingsBase

Settings for CompletionClient instances.

Inheritance

Object > ServiceSettingsBase > CompletionSettings

Namespace

Google.Cloud.Talent.V4

Assembly

Google.Cloud.Talent.V4.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.