public sealed class AnnotateTextRequest : IMessage<AnnotateTextRequest>, IEquatable<AnnotateTextRequest>, IDeepCloneable<AnnotateTextRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Natural Language v2 API class AnnotateTextRequest.
The request message for the text annotation API, which can perform multiple
analysis types in one call.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-07 UTC."],[[["`AnnotateTextRequest` is a class within the Cloud Natural Language v2 API that serves as the request message for performing multiple text analysis types in a single API call."],["This class implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionalities such as deep cloning and equality checks."],["The class contains three key properties: `Document` for the input, `EncodingType` to define how offsets are calculated, and `Features` to specify the types of analysis to be performed."],["The `AnnotateTextRequest` class has two constructors, a default constructor and one that takes another `AnnotateTextRequest` as a parameter for creating a copy."]]],[]]