Generated from protobuf messagegoogle.cloud.dialogflow.cx.v3.DeleteWebhookRequest
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The name of the webhook to delete. Format:projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/webhooks/<WebhookID>.
↳ force
bool
This field has no effect for webhook not being used. For webhooks that are used by pages/flows/transition route groups: * * Ifforceis set to false, an error will be returned with message indicating the referenced resources. * * Ifforceis set to true, Dialogflow will remove the webhook, as well as any references to the webhook (i.e.Webhookandtagin fulfillments that point to this webhook will be removed).
This field has no effect for webhook not being used.
For webhooks that are used by pages/flows/transition route groups:
Ifforceis set to false, an error will be returned with message
indicating the referenced resources.
Ifforceis set to true, Dialogflow will remove the webhook, as well
as any references to the webhook (i.e.Webhookandtagin fulfillments that
point to this webhook will be removed).
Returns
Type
Description
bool
setForce
This field has no effect for webhook not being used.
For webhooks that are used by pages/flows/transition route groups:
Ifforceis set to false, an error will be returned with message
indicating the referenced resources.
Ifforceis set to true, Dialogflow will remove the webhook, as well
as any references to the webhook (i.e.Webhookandtagin fulfillments that
point to this webhook will be removed).
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
static::build
Parameter
Name
Description
name
string
Required. The name of the webhook to delete.
Format:projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/webhooks/<WebhookID>. Please seeWebhooksClient::webhookName()for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dialogflow Cx V3 Client - Class DeleteWebhookRequest (0.8.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.1 (latest)](/php/docs/reference/cloud-dialogflow-cx/latest/V3.DeleteWebhookRequest)\n- [0.8.0](/php/docs/reference/cloud-dialogflow-cx/0.8.0/V3.DeleteWebhookRequest)\n- [0.7.2](/php/docs/reference/cloud-dialogflow-cx/0.7.2/V3.DeleteWebhookRequest)\n- [0.6.0](/php/docs/reference/cloud-dialogflow-cx/0.6.0/V3.DeleteWebhookRequest)\n- [0.5.2](/php/docs/reference/cloud-dialogflow-cx/0.5.2/V3.DeleteWebhookRequest)\n- [0.4.1](/php/docs/reference/cloud-dialogflow-cx/0.4.1/V3.DeleteWebhookRequest)\n- [0.3.4](/php/docs/reference/cloud-dialogflow-cx/0.3.4/V3.DeleteWebhookRequest)\n- [0.2.1](/php/docs/reference/cloud-dialogflow-cx/0.2.1/V3.DeleteWebhookRequest)\n- [0.1.1](/php/docs/reference/cloud-dialogflow-cx/0.1.1/V3.DeleteWebhookRequest) \nReference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class DeleteWebhookRequest.\n\nThe request message for\n[Webhooks.DeleteWebhook](/php/docs/reference/cloud-dialogflow-cx/latest/V3.Client.WebhooksClient#_Google_Cloud_Dialogflow_Cx_V3_Client_WebhooksClient__deleteWebhook__).\n\nGenerated from protobuf message `google.cloud.dialogflow.cx.v3.DeleteWebhookRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dialogflow \\\\ Cx \\\\ V3\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The name of the webhook to delete.\n\nFormat:\n`projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e/webhooks/\u003cWebhookID\u003e`.\n\n### setName\n\nRequired. The name of the webhook to delete.\n\nFormat:\n`projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e/webhooks/\u003cWebhookID\u003e`.\n\n### getForce\n\nThis field has no effect for webhook not being used.\n\nFor webhooks that are used by pages/flows/transition route groups:\n\n- If `force` is set to false, an error will be returned with message indicating the referenced resources.\n- If `force` is set to true, Dialogflow will remove the webhook, as well as any references to the webhook (i.e. [Webhook](/php/docs/reference/cloud-dialogflow-cx/latest/V3.Fulfillment#_Google_Cloud_Dialogflow_Cx_V3_Fulfillment__getWebhook__) and [tag](/php/docs/reference/cloud-dialogflow-cx/latest/V3.Fulfillment#_Google_Cloud_Dialogflow_Cx_V3_Fulfillment__getTag__)in fulfillments that point to this webhook will be removed).\n\n### setForce\n\nThis field has no effect for webhook not being used.\n\nFor webhooks that are used by pages/flows/transition route groups:\n\n- If `force` is set to false, an error will be returned with message indicating the referenced resources.\n- If `force` is set to true, Dialogflow will remove the webhook, as well as any references to the webhook (i.e. [Webhook](/php/docs/reference/cloud-dialogflow-cx/latest/V3.Fulfillment#_Google_Cloud_Dialogflow_Cx_V3_Fulfillment__getWebhook__) and [tag](/php/docs/reference/cloud-dialogflow-cx/latest/V3.Fulfillment#_Google_Cloud_Dialogflow_Cx_V3_Fulfillment__getTag__)in fulfillments that point to this webhook will be removed).\n\n### static::build"]]