public sealed class SentimentAnalysisResult : IMessage<SentimentAnalysisResult>, IEquatable<SentimentAnalysisResult>, IDeepCloneable<SentimentAnalysisResult>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 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.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 reference documentation for the \u003ccode\u003eSentimentAnalysisResult\u003c/code\u003e class within the Google Cloud Dialogflow v2 API, detailing its functionality for analyzing user input sentiment.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSentimentAnalysisResult\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2\u003c/code\u003e namespace and is implemented in the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe content covers the usage of \u003ccode\u003eSentimentAnalysisResult\u003c/code\u003e in different methods like \u003ccode\u003eParticipants.DetectIntent\u003c/code\u003e, \u003ccode\u003eParticipants.StreamingDetectIntent\u003c/code\u003e, \u003ccode\u003eParticipants.AnalyzeContent\u003c/code\u003e, and \u003ccode\u003eParticipants.StreamingAnalyzeContent\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe document includes a comprehensive list of all available versions of \u003ccode\u003eSentimentAnalysisResult\u003c/code\u003e, from version 4.0.0 to the latest version 4.26.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, \u003ccode\u003eSentimentAnalysisResult()\u003c/code\u003e and \u003ccode\u003eSentimentAnalysisResult(SentimentAnalysisResult other)\u003c/code\u003e, and it includes the property \u003ccode\u003eQueryTextSentiment\u003c/code\u003e which returns the sentiment of the \u003ccode\u003equery_text\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]