webhooks
Overview
Name | webhooks |
Type | Resource |
Id | google.dialogflow.webhooks |
Fields
Name | Datatype | Description |
---|---|---|
name | string | The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: projects//locations//agents//webhooks/ . |
displayName | string | Required. The human-readable name of the webhook, unique within the agent. |
genericWebService | object | Represents configuration for a generic web service. |
serviceDirectory | object | Represents configuration for a Service Directory service. |
timeout | string | Webhook execution timeout. Execution is considered failed if Dialogflow doesn't receive a response from webhook at the end of the timeout period. Defaults to 5 seconds, maximum allowed timeout is 30 seconds. |
disabled | boolean | Indicates whether the webhook is disabled. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_locations_agents_webhooks_get | SELECT | agentsId, locationsId, projectsId, webhooksId | Retrieves the specified webhook. |
projects_locations_agents_webhooks_list | SELECT | agentsId, locationsId, projectsId | Returns the list of all webhooks in the specified agent. |
projects_locations_agents_webhooks_create | INSERT | agentsId, locationsId, projectsId | Creates a webhook in the specified agent. |
projects_locations_agents_webhooks_delete | DELETE | agentsId, locationsId, projectsId, webhooksId | Deletes the specified webhook. |
_projects_locations_agents_webhooks_list | EXEC | agentsId, locationsId, projectsId | Returns the list of all webhooks in the specified agent. |
projects_locations_agents_webhooks_patch | EXEC | agentsId, locationsId, projectsId, webhooksId | Updates the specified webhook. |