- 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.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes | |
---|---|
Name | Description |
name |
str
The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: projects/ .
|
display_name |
str
Required. The human-readable name of the webhook, unique within the agent. |
generic_web_service |
google.cloud.dialogflowcx_v3beta1.types.Webhook.GenericWebService
Configuration for a generic web service. This field is a member of oneof _ webhook .
|
service_directory |
google.cloud.dialogflowcx_v3beta1.types.Webhook.ServiceDirectoryConfig
Configuration for a `Service Directory |
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. |
Classes
GenericWebService
GenericWebService(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Represents configuration for a generic web service.
ServiceDirectoryConfig
ServiceDirectoryConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Represents configuration for a Service
Directory <https://cloud.google.com/service-directory>
__ service.