public sealed class AnnotateTextRequest : IMessage<AnnotateTextRequest>, IEquatable<AnnotateTextRequest>, IDeepCloneable<AnnotateTextRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Natural Language v1 API class AnnotateTextRequest.
The request message for the text annotation API, which can perform multiple
analysis types (sentiment, entities, and syntax) in one call.
[[["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\u003eAnnotateTextRequest\u003c/code\u003e class is part of the Google Cloud Natural Language v1 API and is used to request text analysis, supporting sentiment, entity, and syntax analysis.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces like \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 checking, deep cloning, and buffer operations.\u003c/p\u003e\n"],["\u003cp\u003eIt is the request message for the text annotation API and contains properties for the input document (\u003ccode\u003eDocument\u003c/code\u003e), the encoding type (\u003ccode\u003eEncodingType\u003c/code\u003e), and the features to be analyzed (\u003ccode\u003eFeatures\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe document versions shown range from version 2.2.0 to the latest version 3.7.0, allowing for selection of different versions of the \u003ccode\u003eAnnotateTextRequest\u003c/code\u003e class for use in a project.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAnnotateTextRequest\u003c/code\u003e class has two constructors: one default and one that accepts another \u003ccode\u003eAnnotateTextRequest\u003c/code\u003e object as a parameter, enabling object creation from existing \u003ccode\u003eAnnotateTextRequest\u003c/code\u003e objects.\u003c/p\u003e\n"]]],[],null,[]]