Google Cloud Dialogflow v2 API - Class EnvironmentsSettings (4.25.0)

public sealed class EnvironmentsSettings : ServiceSettingsBase

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

Settings for EnvironmentsClient instances.

Inheritance

object > ServiceSettingsBase > EnvironmentsSettings

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

EnvironmentsSettings()

public EnvironmentsSettings()

Constructs a new EnvironmentsSettings object with default settings.

Properties

CreateEnvironmentSettings

public CallSettings CreateEnvironmentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to EnvironmentsClient.CreateEnvironment and EnvironmentsClient.CreateEnvironmentAsync.

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.

DeleteEnvironmentSettings

public CallSettings DeleteEnvironmentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to EnvironmentsClient.DeleteEnvironment and EnvironmentsClient.DeleteEnvironmentAsync.

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.

GetEnvironmentHistorySettings

public CallSettings GetEnvironmentHistorySettings { get; set; }

CallSettings for synchronous and asynchronous calls to EnvironmentsClient.GetEnvironmentHistory and EnvironmentsClient.GetEnvironmentHistoryAsync.

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.

GetEnvironmentSettings

public CallSettings GetEnvironmentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to EnvironmentsClient.GetEnvironment and EnvironmentsClient.GetEnvironmentAsync.

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.

ListEnvironmentsSettings

public CallSettings ListEnvironmentsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to EnvironmentsClient.ListEnvironments and EnvironmentsClient.ListEnvironmentsAsync.

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

UpdateEnvironmentSettings

public CallSettings UpdateEnvironmentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to EnvironmentsClient.UpdateEnvironment and EnvironmentsClient.UpdateEnvironmentAsync.

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

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

Returns
Type Description
EnvironmentsSettings

A deep clone of this EnvironmentsSettings object.

GetDefault()

public static EnvironmentsSettings GetDefault()

Get a new instance of the default EnvironmentsSettings.

Returns
Type Description
EnvironmentsSettings

A new instance of the default EnvironmentsSettings.