Skip to main content

webhooks

Overview

Namewebhooks
TypeResource
Idgoogle.dialogflow.webhooks

Fields

NameDatatypeDescription
namestringThe unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: projects//locations//agents//webhooks/.
displayNamestringRequired. The human-readable name of the webhook, unique within the agent.
genericWebServiceobjectRepresents configuration for a generic web service.
serviceDirectoryobjectRepresents configuration for a Service Directory service.
timeoutstringWebhook 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.
disabledbooleanIndicates whether the webhook is disabled.

Methods

NameAccessible byRequired ParamsDescription
projects_locations_agents_webhooks_getSELECTagentsId, locationsId, projectsId, webhooksIdRetrieves the specified webhook.
projects_locations_agents_webhooks_listSELECTagentsId, locationsId, projectsIdReturns the list of all webhooks in the specified agent.
projects_locations_agents_webhooks_createINSERTagentsId, locationsId, projectsIdCreates a webhook in the specified agent.
projects_locations_agents_webhooks_deleteDELETEagentsId, locationsId, projectsId, webhooksIdDeletes the specified webhook.
_projects_locations_agents_webhooks_listEXECagentsId, locationsId, projectsIdReturns the list of all webhooks in the specified agent.
projects_locations_agents_webhooks_patchEXECagentsId, locationsId, projectsId, webhooksIdUpdates the specified webhook.