Class EnvironmentsSettings (4.1.0)

public sealed class EnvironmentsSettings : ServiceSettingsBase

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
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.

DeleteEnvironmentSettings

public CallSettings DeleteEnvironmentSettings { get; set; }

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

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.

GetEnvironmentHistorySettings

public CallSettings GetEnvironmentHistorySettings { get; set; }

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

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.

GetEnvironmentSettings

public CallSettings GetEnvironmentSettings { get; set; }

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

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.

ListEnvironmentsSettings

public CallSettings ListEnvironmentsSettings { get; set; }

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

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

UpdateEnvironmentSettings

public CallSettings UpdateEnvironmentSettings { get; set; }

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

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

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

Returns
TypeDescription
EnvironmentsSettings

A deep clone of this EnvironmentsSettings object.

GetDefault()

public static EnvironmentsSettings GetDefault()

Get a new instance of the default EnvironmentsSettings.

Returns
TypeDescription
EnvironmentsSettings

A new instance of the default EnvironmentsSettings.