GoogleCloudDialogflowCxV3beta1WebhookArgs

data class GoogleCloudDialogflowCxV3beta1WebhookArgs(val disabled: Output<Boolean>? = null, val displayName: Output<String>, val genericWebService: Output<GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceArgs>? = null, val name: Output<String>? = null, val serviceDirectory: Output<GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigArgs>? = null, val timeout: Output<String>? = null) : ConvertibleToJava<GoogleCloudDialogflowCxV3beta1WebhookArgs>

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

fun GoogleCloudDialogflowCxV3beta1WebhookArgs(disabled: Output<Boolean>? = null, displayName: Output<String>, genericWebService: Output<GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceArgs>? = null, name: Output<String>? = null, serviceDirectory: Output<GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigArgs>? = null, timeout: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): GoogleCloudDialogflowCxV3beta1WebhookArgs

Properties

Link copied to clipboard
val disabled: Output<Boolean>? = null

Indicates whether the webhook is disabled.

Link copied to clipboard
val displayName: Output<String>

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

Link copied to clipboard

Configuration for a generic web service.

Link copied to clipboard
val name: Output<String>? = null

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

Link copied to clipboard
Link copied to clipboard
val timeout: Output<String>? = null

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.