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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The `SentimentAnalysisResult` class in the Google Cloud Dialogflow v2 API is used to analyze user input and determine the prevailing sentiment, categorizing it as positive, negative, or neutral."],["This sentiment analysis functionality can be configured for `Participants.DetectIntent`, `Participants.StreamingDetectIntent`, `Participants.AnalyzeContent`, and `Participants.StreamingAnalyzeContent` through their respective query parameters or conversation profile settings."],["The page provides versioned documentation, with version 4.26.0 being the latest and it shows you where the docs are located for each version going back to version 3.2.0."],["The `SentimentAnalysisResult` class inherits from `object` and implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and it has constructors for default initialization and copying from another instance."],["The class has one primary property, `QueryTextSentiment`, which holds the sentiment analysis result for the query text and is of type `Sentiment`."]]],[]]