public sealed class VersionsSettings : ServiceSettingsBase
Settings for VersionsClient instances.
Namespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
VersionsSettings()
public VersionsSettings()
Constructs a new VersionsSettings object with default settings.
Properties
CreateVersionSettings
public CallSettings CreateVersionSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
VersionsClient.CreateVersion
and VersionsClient.CreateVersionAsync
.
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.
DeleteVersionSettings
public CallSettings DeleteVersionSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
VersionsClient.DeleteVersion
and VersionsClient.DeleteVersionAsync
.
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.
GetVersionSettings
public CallSettings GetVersionSettings { get; set; }
CallSettings for synchronous and asynchronous calls to VersionsClient.GetVersion
and VersionsClient.GetVersionAsync
.
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.
ListVersionsSettings
public CallSettings ListVersionsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to VersionsClient.ListVersions
and VersionsClient.ListVersionsAsync
.
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 |
UpdateVersionSettings
public CallSettings UpdateVersionSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
VersionsClient.UpdateVersion
and VersionsClient.UpdateVersionAsync
.
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 VersionsSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
VersionsSettings | A deep clone of this VersionsSettings object. |
GetDefault()
public static VersionsSettings GetDefault()
Get a new instance of the default VersionsSettings.
Returns | |
---|---|
Type | Description |
VersionsSettings | A new instance of the default VersionsSettings. |