Google Cloud Talent Solution v4beta1 API - Class CompletionSettings (3.0.0-beta03)

public sealed class CompletionSettings : ServiceSettingsBase

Reference documentation and code samples for the Google Cloud Talent Solution v4beta1 API class CompletionSettings.

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.