GetWebhookResult constructor
const
GetWebhookResult({
- required bool disabled,
- required String displayName,
- required GoogleCloudDialogflowCxV3WebhookGenericWebServiceResponse genericWebService,
- required String name,
- required GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigResponse serviceDirectory,
- required String timeout,
Creates a new GetWebhookResult.
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.
Implementation
const GetWebhookResult({
required this.disabled,
required this.displayName,
required this.genericWebService,
required this.name,
required this.serviceDirectory,
required this.timeout,
});