GoogleCloudDialogflowCxV3beta1EventHandlerResponse

data class GoogleCloudDialogflowCxV3beta1EventHandlerResponse(val event: String, val name: String, val targetFlow: String, val targetPage: String, val triggerFulfillment: GoogleCloudDialogflowCxV3beta1FulfillmentResponse)

An event handler specifies an event that can be handled during a session. When the specified event happens, the following actions are taken in order: * If there is a trigger_fulfillment associated with the event, it will be called. * If there is a target_page associated with the event, the session will transition into the specified page. * If there is a target_flow associated with the event, the session will transition into the specified flow.

Constructors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The name of the event to handle.

Link copied to clipboard

The unique identifier of this event handler.

Link copied to clipboard

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

Link copied to clipboard

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.