CxFlowEventHandlerTriggerFulfillmentArgs

data class CxFlowEventHandlerTriggerFulfillmentArgs(val messages: Output<List<CxFlowEventHandlerTriggerFulfillmentMessageArgs>>? = null, val returnPartialResponses: Output<Boolean>? = null, val tag: Output<String>? = null, val webhook: Output<String>? = null) : ConvertibleToJava<CxFlowEventHandlerTriggerFulfillmentArgs>

Constructors

Link copied to clipboard
fun CxFlowEventHandlerTriggerFulfillmentArgs(messages: Output<List<CxFlowEventHandlerTriggerFulfillmentMessageArgs>>? = null, returnPartialResponses: Output<Boolean>? = null, tag: Output<String>? = null, webhook: Output<String>? = null)

Functions

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

Properties

Link copied to clipboard

The list of rich message responses to present to the user. Structure is documented below.

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

Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.

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

The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.

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

The webhook to call. Format: projects//locations//agents//webhooks/.