Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleCloudDialogflowCxV3beta1Webhook

import type { GoogleCloudDialogflowCxV3beta1Webhook } from "https://googleapis.deno.dev/v1/dialogflow:v3.ts";

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.

interface GoogleCloudDialogflowCxV3beta1Webhook {
disabled?: boolean;
displayName?: string;
name?: string;
timeout?: number;
}

§Properties

§
disabled?: boolean
[src]

Indicates whether the webhook is disabled.

§
displayName?: string
[src]

Required. The human-readable name of the webhook, unique within the agent.

§

Configuration for a generic web service.

§
name?: string
[src]

The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: projects//locations//agents//webhooks/.

§
timeout?: number
[src]

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.