public sealed class AnnotateTextRequest : IMessage<AnnotateTextRequest>, IEquatable<AnnotateTextRequest>, IDeepCloneable<AnnotateTextRequest>, IBufferMessage, IMessage
The request message for the text annotation API, which can perform multiple analysis types (sentiment, entities, and syntax) in one call.
Implements
IMessage<AnnotateTextRequest>, IEquatable<AnnotateTextRequest>, IDeepCloneable<AnnotateTextRequest>, 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; }
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; }
The enabled features.
Property Value | |
---|---|
Type | Description |
AnnotateTextRequest.Types.Features |