public sealed class DeleteWebhookRequest : IMessage<DeleteWebhookRequest>, IEquatable<DeleteWebhookRequest>, IDeepCloneable<DeleteWebhookRequest>, IBufferMessage, IMessage
The request message for [Webhooks.DeleteWebhook][google.cloud.dialogflow.cx.v3.Webhooks.DeleteWebhook].
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
System.Boolean
Name
public string Name { get; set; }
Required. The name of the webhook to delete.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/webhooks/<Webhook ID>.
Property Value
Type
Description
System.String
WebhookName
public WebhookName WebhookName { get; set; }
WebhookName-typed view over the Name resource name property.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document outlines the \u003ccode\u003eDeleteWebhookRequest\u003c/code\u003e class, which is used to request the deletion of a webhook within the Google Cloud Dialogflow CX API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is 2.23.0, but it is also available in various versions ranging from 1.0.0 to 2.22.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteWebhookRequest\u003c/code\u003e class contains properties such as \u003ccode\u003eForce\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003eWebhookName\u003c/code\u003e, which allows users to specify whether to forcefully remove the webhook, the name of the webhook, and the name of the webhook in a \u003ccode\u003eWebhookName\u003c/code\u003e format, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteWebhookRequest\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eYou can use the \u003ccode\u003eDeleteWebhookRequest\u003c/code\u003e class using its constructor \u003ccode\u003eDeleteWebhookRequest()\u003c/code\u003e or by copying an existing request using the constructor \u003ccode\u003eDeleteWebhookRequest(DeleteWebhookRequest other)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]