# Google Cloud Dialogflow v2beta1 API - Class HumanAgentAssistantConfig.Types.MessageAnalysisConfig (1.0.0-beta30)

1.0.0-beta30 (latest) 1.0.0-beta29

    public sealed class HumanAgentAssistantConfig.Types.MessageAnalysisConfig : IMessage<HumanAgentAssistantConfig.Types.MessageAnalysisConfig>, IEquatable<HumanAgentAssistantConfig.Types.MessageAnalysisConfig>, IDeepCloneable<HumanAgentAssistantConfig.Types.MessageAnalysisConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class HumanAgentAssistantConfig.Types.MessageAnalysisConfig.

Configuration for analyses to run on each conversation message.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> HumanAgentAssistantConfig.Types.MessageAnalysisConfig

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[HumanAgentAssistantConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.HumanAgentAssistantConfig)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.HumanAgentAssistantConfig.Types)[MessageAnalysisConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.HumanAgentAssistantConfig.Types.MessageAnalysisConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[HumanAgentAssistantConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.HumanAgentAssistantConfig)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.HumanAgentAssistantConfig.Types)[MessageAnalysisConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.HumanAgentAssistantConfig.Types.MessageAnalysisConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[HumanAgentAssistantConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.HumanAgentAssistantConfig)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.HumanAgentAssistantConfig.Types)[MessageAnalysisConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.HumanAgentAssistantConfig.Types.MessageAnalysisConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Dialogflow.V2Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1)

## Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

## Constructors

### MessageAnalysisConfig()

    public MessageAnalysisConfig()

### MessageAnalysisConfig(MessageAnalysisConfig)

    public MessageAnalysisConfig(HumanAgentAssistantConfig.Types.MessageAnalysisConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.HumanAgentAssistantConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.HumanAgentAssistantConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.HumanAgentAssistantConfig.Types.MessageAnalysisConfig` |

## Properties

### EnableEntityExtraction

    public bool EnableEntityExtraction { get; set; }

Enable entity extraction in conversation messages on [agent assist
stage](https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages).
If unspecified, defaults to false.

Currently, this feature is not general available, please contact Google
to get access.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### EnableSentimentAnalysis

    public bool EnableSentimentAnalysis { get; set; }

Enable sentiment analysis in conversation messages on [agent assist
stage](https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages).
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\]\[google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent\]
method, result will be in
\[StreamingAnalyzeContentResponse.message.SentimentAnalysisResult\]\[google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.message\].
For
\[Participants.AnalyzeContent\]\[google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent\]
method, result will be in
\[AnalyzeContentResponse.message.SentimentAnalysisResult\]\[google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.message\]
For
\[Conversations.ListMessages\]\[google.cloud.dialogflow.v2beta1.Conversations.ListMessages\]
method, result will be in
\[ListMessagesResponse.messages.SentimentAnalysisResult\]\[google.cloud.dialogflow.v2beta1.ListMessagesResponse.messages\]
If Pub/Sub notification is configured, result will be in
\[ConversationEvent.new_message_payload.SentimentAnalysisResult\]\[google.cloud.dialogflow.v2beta1.ConversationEvent.new_message_payload\].

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### EnableSentimentAnalysisV3

    public bool EnableSentimentAnalysisV3 { get; set; }

Optional. Enables sentiment analysis for audio input and conversation
messages. If unspecified, defaults to false. If this flag is set to true,
other 'enable_sentiment_analysis' fields will be ignored.

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\]\[google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent\]
method, result will be in
\[StreamingAnalyzeContentResponse.message.SentimentAnalysisResult\]\[google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.message\].
For
\[Participants.AnalyzeContent\]\[google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent\]
method, result will be in
\[AnalyzeContentResponse.message.SentimentAnalysisResult\]\[google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.message\]
For
\[Conversations.ListMessages\]\[google.cloud.dialogflow.v2beta1.Conversations.ListMessages\]
method, result will be in
\[ListMessagesResponse.messages.SentimentAnalysisResult\]\[google.cloud.dialogflow.v2beta1.ListMessagesResponse.messages\]
If Pub/Sub notification is configured, result will be in
\[ConversationEvent.new_message_payload.SentimentAnalysisResult\]\[google.cloud.dialogflow.v2beta1.ConversationEvent.new_message_payload\].

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |