Class AgentsSettings (3.11.0)

public sealed class AgentsSettings : ServiceSettingsBase

Settings for AgentsClient instances.

Inheritance

Object > ServiceSettingsBase > AgentsSettings

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

AgentsSettings()

public AgentsSettings()

Constructs a new AgentsSettings object with default settings.

Properties

DeleteAgentSettings

public CallSettings DeleteAgentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AgentsClient.DeleteAgent and AgentsClient.DeleteAgentAsync.

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.

ExportAgentOperationsSettings

public OperationsSettings ExportAgentOperationsSettings { get; set; }

Long Running Operation settings for calls to AgentsClient.ExportAgent and AgentsClient.ExportAgentAsync.

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.

ExportAgentSettings

public CallSettings ExportAgentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AgentsClient.ExportAgent and AgentsClient.ExportAgentAsync.

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.

GetAgentSettings

public CallSettings GetAgentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AgentsClient.GetAgent and AgentsClient.GetAgentAsync.

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.

GetValidationResultSettings

public CallSettings GetValidationResultSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AgentsClient.GetValidationResult and AgentsClient.GetValidationResultAsync.

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.

ImportAgentOperationsSettings

public OperationsSettings ImportAgentOperationsSettings { get; set; }

Long Running Operation settings for calls to AgentsClient.ImportAgent and AgentsClient.ImportAgentAsync.

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.

ImportAgentSettings

public CallSettings ImportAgentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AgentsClient.ImportAgent and AgentsClient.ImportAgentAsync.

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.

RestoreAgentOperationsSettings

public OperationsSettings RestoreAgentOperationsSettings { get; set; }

Long Running Operation settings for calls to AgentsClient.RestoreAgent and AgentsClient.RestoreAgentAsync.

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.

RestoreAgentSettings

public CallSettings RestoreAgentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AgentsClient.RestoreAgent and AgentsClient.RestoreAgentAsync.

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.

SearchAgentsSettings

public CallSettings SearchAgentsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AgentsClient.SearchAgents and AgentsClient.SearchAgentsAsync.

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.

SetAgentSettings

public CallSettings SetAgentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AgentsClient.SetAgent and AgentsClient.SetAgentAsync.

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.

TrainAgentOperationsSettings

public OperationsSettings TrainAgentOperationsSettings { get; set; }

Long Running Operation settings for calls to AgentsClient.TrainAgent and AgentsClient.TrainAgentAsync.

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.

TrainAgentSettings

public CallSettings TrainAgentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AgentsClient.TrainAgent and AgentsClient.TrainAgentAsync.

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

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

Returns
TypeDescription
AgentsSettings

A deep clone of this AgentsSettings object.

GetDefault()

public static AgentsSettings GetDefault()

Get a new instance of the default AgentsSettings.

Returns
TypeDescription
AgentsSettings

A new instance of the default AgentsSettings.