GoogleCloudDialogflowCxV3WebhookResponse class

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.

Constructors

GoogleCloudDialogflowCxV3WebhookResponse({required Input<bool> disabled, required Input<String> displayName, required Input<GoogleCloudDialogflowCxV3WebhookGenericWebServiceResponse> genericWebService, required Input<String> name, required Input<GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigResponse> serviceDirectory, required Input<String> timeout})
Creates a new GoogleCloudDialogflowCxV3WebhookResponse. disabled Indicates whether the webhook is disabled. displayName The human-readable name of the webhook, unique within the agent. genericWebService Configuration for a generic web service. name The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: projects//locations//agents//webhooks/. serviceDirectory Configuration for a Service Directory service. timeout 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.
const
GoogleCloudDialogflowCxV3WebhookResponse.fromMap(Map<String, dynamic> map)
factory

Properties

disabled → Input<bool>
Indicates whether the webhook is disabled.
final
displayName → Input<String>
The human-readable name of the webhook, unique within the agent.
final
genericWebService → Input<GoogleCloudDialogflowCxV3WebhookGenericWebServiceResponse>
Configuration for a generic web service.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String>
The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: projects//locations//agents//webhooks/.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceDirectory → Input<GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigResponse>
Configuration for a Service Directory service.
final
timeout → Input<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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited