public sealed class ContextsSettings : ServiceSettingsBase
Settings for ContextsClient instances.
Namespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
ContextsSettings()
public ContextsSettings()
Constructs a new ContextsSettings object with default settings.
Properties
CreateContextSettings
public CallSettings CreateContextSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ContextsClient.CreateContext
and ContextsClient.CreateContextAsync
.
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.
DeleteAllContextsSettings
public CallSettings DeleteAllContextsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ContextsClient.DeleteAllContexts
and ContextsClient.DeleteAllContextsAsync
.
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.
DeleteContextSettings
public CallSettings DeleteContextSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ContextsClient.DeleteContext
and ContextsClient.DeleteContextAsync
.
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.
GetContextSettings
public CallSettings GetContextSettings { get; set; }
CallSettings for synchronous and asynchronous calls to ContextsClient.GetContext
and ContextsClient.GetContextAsync
.
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.
ListContextsSettings
public CallSettings ListContextsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to ContextsClient.ListContexts
and ContextsClient.ListContextsAsync
.
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 |
UpdateContextSettings
public CallSettings UpdateContextSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ContextsClient.UpdateContext
and ContextsClient.UpdateContextAsync
.
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 ContextsSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
ContextsSettings | A deep clone of this ContextsSettings object. |
GetDefault()
public static ContextsSettings GetDefault()
Get a new instance of the default ContextsSettings.
Returns | |
---|---|
Type | Description |
ContextsSettings | A new instance of the default ContextsSettings. |