public sealed class AnalyzeSentimentRequest : IMessage<AnalyzeSentimentRequest>, IEquatable<AnalyzeSentimentRequest>, IDeepCloneable<AnalyzeSentimentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Natural Language v2 API class AnalyzeSentimentRequest.
[[["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\u003eThe \u003ccode\u003eAnalyzeSentimentRequest\u003c/code\u003e class is part of the Cloud Natural Language v2 API and is used to request sentiment analysis.\u003c/p\u003e\n"],["\u003cp\u003eThis class is found within the \u003ccode\u003eGoogle.Cloud.Language.V2\u003c/code\u003e namespace, specifically in the \u003ccode\u003eGoogle.Cloud.Language.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAnalyzeSentimentRequest\u003c/code\u003e implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing various functionalities.\u003c/p\u003e\n"],["\u003cp\u003eIt has two constructors: a default one and one that takes another \u003ccode\u003eAnalyzeSentimentRequest\u003c/code\u003e object as a parameter for copying.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two properties, \u003ccode\u003eDocument\u003c/code\u003e for the input text and \u003ccode\u003eEncodingType\u003c/code\u003e to determine the type of encoding used.\u003c/p\u003e\n"]]],[],null,[]]