public sealed class CompanionAgentsSettings : ServiceSettingsBaseReference documentation and code samples for the Google Cloud Dialogflow v2 API class CompanionAgentsSettings.
Settings for CompanionAgentsClient instances.
Namespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
CompanionAgentsSettings()
public CompanionAgentsSettings()Constructs a new CompanionAgentsSettings object with default settings.
Properties
CreateCompanionAgentSettings
public CallSettings CreateCompanionAgentSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CompanionAgentsClient.CreateCompanionAgent and CompanionAgentsClient.CreateCompanionAgentAsync
.
| 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.
DeleteCompanionAgentSettings
public CallSettings DeleteCompanionAgentSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CompanionAgentsClient.DeleteCompanionAgent and CompanionAgentsClient.DeleteCompanionAgentAsync
.
| 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.
GetCompanionAgentSettings
public CallSettings GetCompanionAgentSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CompanionAgentsClient.GetCompanionAgent and CompanionAgentsClient.GetCompanionAgentAsync.
| 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.
ListCompanionAgentsSettings
public CallSettings ListCompanionAgentsSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CompanionAgentsClient.ListCompanionAgents and CompanionAgentsClient.ListCompanionAgentsAsync.
| 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 |
|
UpdateCompanionAgentSettings
public CallSettings UpdateCompanionAgentSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CompanionAgentsClient.UpdateCompanionAgent and CompanionAgentsClient.UpdateCompanionAgentAsync
.
| 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 CompanionAgentsSettings Clone()Creates a deep clone of this object, with all the same property values.
| Returns | |
|---|---|
| Type | Description |
CompanionAgentsSettings |
A deep clone of this CompanionAgentsSettings object. |
GetDefault()
public static CompanionAgentsSettings GetDefault()Get a new instance of the default CompanionAgentsSettings.
| Returns | |
|---|---|
| Type | Description |
CompanionAgentsSettings |
A new instance of the default CompanionAgentsSettings. |