public sealed class AnalyzeSentimentResponse : IMessage<AnalyzeSentimentResponse>, IEquatable<AnalyzeSentimentResponse>, IDeepCloneable<AnalyzeSentimentResponse>, IBufferMessage, IMessage
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 document provides information about the \u003ccode\u003eAnalyzeSentimentResponse\u003c/code\u003e class, which is used for sentiment analysis in the Google Cloud Natural Language API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is accessible via the link for version 3.7.0, while the current document pertains to version 3.0.0, and there are several previous versions available, ranging from 2.2.0 up to 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAnalyzeSentimentResponse\u003c/code\u003e class inherits from \u003ccode\u003eObject\u003c/code\u003e and 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, providing functionalities for message handling, equality checks, deep cloning, and buffered message operations.\u003c/p\u003e\n"],["\u003cp\u003eThis class offers properties like \u003ccode\u003eDocumentSentiment\u003c/code\u003e, \u003ccode\u003eLanguage\u003c/code\u003e, and \u003ccode\u003eSentences\u003c/code\u003e, allowing you to get the overall sentiment of the document, get the language of the document, and get the sentiments for all sentences.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, one that is parameterless, and another that takes in a prior AnalyzeSentimentResponse object.\u003c/p\u003e\n"]]],[],null,[]]