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 latest version available for the \u003ccode\u003eAnnotateTextRequest\u003c/code\u003e class is 3.7.0, while the current page is displaying documentation for version 3.2.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAnnotateTextRequest\u003c/code\u003e is a class in the Google Cloud Natural Language v1 API, designed for performing multiple text analyses like sentiment, entity, and syntax in a single API call.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAnnotateTextRequest\u003c/code\u003e class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAnnotateTextRequest\u003c/code\u003e class contains properties such as \u003ccode\u003eDocument\u003c/code\u003e, \u003ccode\u003eEncodingType\u003c/code\u003e, and \u003ccode\u003eFeatures\u003c/code\u003e, allowing specification of input document, encoding used for offsets, and the analysis features to enable.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAnnotateTextRequest\u003c/code\u003e has two constructors available, one default and one that accepts another \u003ccode\u003eAnnotateTextRequest\u003c/code\u003e as a parameter.\u003c/p\u003e\n"]]],[],null,[]]