Struct google_api_proto::google::cloud::dialogflow::cx::v3beta1::Conversation
source · pub struct Conversation {
pub name: String,
pub type: i32,
pub language_code: String,
pub start_time: Option<Timestamp>,
pub duration: Option<Duration>,
pub metrics: Option<Metrics>,
pub intents: Vec<Intent>,
pub flows: Vec<Flow>,
pub pages: Vec<Page>,
pub interactions: Vec<Interaction>,
pub environment: Option<Environment>,
pub flow_versions: BTreeMap<String, i64>,
}
Expand description
Represents a conversation.
Fields§
§name: String
Identifier. The identifier of the conversation.
If conversation ID is reused, interactions happened later than 48 hours of
the conversation’s create time will be ignored. Format:
projects/<ProjectID>/locations/<Location ID>/agents/<Agent ID>/conversations/<Conversation ID>
type: i32
The type of the conversation.
language_code: String
The language of the conversation, which is the language of the first request in the conversation.
start_time: Option<Timestamp>
Start time of the conversation, which is the time of the first request of the conversation.
duration: Option<Duration>
Duration of the conversation.
metrics: Option<Metrics>
Conversation metrics.
intents: Vec<Intent>
All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
conversation. Only name
and display_name
are filled in this message.
flows: Vec<Flow>
All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
has went through. Only name
and display_name
are filled in this
message.
pages: Vec<Page>
All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
has went through. Only name
and display_name
are filled in this
message.
interactions: Vec<Interaction>
Interactions of the conversation.
Only populated for GetConversation
and empty for ListConversations
.
environment: Option<Environment>
Environment of the conversation.
Only name
and display_name
are filled in this message.
flow_versions: BTreeMap<String, i64>
Flow versions used in the conversation.
Implementations§
Trait Implementations§
source§impl Clone for Conversation
impl Clone for Conversation
source§fn clone(&self) -> Conversation
fn clone(&self) -> Conversation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Conversation
impl Debug for Conversation
source§impl Default for Conversation
impl Default for Conversation
source§impl Message for Conversation
impl Message for Conversation
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for Conversation
impl PartialEq for Conversation
source§fn eq(&self, other: &Conversation) -> bool
fn eq(&self, other: &Conversation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Conversation
Auto Trait Implementations§
impl Freeze for Conversation
impl RefUnwindSafe for Conversation
impl Send for Conversation
impl Sync for Conversation
impl Unpin for Conversation
impl UnwindSafe for Conversation
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request