- 1.37.0 (latest)
- 1.36.0
- 1.35.0
- 1.34.1
- 1.33.0
- 1.32.1
- 1.31.1
- 1.30.1
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.1
- 1.22.0
- 1.21.0
- 1.20.1
- 1.19.0
- 1.18.0
- 1.17.1
- 1.16.0
- 1.15.0
- 1.14.1
- 1.13.5
- 1.12.1
- 1.11.0
- 1.10.0
- 1.9.1
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.2
- 1.2.0
- 1.1.1
- 1.0.0
- 0.8.2
- 0.7.1
- 0.6.0
- 0.5.0
- 0.4.1
- 0.3.0
- 0.2.0
- 0.1.1
Webhook(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Webhooks host the developer's business logic. During a session, webhooks allow the developer to use the data extracted by Dialogflow's natural language processing to generate dynamic responses, validate collected data, or trigger actions on the backend.
Attributes:
name (str):
The unique identifier of the webhook. Required for the
[Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.UpdateWebhook]
method.
[Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.CreateWebhook]
populates the name automatically. Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>
.
display_name (str):
Required. The human-readable name of the
webhook, unique within the agent.
generic_web_service (google.cloud.dialogflowcx_v3.types.Webhook.GenericWebService):
Configuration for a generic web service.
service_directory (google.cloud.dialogflowcx_v3.types.Webhook.ServiceDirectoryConfig):
Configuration for a Service
Directory <https://cloud.google.com/service-directory>
__
service.
timeout (google.protobuf.duration_pb2.Duration):
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 (bool):
Indicates whether the webhook is disabled.