GoogleCloudDialogflowCxV3Webhook 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
-
GoogleCloudDialogflowCxV3Webhook({Input<
bool> ? disabled, required Input<String> displayName, Input<GoogleCloudDialogflowCxV3WebhookGenericWebService> ? genericWebService, Input<String> ? name, Input<GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig> ? serviceDirectory, Input<String> ? timeout}) -
Creates a new GoogleCloudDialogflowCxV3Webhook.
disabledIndicates whether the webhook is disabled.displayNameThe human-readable name of the webhook, unique within the agent.genericWebServiceConfiguration for a generic web service.nameThe unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format:projects//locations//agents//webhooks/.serviceDirectoryConfiguration for a Service Directory service.timeoutWebhook 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 -
GoogleCloudDialogflowCxV3Webhook.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<
GoogleCloudDialogflowCxV3WebhookGenericWebService> ? -
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<
GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig> ? -
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