public sealed class WebhooksSettings : ServiceSettingsBase
Settings for WebhooksClient instances.
Namespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
WebhooksSettings()
public WebhooksSettings()
Constructs a new WebhooksSettings object with default settings.
Properties
CreateWebhookSettings
public CallSettings CreateWebhookSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
WebhooksClient.CreateWebhook
and WebhooksClient.CreateWebhookAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 60 seconds.
DeleteWebhookSettings
public CallSettings DeleteWebhookSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
WebhooksClient.DeleteWebhook
and WebhooksClient.DeleteWebhookAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 60 seconds.
GetWebhookSettings
public CallSettings GetWebhookSettings { get; set; }
CallSettings for synchronous and asynchronous calls to WebhooksClient.GetWebhook
and WebhooksClient.GetWebhookAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 60 seconds.
ListWebhooksSettings
public CallSettings ListWebhooksSettings { get; set; }
CallSettings for synchronous and asynchronous calls to WebhooksClient.ListWebhooks
and WebhooksClient.ListWebhooksAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 60 seconds.
UpdateWebhookSettings
public CallSettings UpdateWebhookSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
WebhooksClient.UpdateWebhook
and WebhooksClient.UpdateWebhookAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 60 seconds.
Methods
Clone()
public WebhooksSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
WebhooksSettings | A deep clone of this WebhooksSettings object. |
GetDefault()
public static WebhooksSettings GetDefault()
Get a new instance of the default WebhooksSettings.
Returns | |
---|---|
Type | Description |
WebhooksSettings | A new instance of the default WebhooksSettings. |