pub struct GoogleCloudDialogflowV2Conversation {
pub conversation_profile: Option<String>,
pub conversation_stage: Option<String>,
pub end_time: Option<DateTime<Utc>>,
pub lifecycle_state: Option<String>,
pub name: Option<String>,
pub phone_number: Option<GoogleCloudDialogflowV2ConversationPhoneNumber>,
pub start_time: Option<DateTime<Utc>>,
}
Expand description
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).
- conversations complete projects (response)
- conversations create projects (request|response)
- conversations get projects (response)
- locations conversations complete projects (response)
- locations conversations create projects (request|response)
- locations conversations get projects (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>
Optional. 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<DateTime<Utc>>
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. Identifier. 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<DateTime<Utc>>
Output only. The time the conversation was started.
Trait Implementations§
Source§impl Clone for GoogleCloudDialogflowV2Conversation
impl Clone for GoogleCloudDialogflowV2Conversation
Source§fn clone(&self) -> GoogleCloudDialogflowV2Conversation
fn clone(&self) -> GoogleCloudDialogflowV2Conversation
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for GoogleCloudDialogflowV2Conversation
impl Default for GoogleCloudDialogflowV2Conversation
Source§fn default() -> GoogleCloudDialogflowV2Conversation
fn default() -> GoogleCloudDialogflowV2Conversation
Source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2Conversation
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2Conversation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl RequestValue for GoogleCloudDialogflowV2Conversation
impl ResponseResult for GoogleCloudDialogflowV2Conversation
Auto Trait Implementations§
impl Freeze for GoogleCloudDialogflowV2Conversation
impl RefUnwindSafe for GoogleCloudDialogflowV2Conversation
impl Send for GoogleCloudDialogflowV2Conversation
impl Sync for GoogleCloudDialogflowV2Conversation
impl Unpin for GoogleCloudDialogflowV2Conversation
impl UnwindSafe for GoogleCloudDialogflowV2Conversation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more