Class WebhooksSettings (1.3.0)

public sealed class WebhooksSettings : ServiceSettingsBase

Settings for WebhooksClient instances.

Inheritance

Object > ServiceSettingsBase > WebhooksSettings

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
WebhooksSettings

A deep clone of this WebhooksSettings object.

GetDefault()

public static WebhooksSettings GetDefault()

Get a new instance of the default WebhooksSettings.

Returns
TypeDescription
WebhooksSettings

A new instance of the default WebhooksSettings.