CxPageEventHandlerArgs

data class CxPageEventHandlerArgs(val event: Output<String>? = null, val name: Output<String>? = null, val targetFlow: Output<String>? = null, val targetPage: Output<String>? = null, val triggerFulfillment: Output<CxPageEventHandlerTriggerFulfillmentArgs>? = null) : ConvertibleToJava<CxPageEventHandlerArgs>

Constructors

Link copied to clipboard
constructor(event: Output<String>? = null, name: Output<String>? = null, targetFlow: Output<String>? = null, targetPage: Output<String>? = null, triggerFulfillment: Output<CxPageEventHandlerTriggerFulfillmentArgs>? = null)

Properties

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

The name of the event to handle.

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

(Output) The unique identifier of this event handler.

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

The target flow to transition to. Format: projects//locations//agents//flows/.

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

The target page to transition to. Format: projects//locations//agents//flows//pages/.

Link copied to clipboard

The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. Structure is documented below.

Functions

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