public sealed class AgentsSettings : ServiceSettingsBase
Settings for AgentsClient instances.
Namespace
Google.Cloud.Dialogflow.V2Assembly
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 | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 60 seconds.
ExportAgentOperationsSettings
public OperationsSettings ExportAgentOperationsSettings { get; set; }
Long Running Operation settings for calls to AgentsClient.ExportAgent
and
AgentsClient.ExportAgentAsync
.
Property Value | |
---|---|
Type | Description |
OperationsSettings |
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 | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 60 seconds.
GetAgentSettings
public CallSettings GetAgentSettings { get; set; }
CallSettings for synchronous and asynchronous calls to AgentsClient.GetAgent
and AgentsClient.GetAgentAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 60 seconds.
GetValidationResultSettings
public CallSettings GetValidationResultSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
AgentsClient.GetValidationResult
and AgentsClient.GetValidationResultAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 60 seconds.
ImportAgentOperationsSettings
public OperationsSettings ImportAgentOperationsSettings { get; set; }
Long Running Operation settings for calls to AgentsClient.ImportAgent
and
AgentsClient.ImportAgentAsync
.
Property Value | |
---|---|
Type | Description |
OperationsSettings |
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 | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 60 seconds.
RestoreAgentOperationsSettings
public OperationsSettings RestoreAgentOperationsSettings { get; set; }
Long Running Operation settings for calls to AgentsClient.RestoreAgent
and
AgentsClient.RestoreAgentAsync
.
Property Value | |
---|---|
Type | Description |
OperationsSettings |
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 | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 60 seconds.
SearchAgentsSettings
public CallSettings SearchAgentsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to AgentsClient.SearchAgents
and AgentsClient.SearchAgentsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 60 seconds.
SetAgentSettings
public CallSettings SetAgentSettings { get; set; }
CallSettings for synchronous and asynchronous calls to AgentsClient.SetAgent
and AgentsClient.SetAgentAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 60 seconds.
TrainAgentOperationsSettings
public OperationsSettings TrainAgentOperationsSettings { get; set; }
Long Running Operation settings for calls to AgentsClient.TrainAgent
and
AgentsClient.TrainAgentAsync
.
Property Value | |
---|---|
Type | Description |
OperationsSettings |
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 | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 60 seconds.
Methods
Clone()
public AgentsSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
AgentsSettings | A deep clone of this AgentsSettings object. |
GetDefault()
public static AgentsSettings GetDefault()
Get a new instance of the default AgentsSettings.
Returns | |
---|---|
Type | Description |
AgentsSettings | A new instance of the default AgentsSettings. |