public sealed class SentimentAnalysisResult : IMessage<SentimentAnalysisResult>, IEquatable<SentimentAnalysisResult>, IDeepCloneable<SentimentAnalysisResult>, IBufferMessage, IMessage
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.v2.DetectIntentRequest.query_params]. For
[Participants.StreamingDetectIntent][], it needs to be configured in
[StreamingDetectIntentRequest.query_params][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.query_params].
And for [Participants.AnalyzeContent][google.cloud.dialogflow.v2.Participants.AnalyzeContent] and
[Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2.Participants.StreamingAnalyzeContent], it needs to be configured in
[ConversationProfile.human_agent_assistant_config][google.cloud.dialogflow.v2.ConversationProfile.human_agent_assistant_config]
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page details the \u003ccode\u003eSentimentAnalysisResult\u003c/code\u003e class within the Google.Cloud.Dialogflow.V2 namespace, which is used to represent the outcome of analyzing sentiment in user input.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSentimentAnalysisResult\u003c/code\u003e class is implemented in the Google.Cloud.Dialogflow.V2.dll assembly and inherits from Object, implementing several interfaces such as IMessage, IEquatable, IDeepCloneable, and IBufferMessage.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists numerous previous versions of the \u003ccode\u003eSentimentAnalysisResult\u003c/code\u003e class, with version 4.26.0 being the latest and ranging down to version 3.2.0.\u003c/p\u003e\n"],["\u003cp\u003eSentiment analysis, as performed by this class, identifies the user's subjective opinion within the input, categorizing it as positive, negative, or neutral.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors, a default one and another for creating a copy from another \u003ccode\u003eSentimentAnalysisResult\u003c/code\u003e, as well as the property \u003ccode\u003eQueryTextSentiment\u003c/code\u003e to obtain the result of sentiment analysis on a text.\u003c/p\u003e\n"]]],[],null,[]]