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\u003eThis document provides reference information for the \u003ccode\u003eAnnotateTextRequest\u003c/code\u003e class within the Google Cloud Natural Language v1 API, version 3.4.0, which is designed for text analysis.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAnnotateTextRequest\u003c/code\u003e class is used to send requests to the API for text annotation, allowing for multiple analysis types such as sentiment, entities, and syntax in a single request.\u003c/p\u003e\n"],["\u003cp\u003eIt supports a variety of versions of the api, ranging from version 2.2.0 to 3.7.0 (latest), alongside several intermediate releases.\u003c/p\u003e\n"],["\u003cp\u003eThe class 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, indicating its functionalities for message handling, equality comparison, deep cloning, and buffering.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAnnotateTextRequest\u003c/code\u003e class has properties such as \u003ccode\u003eDocument\u003c/code\u003e, \u003ccode\u003eEncodingType\u003c/code\u003e, and \u003ccode\u003eFeatures\u003c/code\u003e which allow you to define the input document, encoding type, and the features to be utilized during the analysis.\u003c/p\u003e\n"]]],[],null,[]]