Class EnvironmentsSettings (3.2.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

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.

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.