public sealed class AgentsSettings : ServiceSettingsBase
Reference documentation and code samples for the Dialogflow v3 API class AgentsSettings.
Settings for AgentsClient instances.
Namespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
AgentsSettings()
public AgentsSettings()
Constructs a new AgentsSettings object with default settings.
Properties
CreateAgentSettings
public CallSettings CreateAgentSettings { get; set; }
CallSettings for synchronous and asynchronous calls to AgentsClient.CreateAgent
and AgentsClient.CreateAgentAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: Unavailable.
- Timeout: 180 seconds.
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
- 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 | |
---|---|
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
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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.
GetAgentValidationResultSettings
public CallSettings GetAgentValidationResultSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
AgentsClient.GetAgentValidationResult
and AgentsClient.GetAgentValidationResultAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- 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.
GetGenerativeSettingsSettings
public CallSettings GetGenerativeSettingsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
AgentsClient.GetGenerativeSettings
and AgentsClient.GetGenerativeSettingsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- 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.
ListAgentsSettings
public CallSettings ListAgentsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to AgentsClient.ListAgents
and AgentsClient.ListAgentsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
LocationsSettings |
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
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
UpdateAgentSettings
public CallSettings UpdateAgentSettings { get; set; }
CallSettings for synchronous and asynchronous calls to AgentsClient.UpdateAgent
and AgentsClient.UpdateAgentAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- 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.
UpdateGenerativeSettingsSettings
public CallSettings UpdateGenerativeSettingsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
AgentsClient.UpdateGenerativeSettings
and AgentsClient.UpdateGenerativeSettingsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- 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.
ValidateAgentSettings
public CallSettings ValidateAgentSettings { get; set; }
CallSettings for synchronous and asynchronous calls to AgentsClient.ValidateAgent
and AgentsClient.ValidateAgentAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
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. |