Class CompletionSettings (1.0.0)

public sealed class CompletionSettings : ServiceSettingsBase

Settings for CompletionClient instances.

Inheritance

System.Object > Google.Api.Gax.Grpc.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; }

Google.Api.Gax.Grpc.CallSettings for synchronous and asynchronous calls to CompletionClient.CompleteQuery and CompletionClient.CompleteQueryAsync.

Property Value
TypeDescription
Google.Api.Gax.Grpc.CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • 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.