Dialogflow v3 API - Class WebhooksSettings (2.18.0)

public sealed class WebhooksSettings : ServiceSettingsBase

Reference documentation and code samples for the Dialogflow v3 API class WebhooksSettings.

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
Type Description
CallSettings
Remarks
  • 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.

DeleteWebhookSettings

public CallSettings DeleteWebhookSettings { get; set; }

CallSettings for synchronous and asynchronous calls to WebhooksClient.DeleteWebhook and WebhooksClient.DeleteWebhookAsync.

Property Value
Type Description
CallSettings
Remarks
  • 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.

GetWebhookSettings

public CallSettings GetWebhookSettings { get; set; }

CallSettings for synchronous and asynchronous calls to WebhooksClient.GetWebhook and WebhooksClient.GetWebhookAsync.

Property Value
Type Description
CallSettings
Remarks
  • 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.

ListWebhooksSettings

public CallSettings ListWebhooksSettings { get; set; }

CallSettings for synchronous and asynchronous calls to WebhooksClient.ListWebhooks and WebhooksClient.ListWebhooksAsync.

Property Value
Type Description
CallSettings
Remarks
  • 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

UpdateWebhookSettings

public CallSettings UpdateWebhookSettings { get; set; }

CallSettings for synchronous and asynchronous calls to WebhooksClient.UpdateWebhook and WebhooksClient.UpdateWebhookAsync.

Property Value
Type Description
CallSettings
Remarks
  • 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 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.