WebhookArgs constructor
const
WebhookArgs({
- required Input<
String> agentId, - Input<
bool> ? disabled, - required Input<
String> displayName, - Input<
GoogleCloudDialogflowCxV3WebhookGenericWebService> ? genericWebService, - Input<
String> ? location, - Input<
String> ? name, - Input<
String> ? project, - Input<
GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig> ? serviceDirectory, - Input<
String> ? timeout,
Creates a new WebhookArgs.
agentId Required.
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.
location Optional.
name The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: projects//locations//agents//webhooks/.
project Optional.
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.
Implementation
const WebhookArgs({
required this.agentId,
this.disabled,
required this.displayName,
this.genericWebService,
this.location,
this.name,
this.project,
this.serviceDirectory,
this.timeout,
});