public sealed class DeleteWebhookRequest : IMessage<DeleteWebhookRequest>, IEquatable<DeleteWebhookRequest>, IDeepCloneable<DeleteWebhookRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API class DeleteWebhookRequest.
The request message for [Webhooks.DeleteWebhook][google.cloud.dialogflow.cx.v3.Webhooks.DeleteWebhook].
Implements
IMessageDeleteWebhookRequest, IEquatableDeleteWebhookRequest, IDeepCloneableDeleteWebhookRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
DeleteWebhookRequest()
public DeleteWebhookRequest()
DeleteWebhookRequest(DeleteWebhookRequest)
public DeleteWebhookRequest(DeleteWebhookRequest other)
Parameter | |
---|---|
Name | Description |
other |
DeleteWebhookRequest |
Properties
Force
public bool Force { get; set; }
This field has no effect for webhook not being used. For webhooks that are used by pages/flows/transition route groups:
- If
force
is set to false, an error will be returned with message indicating the referenced resources. - If
force
is set to true, Dialogflow will remove the webhook, as well as any references to the webhook (i.e. [Webhook][google.cloud.dialogflow.cx.v3.Fulfillment.webhook] and [tag][google.cloud.dialogflow.cx.v3.Fulfillment.tag]in fulfillments that point to this webhook will be removed).
Property Value | |
---|---|
Type | Description |
bool |
Name
public string Name { get; set; }
Required. The name of the webhook to delete.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/webhooks/<WebhookID>
.
Property Value | |
---|---|
Type | Description |
string |
WebhookName
public WebhookName WebhookName { get; set; }
WebhookName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
WebhookName |