Dialogflow v3 API - Class IntentsSettings (2.21.0)

public sealed class IntentsSettings : ServiceSettingsBase

Reference documentation and code samples for the Dialogflow v3 API class IntentsSettings.

Settings for IntentsClient instances.

Inheritance

object > ServiceSettingsBase > IntentsSettings

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

IntentsSettings()

public IntentsSettings()

Constructs a new IntentsSettings object with default settings.

Properties

CreateIntentSettings

public CallSettings CreateIntentSettings { get; set; }

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

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.

DeleteIntentSettings

public CallSettings DeleteIntentSettings { get; set; }

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

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.

ExportIntentsOperationsSettings

public OperationsSettings ExportIntentsOperationsSettings { get; set; }

Long Running Operation settings for calls to IntentsClient.ExportIntents and IntentsClient.ExportIntentsAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

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

ExportIntentsSettings

public CallSettings ExportIntentsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to IntentsClient.ExportIntents and IntentsClient.ExportIntentsAsync.

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.

GetIntentSettings

public CallSettings GetIntentSettings { get; set; }

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

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.

ImportIntentsOperationsSettings

public OperationsSettings ImportIntentsOperationsSettings { get; set; }

Long Running Operation settings for calls to IntentsClient.ImportIntents and IntentsClient.ImportIntentsAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

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

ImportIntentsSettings

public CallSettings ImportIntentsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to IntentsClient.ImportIntents and IntentsClient.ImportIntentsAsync.

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.

ListIntentsSettings

public CallSettings ListIntentsSettings { get; set; }

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

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

UpdateIntentSettings

public CallSettings UpdateIntentSettings { get; set; }

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

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

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

Returns
Type Description
IntentsSettings

A deep clone of this IntentsSettings object.

GetDefault()

public static IntentsSettings GetDefault()

Get a new instance of the default IntentsSettings.

Returns
Type Description
IntentsSettings

A new instance of the default IntentsSettings.