CxFlowKnowledgeConnectorSettingsTriggerFulfillmentArgs

data class CxFlowKnowledgeConnectorSettingsTriggerFulfillmentArgs(val advancedSettings: Output<CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsArgs>? = null, val conditionalCases: Output<List<CxFlowKnowledgeConnectorSettingsTriggerFulfillmentConditionalCaseArgs>>? = null, val enableGenerativeFallback: Output<Boolean>? = null, val messages: Output<List<CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArgs>>? = null, val returnPartialResponses: Output<Boolean>? = null, val setParameterActions: Output<List<CxFlowKnowledgeConnectorSettingsTriggerFulfillmentSetParameterActionArgs>>? = null, val tag: Output<String>? = null, val webhook: Output<String>? = null) : ConvertibleToJava<CxFlowKnowledgeConnectorSettingsTriggerFulfillmentArgs>

Constructors

constructor(advancedSettings: Output<CxFlowKnowledgeConnectorSettingsTriggerFulfillmentAdvancedSettingsArgs>? = null, conditionalCases: Output<List<CxFlowKnowledgeConnectorSettingsTriggerFulfillmentConditionalCaseArgs>>? = null, enableGenerativeFallback: Output<Boolean>? = null, messages: Output<List<CxFlowKnowledgeConnectorSettingsTriggerFulfillmentMessageArgs>>? = null, returnPartialResponses: Output<Boolean>? = null, setParameterActions: Output<List<CxFlowKnowledgeConnectorSettingsTriggerFulfillmentSetParameterActionArgs>>? = null, tag: Output<String>? = null, webhook: Output<String>? = null)

Properties

Link copied to clipboard

Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. Settings exposed at lower level overrides the settings exposed at higher level. Overriding occurs at the sub-setting level. For example, the playbackInterruptionSettings at fulfillment level only overrides the playbackInterruptionSettings at the agent level, leaving other settings at the agent level unchanged. DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Hierarchy: Agent->Flow->Page->Fulfillment/Parameter. Structure is documented below.

Link copied to clipboard

Conditional cases for this fulfillment. Structure is documented below.

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

If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the defined responses in the fulfillment will be respected. This flag is only useful for fulfillments associated with no-match event handlers.

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

Set parameter values before executing the webhook. Structure is documented below.

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/.

Functions

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