Class FlowsSettings (2.1.0)

public sealed class FlowsSettings : ServiceSettingsBase

Settings for FlowsClient instances.

Inheritance

Object > ServiceSettingsBase > FlowsSettings

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

FlowsSettings()

public FlowsSettings()

Constructs a new FlowsSettings object with default settings.

Properties

CreateFlowSettings

public CallSettings CreateFlowSettings { get; set; }

CallSettings for synchronous and asynchronous calls to FlowsClient.CreateFlow and FlowsClient.CreateFlowAsync.

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.

DeleteFlowSettings

public CallSettings DeleteFlowSettings { get; set; }

CallSettings for synchronous and asynchronous calls to FlowsClient.DeleteFlow and FlowsClient.DeleteFlowAsync.

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.

ExportFlowOperationsSettings

public OperationsSettings ExportFlowOperationsSettings { get; set; }

Long Running Operation settings for calls to FlowsClient.ExportFlow and FlowsClient.ExportFlowAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

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

ExportFlowSettings

public CallSettings ExportFlowSettings { get; set; }

CallSettings for synchronous and asynchronous calls to FlowsClient.ExportFlow and FlowsClient.ExportFlowAsync.

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.

GetFlowSettings

public CallSettings GetFlowSettings { get; set; }

CallSettings for synchronous and asynchronous calls to FlowsClient.GetFlow and FlowsClient.GetFlowAsync.

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.

GetFlowValidationResultSettings

public CallSettings GetFlowValidationResultSettings { get; set; }

CallSettings for synchronous and asynchronous calls to FlowsClient.GetFlowValidationResult and FlowsClient.GetFlowValidationResultAsync.

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.

ImportFlowOperationsSettings

public OperationsSettings ImportFlowOperationsSettings { get; set; }

Long Running Operation settings for calls to FlowsClient.ImportFlow and FlowsClient.ImportFlowAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

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

ImportFlowSettings

public CallSettings ImportFlowSettings { get; set; }

CallSettings for synchronous and asynchronous calls to FlowsClient.ImportFlow and FlowsClient.ImportFlowAsync.

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.

ListFlowsSettings

public CallSettings ListFlowsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to FlowsClient.ListFlows and FlowsClient.ListFlowsAsync.

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

TrainFlowOperationsSettings

public OperationsSettings TrainFlowOperationsSettings { get; set; }

Long Running Operation settings for calls to FlowsClient.TrainFlow and FlowsClient.TrainFlowAsync .

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

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

TrainFlowSettings

public CallSettings TrainFlowSettings { get; set; }

CallSettings for synchronous and asynchronous calls to FlowsClient.TrainFlow and FlowsClient.TrainFlowAsync.

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.

UpdateFlowSettings

public CallSettings UpdateFlowSettings { get; set; }

CallSettings for synchronous and asynchronous calls to FlowsClient.UpdateFlow and FlowsClient.UpdateFlowAsync.

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.

ValidateFlowSettings

public CallSettings ValidateFlowSettings { get; set; }

CallSettings for synchronous and asynchronous calls to FlowsClient.ValidateFlow and FlowsClient.ValidateFlowAsync.

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

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

Returns
TypeDescription
FlowsSettings

A deep clone of this FlowsSettings object.

GetDefault()

public static FlowsSettings GetDefault()

Get a new instance of the default FlowsSettings.

Returns
TypeDescription
FlowsSettings

A new instance of the default FlowsSettings.