Class ContextsSettings (4.1.0)

public sealed class ContextsSettings : ServiceSettingsBase

Settings for ContextsClient instances.

Inheritance

Object > ServiceSettingsBase > ContextsSettings

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

ContextsSettings()

public ContextsSettings()

Constructs a new ContextsSettings object with default settings.

Properties

CreateContextSettings

public CallSettings CreateContextSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ContextsClient.CreateContext and ContextsClient.CreateContextAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

DeleteAllContextsSettings

public CallSettings DeleteAllContextsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ContextsClient.DeleteAllContexts and ContextsClient.DeleteAllContextsAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

DeleteContextSettings

public CallSettings DeleteContextSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ContextsClient.DeleteContext and ContextsClient.DeleteContextAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

GetContextSettings

public CallSettings GetContextSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ContextsClient.GetContext and ContextsClient.GetContextAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

ListContextsSettings

public CallSettings ListContextsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ContextsClient.ListContexts and ContextsClient.ListContextsAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

The settings to use for the LocationsClient associated with the client.

Property Value
TypeDescription
LocationsSettings

UpdateContextSettings

public CallSettings UpdateContextSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ContextsClient.UpdateContext and ContextsClient.UpdateContextAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

Methods

Clone()

public ContextsSettings Clone()

Creates a deep clone of this object, with all the same property values.

Returns
TypeDescription
ContextsSettings

A deep clone of this ContextsSettings object.

GetDefault()

public static ContextsSettings GetDefault()

Get a new instance of the default ContextsSettings.

Returns
TypeDescription
ContextsSettings

A new instance of the default ContextsSettings.