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 \ V3Methods
__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: |
↳ 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 | |
---|---|
Type | Description |
string |
setParent
Required. The agent to create a webhook for.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getWebhook
Required. The webhook to create.
Returns | |
---|---|
Type | Description |
Google\Cloud\Dialogflow\Cx\V3\Webhook|null |
hasWebhook
clearWebhook
setWebhook
Required. The webhook to create.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dialogflow\Cx\V3\Webhook
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
parent |
string
Required. The agent to create a webhook for.
Format: |
webhook |
Google\Cloud\Dialogflow\Cx\V3\Webhook
Required. The webhook to create. |
Returns | |
---|---|
Type | Description |
Google\Cloud\Dialogflow\Cx\V3\CreateWebhookRequest |