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.
Implements
IMessageAnnotateTextRequest, IEquatableAnnotateTextRequest, IDeepCloneableAnnotateTextRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Language.V1Assembly
Google.Cloud.Language.V1.dll
Constructors
AnnotateTextRequest()
public AnnotateTextRequest()
AnnotateTextRequest(AnnotateTextRequest)
public AnnotateTextRequest(AnnotateTextRequest other)
Parameter | |
---|---|
Name | Description |
other | AnnotateTextRequest |
Properties
Document
public Document Document { get; set; }
Required. Input document.
Property Value | |
---|---|
Type | Description |
Document |
EncodingType
public EncodingType EncodingType { get; set; }
The encoding type used by the API to calculate offsets.
Property Value | |
---|---|
Type | Description |
EncodingType |
Features
public AnnotateTextRequest.Types.Features Features { get; set; }
Required. The enabled features.
Property Value | |
---|---|
Type | Description |
AnnotateTextRequestTypesFeatures |