com.pulumi.googlenative.dialogflow.v3beta1.kotlin.outputs.GoogleCloudDialogflowCxV3beta1TransitionRouteResponse.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.dialogflow.v3beta1.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* A transition route specifies a intent that can be matched and/or a data condition that can be evaluated during a session. When a specified transition is matched, the following actions are taken in order: * If there is a `trigger_fulfillment` associated with the transition, it will be called. * If there is a `target_page` associated with the transition, the session will transition into the specified page. * If there is a `target_flow` associated with the transition, the session will transition into the specified flow.
* @property condition The condition to evaluate against form parameters or session parameters. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled.
* @property intent The unique identifier of an Intent. Format: `projects//locations//agents//intents/`. Indicates that the transition can only happen when the given intent is matched. At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled.
* @property name The unique identifier of this transition route.
* @property targetFlow The target flow to transition to. Format: `projects//locations//agents//flows/`.
* @property targetPage The target page to transition to. Format: `projects//locations//agents//flows//pages/`.
* @property triggerFulfillment The fulfillment to call when the condition is satisfied. At least one of `trigger_fulfillment` and `target` must be specified. When both are defined, `trigger_fulfillment` is executed first.
*/
public data class GoogleCloudDialogflowCxV3beta1TransitionRouteResponse(
public val condition: String,
public val intent: String,
public val name: String,
public val targetFlow: String,
public val targetPage: String,
public val triggerFulfillment: GoogleCloudDialogflowCxV3beta1FulfillmentResponse,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.dialogflow.v3beta1.outputs.GoogleCloudDialogflowCxV3beta1TransitionRouteResponse): GoogleCloudDialogflowCxV3beta1TransitionRouteResponse =
GoogleCloudDialogflowCxV3beta1TransitionRouteResponse(
condition = javaType.condition(),
intent = javaType.intent(),
name = javaType.name(),
targetFlow = javaType.targetFlow(),
targetPage = javaType.targetPage(),
triggerFulfillment = javaType.triggerFulfillment().let({ args0 ->
com.pulumi.googlenative.dialogflow.v3beta1.kotlin.outputs.GoogleCloudDialogflowCxV3beta1FulfillmentResponse.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy