View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3beta1Webhook (google_api_dialogflow v0.88.3)
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
-
disabled
(type:boolean()
, default:nil
) - Indicates whether the webhook is disabled. -
displayName
(type:String.t
, default:nil
) - Required. The human-readable name of the webhook, unique within the agent. -
genericWebService
(type:GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3beta1WebhookGenericWebService.t
, default:nil
) - Configuration for a generic web service. -
name
(type:String.t
, default:nil
) - The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format:projects//locations//agents//webhooks/
. -
serviceDirectory
(type:GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig.t
, default:nil
) - Configuration for a Service Directory service. -
timeout
(type:String.t
, default:nil
) - 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.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3beta1Webhook{ disabled: boolean() | nil, displayName: String.t() | nil, genericWebService: GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3beta1WebhookGenericWebService.t() | nil, name: String.t() | nil, serviceDirectory: GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig.t() | nil, timeout: String.t() | nil }