Google Cloud Dialogflow v2 API - Class VersionsSettings (4.5.0)

public sealed class VersionsSettings : ServiceSettingsBase

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

Settings for VersionsClient instances.

Inheritance

Object > ServiceSettingsBase > VersionsSettings

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

VersionsSettings()

public VersionsSettings()

Constructs a new VersionsSettings object with default settings.

Properties

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.

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.