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

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
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.