GoogleCloudDialogflowCxV3TransitionRoute class

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.

Constructors

GoogleCloudDialogflowCxV3TransitionRoute({Input<String>? condition, Input<String>? description, Input<String>? intent, Input<String>? targetFlow, Input<String>? targetPage, Input<GoogleCloudDialogflowCxV3Fulfillment>? triggerFulfillment})
Creates a new GoogleCloudDialogflowCxV3TransitionRoute. condition The condition to evaluate against form parameters or session parameters. See the conditions reference. 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. description Optional. The description of the transition route. The maximum length is 500 characters. 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. targetFlow The target flow to transition to. Format: projects//locations//agents//flows/. targetPage The target page to transition to. Format: projects//locations//agents//flows//pages/. 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.
const
GoogleCloudDialogflowCxV3TransitionRoute.fromMap(Map<String, dynamic> map)
factory

Properties

condition → Input<String>?
The condition to evaluate against form parameters or session parameters. See the conditions reference. 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.
final
description → Input<String>?
Optional. The description of the transition route. The maximum length is 500 characters.
final
hashCode → int
The hash code for this object.
no setterinherited
intent → Input<String>?
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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
targetFlow → Input<String>?
The target flow to transition to. Format: projects//locations//agents//flows/.
final
targetPage → Input<String>?
The target page to transition to. Format: projects//locations//agents//flows//pages/.
final
triggerFulfillment → Input<GoogleCloudDialogflowCxV3Fulfillment>?
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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited