Google Cloud Dialogflow v2beta1 API - Class ContextsSettings (1.0.0-beta21)

public sealed class ContextsSettings : ServiceSettingsBase

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class ContextsSettings.

Settings for ContextsClient instances.

Inheritance

object > ServiceSettingsBase > ContextsSettings

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
LocationsSettings

UpdateContextSettings

public CallSettings UpdateContextSettings { get; set; }

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

Property Value
Type Description
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
Type Description
ContextsSettings

A deep clone of this ContextsSettings object.

GetDefault()

public static ContextsSettings GetDefault()

Get a new instance of the default ContextsSettings.

Returns
Type Description
ContextsSettings

A new instance of the default ContextsSettings.