Dialogflow v3 API - Class VersionsSettings (2.4.0)

public sealed class VersionsSettings : ServiceSettingsBase

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

Settings for VersionsClient instances.

Inheritance

Object > ServiceSettingsBase > VersionsSettings

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

VersionsSettings()

public VersionsSettings()

Constructs a new VersionsSettings object with default settings.

Properties

CompareVersionsSettings

public CallSettings CompareVersionsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to VersionsClient.CompareVersions and VersionsClient.CompareVersionsAsync.

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.

CreateVersionOperationsSettings

public OperationsSettings CreateVersionOperationsSettings { get; set; }

Long Running Operation settings for calls to VersionsClient.CreateVersion and VersionsClient.CreateVersionAsync.

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.

CreateVersionSettings

public CallSettings CreateVersionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to VersionsClient.CreateVersion and VersionsClient.CreateVersionAsync.

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.

DeleteVersionSettings

public CallSettings DeleteVersionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to VersionsClient.DeleteVersion and VersionsClient.DeleteVersionAsync.

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.

GetVersionSettings

public CallSettings GetVersionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to VersionsClient.GetVersion and VersionsClient.GetVersionAsync.

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.

ListVersionsSettings

public CallSettings ListVersionsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to VersionsClient.ListVersions and VersionsClient.ListVersionsAsync.

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.

LoadVersionOperationsSettings

public OperationsSettings LoadVersionOperationsSettings { get; set; }

Long Running Operation settings for calls to VersionsClient.LoadVersion and VersionsClient.LoadVersionAsync.

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.

LoadVersionSettings

public CallSettings LoadVersionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to VersionsClient.LoadVersion and VersionsClient.LoadVersionAsync.

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

UpdateVersionSettings

public CallSettings UpdateVersionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to VersionsClient.UpdateVersion and VersionsClient.UpdateVersionAsync.

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

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

Returns
TypeDescription
VersionsSettings

A deep clone of this VersionsSettings object.

GetDefault()

public static VersionsSettings GetDefault()

Get a new instance of the default VersionsSettings.

Returns
TypeDescription
VersionsSettings

A new instance of the default VersionsSettings.