Google Cloud Dialogflow Cx V3 Client - Class CreateWebhookRequest (0.1.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
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The agent to create a webhook for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

↳ webhook Google\Cloud\Dialogflow\Cx\V3\Webhook

Required. The webhook to create.

getParent

Required. The agent to create a webhook for.

Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

Returns
TypeDescription
string

setParent

Required. The agent to create a webhook for.

Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getWebhook

Required. The webhook to create.

Returns
TypeDescription
Google\Cloud\Dialogflow\Cx\V3\Webhook|null

hasWebhook

clearWebhook

setWebhook

Required. The webhook to create.

Parameter
NameDescription
var Google\Cloud\Dialogflow\Cx\V3\Webhook
Returns
TypeDescription
$this