Struct google_dialogflow2::api::GoogleCloudDialogflowV2Conversation[][src]

pub struct GoogleCloudDialogflowV2Conversation {
    pub conversation_profile: Option<String>,
    pub conversation_stage: Option<String>,
    pub end_time: Option<String>,
    pub lifecycle_state: Option<String>,
    pub name: Option<String>,
    pub phone_number: Option<GoogleCloudDialogflowV2ConversationPhoneNumber>,
    pub start_time: Option<String>,
}

Represents a conversation. A conversation is an interaction between an agent, including live agents and Dialogflow agents, and a support customer. Conversations can include phone calls and text-based chat sessions.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

conversation_profile: Option<String>

Required. The Conversation Profile to be used to configure this Conversation. This field cannot be updated. Format: projects//locations//conversationProfiles/.

conversation_stage: Option<String>

The stage of a conversation. It indicates whether the virtual agent or a human agent is handling the conversation. If the conversation is created with the conversation profile that has Dialogflow config set, defaults to ConversationStage.VIRTUAL_AGENT_STAGE; Otherwise, defaults to ConversationStage.HUMAN_ASSIST_STAGE. If the conversation is created with the conversation profile that has Dialogflow config set but explicitly sets conversation_stage to ConversationStage.HUMAN_ASSIST_STAGE, it skips ConversationStage.VIRTUAL_AGENT_STAGE stage and directly goes to ConversationStage.HUMAN_ASSIST_STAGE.

end_time: Option<String>

Output only. The time the conversation was finished.

lifecycle_state: Option<String>

Output only. The current state of the Conversation.

name: Option<String>

Output only. The unique identifier of this conversation. Format: projects//locations//conversations/.

phone_number: Option<GoogleCloudDialogflowV2ConversationPhoneNumber>

Output only. It will not be empty if the conversation is to be connected over telephony.

start_time: Option<String>

Output only. The time the conversation was started.

Trait Implementations

impl Clone for GoogleCloudDialogflowV2Conversation[src]

impl Debug for GoogleCloudDialogflowV2Conversation[src]

impl Default for GoogleCloudDialogflowV2Conversation[src]

impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2Conversation[src]

impl RequestValue for GoogleCloudDialogflowV2Conversation[src]

impl ResponseResult for GoogleCloudDialogflowV2Conversation[src]

impl Serialize for GoogleCloudDialogflowV2Conversation[src]

Auto Trait Implementations

impl RefUnwindSafe for GoogleCloudDialogflowV2Conversation[src]

impl Send for GoogleCloudDialogflowV2Conversation[src]

impl Sync for GoogleCloudDialogflowV2Conversation[src]

impl Unpin for GoogleCloudDialogflowV2Conversation[src]

impl UnwindSafe for GoogleCloudDialogflowV2Conversation[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<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.