Struct google_api_proto::google::cloud::contactcenterinsights::v1::Conversation
source · pub struct Conversation {Show 20 fields
pub name: String,
pub data_source: Option<ConversationDataSource>,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub start_time: Option<Timestamp>,
pub language_code: String,
pub agent_id: String,
pub labels: BTreeMap<String, String>,
pub quality_metadata: Option<QualityMetadata>,
pub transcript: Option<Transcript>,
pub medium: i32,
pub duration: Option<Duration>,
pub turn_count: i32,
pub latest_analysis: Option<Analysis>,
pub latest_summary: Option<ConversationSummarizationSuggestionData>,
pub runtime_annotations: Vec<RuntimeAnnotation>,
pub dialogflow_intents: BTreeMap<String, DialogflowIntent>,
pub obfuscated_user_id: String,
pub metadata: Option<Metadata>,
pub expiration: Option<Expiration>,
}
Expand description
The conversation resource.
Fields§
§name: String
Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation}
data_source: Option<ConversationDataSource>
The source of the audio and transcription for the conversation.
create_time: Option<Timestamp>
Output only. The time at which the conversation was created.
update_time: Option<Timestamp>
Output only. The most recent time at which the conversation was updated.
start_time: Option<Timestamp>
The time at which the conversation started.
language_code: String
A user-specified language code for the conversation.
agent_id: String
An opaque, user-specified string representing the human agent who handled the conversation.
labels: BTreeMap<String, String>
A map for the user to specify any custom fields. A maximum of 20 labels per conversation is allowed, with a maximum of 256 characters per entry.
quality_metadata: Option<QualityMetadata>
Conversation metadata related to quality management.
transcript: Option<Transcript>
Output only. The conversation transcript.
medium: i32
Immutable. The conversation medium, if unspecified will default to PHONE_CALL.
duration: Option<Duration>
Output only. The duration of the conversation.
turn_count: i32
Output only. The number of turns in the conversation.
latest_analysis: Option<Analysis>
Output only. The conversation’s latest analysis, if one exists.
latest_summary: Option<ConversationSummarizationSuggestionData>
Output only. Latest summary of the conversation.
runtime_annotations: Vec<RuntimeAnnotation>
Output only. The annotations that were generated during the customer and agent interaction.
dialogflow_intents: BTreeMap<String, DialogflowIntent>
Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent}
obfuscated_user_id: String
Obfuscated user ID which the customer sent to us.
metadata: Option<Metadata>
Metadata that applies to the conversation.
expiration: Option<Expiration>
A time to live expiration setting, can be either a specified timestamp or a duration from the time that the conversation creation request was received. Conversations with an expiration set will be removed up to 24 hours after the specified time.
Implementations§
source§impl Conversation
impl Conversation
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