import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Retrieves the specified webhook. */ export declare function getWebhook(args: GetWebhookArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetWebhookArgs { agentId: string; location: string; project?: string; webhookId: string; } export interface GetWebhookResult { /** * Indicates whether the webhook is disabled. */ readonly disabled: boolean; /** * The human-readable name of the webhook, unique within the agent. */ readonly displayName: string; /** * Configuration for a generic web service. */ readonly genericWebService: outputs.dialogflow.v3beta1.GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponse; /** * The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: `projects//locations//agents//webhooks/`. */ readonly name: string; /** * Configuration for a [Service Directory](https://cloud.google.com/service-directory) service. */ readonly serviceDirectory: outputs.dialogflow.v3beta1.GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigResponse; /** * 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. */ readonly timeout: string; } /** * Retrieves the specified webhook. */ export declare function getWebhookOutput(args: GetWebhookOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetWebhookOutputArgs { agentId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; webhookId: pulumi.Input; }