public sealed class AnalyzeSentimentResponse : IMessage<AnalyzeSentimentResponse>, IEquatable<AnalyzeSentimentResponse>, IDeepCloneable<AnalyzeSentimentResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Natural Language v2 API class AnalyzeSentimentResponse.
The language of the text, which will be the same as the language specified
in the request or, if not specified, the automatically-detected language.
See [Document.language][] field for more details.
Whether the language is officially supported. The API may still return a
response when the language is not supported, but it is on a best effort
basis.
[[["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 document provides reference information for the \u003ccode\u003eAnalyzeSentimentResponse\u003c/code\u003e class within the Google Cloud Natural Language v2 API, specifically for version 1.0.0-beta04.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAnalyzeSentimentResponse\u003c/code\u003e class is designed to handle the sentiment analysis response from the API, including the overall document sentiment, language code, language support status, and sentence-level sentiments.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces like \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\u003eKey properties within \u003ccode\u003eAnalyzeSentimentResponse\u003c/code\u003e include \u003ccode\u003eDocumentSentiment\u003c/code\u003e, \u003ccode\u003eLanguageCode\u003c/code\u003e, \u003ccode\u003eLanguageSupported\u003c/code\u003e, and \u003ccode\u003eSentences\u003c/code\u003e, each providing different aspects of the sentiment analysis result.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for creating instances of \u003ccode\u003eAnalyzeSentimentResponse\u003c/code\u003e: a default constructor and one that accepts another \u003ccode\u003eAnalyzeSentimentResponse\u003c/code\u003e instance for copying.\u003c/p\u003e\n"]]],[],null,[]]