Google Cloud Dialogflow Cx V3 Client - Class CreateWebhookRequest (0.5.1)

Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class CreateWebhookRequest.

The request message for Webhooks.CreateWebhook.

Generated from protobuf message google.cloud.dialogflow.cx.v3.CreateWebhookRequest

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The agent to create a webhook for. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>.

↳ webhook Webhook

Required. The webhook to create.

getParent

Required. The agent to create a webhook for.

Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>.

Returns
Type Description
string

setParent

Required. The agent to create a webhook for.

Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>.

Parameter
Name Description
var string
Returns
Type Description
$this

getWebhook

Required. The webhook to create.

Returns
Type Description
Webhook|null

hasWebhook

clearWebhook

setWebhook

Required. The webhook to create.

Parameter
Name Description
var Webhook
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The agent to create a webhook for. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>. Please see WebhooksClient::agentName() for help formatting this field.

webhook Webhook

Required. The webhook to create.

Returns
Type Description
CreateWebhookRequest