Struct gapi_grpc::google::cloud::contactcenterinsights::v1::Conversation[][src]

pub struct Conversation {
    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: HashMap<String, String>,
    pub transcript: Option<Transcript>,
    pub medium: i32,
    pub duration: Option<Duration>,
    pub turn_count: i32,
    pub latest_analysis: Option<Analysis>,
    pub runtime_annotations: Vec<RuntimeAnnotation>,
    pub dialogflow_intents: HashMap<String, DialogflowIntent>,
    pub metadata: Option<Metadata>,
    pub expiration: Option<Expiration>,
}

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: HashMap<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.

transcript: Option<Transcript>

Output only. The conversation transcript.

medium: i32

Immutable. The conversation medium.

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.

runtime_annotations: Vec<RuntimeAnnotation>

Output only. The annotations that were generated during the customer and agent interaction.

dialogflow_intents: HashMap<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}

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

impl Conversation[src]

pub fn medium(&self) -> Medium[src]

Returns the enum value of medium, or the default if the field is set to an invalid enum value.

pub fn set_medium(&mut self, value: Medium)[src]

Sets medium to the provided enum value.

Trait Implementations

impl Clone for Conversation[src]

impl Debug for Conversation[src]

impl Default for Conversation[src]

impl Message for Conversation[src]

impl PartialEq<Conversation> for Conversation[src]

impl StructuralPartialEq for Conversation[src]

Auto Trait Implementations

impl RefUnwindSafe for Conversation

impl Send for Conversation

impl Sync for Conversation

impl Unpin for Conversation

impl UnwindSafe for Conversation

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]