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 webpage provides documentation for the \u003ccode\u003eSentimentAnalysisResult\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2\u003c/code\u003e namespace, specifically in version 3.11.0 and detailing links to numerous prior and the current latest versions.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSentimentAnalysisResult\u003c/code\u003e is used to analyze user input to determine the user's sentiment as positive, negative, or neutral, which can be used in \u003ccode\u003eDetectIntent\u003c/code\u003e, \u003ccode\u003eStreamingDetectIntent\u003c/code\u003e, \u003ccode\u003eAnalyzeContent\u003c/code\u003e and \u003ccode\u003eStreamingAnalyzeContent\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSentimentAnalysisResult\u003c/code\u003e class has a \u003ccode\u003eQueryTextSentiment\u003c/code\u003e property that returns an object of type \u003ccode\u003eSentiment\u003c/code\u003e, representing the sentiment result for a given query.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for the \u003ccode\u003eSentimentAnalysisResult\u003c/code\u003e class: one default constructor and another that accepts an instance of \u003ccode\u003eSentimentAnalysisResult\u003c/code\u003e to create a new object.\u003c/p\u003e\n"]]],[],null,[]]