public sealed class AnalyzeSentimentResponse : IMessage<AnalyzeSentimentResponse>, IEquatable<AnalyzeSentimentResponse>, IDeepCloneable<AnalyzeSentimentResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Natural Language v1 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][google.cloud.language.v1.Document.language] field
for more details.
[[["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 provides documentation for the \u003ccode\u003eAnalyzeSentimentResponse\u003c/code\u003e class within the Google Cloud Natural Language v1 API, specifically for version 3.4.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAnalyzeSentimentResponse\u003c/code\u003e class is a sealed class that implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, designed to handle sentiment analysis results.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eAnalyzeSentimentResponse\u003c/code\u003e class include \u003ccode\u003eDocumentSentiment\u003c/code\u003e for the overall sentiment, \u003ccode\u003eLanguage\u003c/code\u003e for the text's language, and \u003ccode\u003eSentences\u003c/code\u003e for sentiment details of individual sentences.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation also lists the available versions of the API, ranging from the latest 3.7.0 to version 2.2.0, with links to each version's specific documentation.\u003c/p\u003e\n"],["\u003cp\u003eIt includes details on the class's constructors, which allow for the creation of new instances and the ability to copy properties from an existing \u003ccode\u003eAnalyzeSentimentResponse\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,[]]