# Google Cloud Dialogflow v2beta1 API - Class SentimentAnalysisResult (1.0.0-beta30)

1.0.0-beta30 (latest) 1.0.0-beta29

    public sealed class SentimentAnalysisResult : IMessage<SentimentAnalysisResult>, IEquatable<SentimentAnalysisResult>, IDeepCloneable<SentimentAnalysisResult>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class SentimentAnalysisResult.

The result of sentiment analysis. Sentiment analysis inspects user input
and identifies the prevailing subjective opinion, especially to determine a
user's attitude as positive, negative, or neutral.
For \[Participants.DetectIntent\]\[\], it needs to be configured in
\[DetectIntentRequest.query_params\]\[google.cloud.dialogflow.v2beta1.DetectIntentRequest.query_params\].
For \[Participants.StreamingDetectIntent\]\[\], it needs to be configured in
\[StreamingDetectIntentRequest.query_params\]\[google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_params\].
And for
\[Participants.AnalyzeContent\]\[google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent\]
and
\[Participants.StreamingAnalyzeContent\]\[google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent\],
it needs to be configured in
\[ConversationProfile.human_agent_assistant_config\]\[google.cloud.dialogflow.v2beta1.ConversationProfile.human_agent_assistant_config\]

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SentimentAnalysisResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.SentimentAnalysisResult), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SentimentAnalysisResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.SentimentAnalysisResult), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SentimentAnalysisResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.SentimentAnalysisResult), [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

### SentimentAnalysisResult()

    public SentimentAnalysisResult()

### SentimentAnalysisResult(SentimentAnalysisResult)

    public SentimentAnalysisResult(SentimentAnalysisResult other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.SentimentAnalysisResult` |

## Properties

### QueryTextSentiment

    public Sentiment QueryTextSentiment { get; set; }

The sentiment analysis result for `query_text`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.Sentiment` |   |