Google Cloud Dialogflow v2 API - Class IntentsSettings (4.11.0)

public sealed class IntentsSettings : ServiceSettingsBase

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class IntentsSettings.

Settings for IntentsClient instances.

Inheritance

object > ServiceSettingsBase > IntentsSettings

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

IntentsSettings()

public IntentsSettings()

Constructs a new IntentsSettings object with default settings.

Properties

BatchDeleteIntentsOperationsSettings

public OperationsSettings BatchDeleteIntentsOperationsSettings { get; set; }

Long Running Operation settings for calls to IntentsClient.BatchDeleteIntents and IntentsClient.BatchDeleteIntentsAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

BatchDeleteIntentsSettings

public CallSettings BatchDeleteIntentsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to IntentsClient.BatchDeleteIntents and IntentsClient.BatchDeleteIntentsAsync.

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.

BatchUpdateIntentsOperationsSettings

public OperationsSettings BatchUpdateIntentsOperationsSettings { get; set; }

Long Running Operation settings for calls to IntentsClient.BatchUpdateIntents and IntentsClient.BatchUpdateIntentsAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

BatchUpdateIntentsSettings

public CallSettings BatchUpdateIntentsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to IntentsClient.BatchUpdateIntents and IntentsClient.BatchUpdateIntentsAsync.

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.

CreateIntentSettings

public CallSettings CreateIntentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to IntentsClient.CreateIntent and IntentsClient.CreateIntentAsync.

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.

DeleteIntentSettings

public CallSettings DeleteIntentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to IntentsClient.DeleteIntent and IntentsClient.DeleteIntentAsync.

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.

GetIntentSettings

public CallSettings GetIntentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to IntentsClient.GetIntent and IntentsClient.GetIntentAsync.

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.

ListIntentsSettings

public CallSettings ListIntentsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to IntentsClient.ListIntents and IntentsClient.ListIntentsAsync.

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

UpdateIntentSettings

public CallSettings UpdateIntentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to IntentsClient.UpdateIntent and IntentsClient.UpdateIntentAsync.

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 IntentsSettings Clone()

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

Returns
TypeDescription
IntentsSettings

A deep clone of this IntentsSettings object.

GetDefault()

public static IntentsSettings GetDefault()

Get a new instance of the default IntentsSettings.

Returns
TypeDescription
IntentsSettings

A new instance of the default IntentsSettings.