Struct gapi_grpc::google::cloud::dialogflow::cx::v3beta1::TransitionRoute[][src]

pub struct TransitionRoute {
    pub name: String,
    pub intent: String,
    pub condition: String,
    pub trigger_fulfillment: Option<Fulfillment>,
    pub target: Option<Target>,
}

A transition route specifies a [intent][google.cloud.dialogflow.cx.v3beta1.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:

Fields

name: String

Output only. The unique identifier of this transition route.

intent: String

The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>. 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.

condition: String

The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3beta1.Form.parameters] or [session parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.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.

trigger_fulfillment: Option<Fulfillment>

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.

target: Option<Target>

The target to transition to, either a page in the same host flow (the flow that owns this [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute]), or another flow in the same agent.

Trait Implementations

impl Clone for TransitionRoute[src]

impl Debug for TransitionRoute[src]

impl Default for TransitionRoute[src]

impl Message for TransitionRoute[src]

impl PartialEq<TransitionRoute> for TransitionRoute[src]

impl StructuralPartialEq for TransitionRoute[src]

Auto Trait Implementations

impl RefUnwindSafe for TransitionRoute

impl Send for TransitionRoute

impl Sync for TransitionRoute

impl Unpin for TransitionRoute

impl UnwindSafe for TransitionRoute

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]