WebhookArgs

data class WebhookArgs(val agentId: Output<String>? = null, val disabled: Output<Boolean>? = null, val displayName: Output<String>? = null, val genericWebService: Output<GoogleCloudDialogflowCxV3WebhookGenericWebServiceArgs>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val serviceDirectory: Output<GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigArgs>? = null, val timeout: Output<String>? = null) : ConvertibleToJava<WebhookArgs>

Creates a webhook in the specified agent.

Constructors

Link copied to clipboard
fun WebhookArgs(agentId: Output<String>? = null, disabled: Output<Boolean>? = null, displayName: Output<String>? = null, genericWebService: Output<GoogleCloudDialogflowCxV3WebhookGenericWebServiceArgs>? = null, location: Output<String>? = null, name: Output<String>? = null, project: Output<String>? = null, serviceDirectory: Output<GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigArgs>? = null, timeout: Output<String>? = null)

Functions

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

Properties

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

Indicates whether the webhook is disabled.

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

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 location: Output<String>? = null
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
val project: Output<String>? = null
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.