Struct google_dialogflow2::api::GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig[][src]

pub struct GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig {
    pub enable_entity_extraction: Option<bool>,
    pub enable_sentiment_analysis: Option<bool>,
}

Configuration for analyses to run on each conversation message.

This type is not used in any activity, and only used as part of another schema.

Fields

enable_entity_extraction: Option<bool>

Enable entity extraction in conversation messages on agent assist stage. If unspecified, defaults to false. Currently, this feature is not general available, please contact Google to get access.

enable_sentiment_analysis: Option<bool>

Enable sentiment analysis in conversation messages on agent assist stage. If unspecified, defaults to false. Sentiment analysis inspects user input and identifies the prevailing subjective opinion, especially to determine a user's attitude as positive, negative, or neutral: https://cloud.google.com/natural-language/docs/basics#sentiment_analysis For Participants.StreamingAnalyzeContent method, result will be in StreamingAnalyzeContentResponse.message.SentimentAnalysisResult. For Participants.AnalyzeContent method, result will be in AnalyzeContentResponse.message.SentimentAnalysisResult For Conversations.ListMessages method, result will be in ListMessagesResponse.messages.SentimentAnalysisResult If Pub/Sub notification is configured, result will be in ConversationEvent.new_message_payload.SentimentAnalysisResult.

Trait Implementations

impl Clone for GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig[src]

impl Debug for GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig[src]

impl Default for GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig[src]

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

impl Part for GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig[src]

impl Serialize for GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig[src]

impl Send for GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig[src]

impl Sync for GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig[src]

impl Unpin for GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig[src]

impl UnwindSafe for GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig[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.