Class EnvironmentsSettings (1.1.0)

public sealed class EnvironmentsSettings : ServiceSettingsBase

Settings for EnvironmentsClient instances.

Inheritance

Object > ServiceSettingsBase > EnvironmentsSettings

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

EnvironmentsSettings()

public EnvironmentsSettings()

Constructs a new EnvironmentsSettings object with default settings.

Properties

CreateEnvironmentOperationsSettings

public OperationsSettings CreateEnvironmentOperationsSettings { get; set; }

Long Running Operation settings for calls to EnvironmentsClient.CreateEnvironment and EnvironmentsClient.CreateEnvironmentAsync.

Property Value
TypeDescription
Google.LongRunning.OperationsSettings
Remarks

Uses default PollSettings of:

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

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
  • 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
  • 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
  • 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
  • Timeout: 60 seconds.

LookupEnvironmentHistorySettings

public CallSettings LookupEnvironmentHistorySettings { get; set; }

CallSettings for synchronous and asynchronous calls to EnvironmentsClient.LookupEnvironmentHistory and EnvironmentsClient.LookupEnvironmentHistoryAsync .

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Timeout: 60 seconds.

UpdateEnvironmentOperationsSettings

public OperationsSettings UpdateEnvironmentOperationsSettings { get; set; }

Long Running Operation settings for calls to EnvironmentsClient.UpdateEnvironment and EnvironmentsClient.UpdateEnvironmentAsync.

Property Value
TypeDescription
Google.LongRunning.OperationsSettings
Remarks

Uses default PollSettings of:

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

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