public sealed class ToolsSettings : ServiceSettingsBaseReference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class ToolsSettings.
Settings for ToolsClient instances.
Namespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.dll
Constructors
ToolsSettings()
public ToolsSettings()Constructs a new ToolsSettings object with default settings.
Properties
CreateToolSettings
public CallSettings CreateToolSettings { get; set; }CallSettings for synchronous and asynchronous calls to ToolsClient.CreateTool
and ToolsClient.CreateToolAsync.
| 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.
DeleteToolSettings
public CallSettings DeleteToolSettings { get; set; }CallSettings for synchronous and asynchronous calls to ToolsClient.DeleteTool
and ToolsClient.DeleteToolAsync.
| 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.
GetToolSettings
public CallSettings GetToolSettings { get; set; }CallSettings for synchronous and asynchronous calls to ToolsClient.GetTool and
ToolsClient.GetToolAsync.
| 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.
ListToolsSettings
public CallSettings ListToolsSettings { get; set; }CallSettings for synchronous and asynchronous calls to ToolsClient.ListTools
and ToolsClient.ListToolsAsync.
| 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 |
|
UpdateToolSettings
public CallSettings UpdateToolSettings { get; set; }CallSettings for synchronous and asynchronous calls to ToolsClient.UpdateTool
and ToolsClient.UpdateToolAsync.
| 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 ToolsSettings Clone()Creates a deep clone of this object, with all the same property values.
| Returns | |
|---|---|
| Type | Description |
ToolsSettings |
A deep clone of this ToolsSettings object. |
GetDefault()
public static ToolsSettings GetDefault()Get a new instance of the default ToolsSettings.
| Returns | |
|---|---|
| Type | Description |
ToolsSettings |
A new instance of the default ToolsSettings. |