Class AnnotateTextRequest (3.0.0)

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.

Inheritance

Object > AnnotateTextRequest

Namespace

Google.Cloud.Language.V1

Assembly

Google.Cloud.Language.V1.dll

Constructors

AnnotateTextRequest()

public AnnotateTextRequest()

AnnotateTextRequest(AnnotateTextRequest)

public AnnotateTextRequest(AnnotateTextRequest other)
Parameter
NameDescription
otherAnnotateTextRequest

Properties

Document

public Document Document { get; set; }

Input document.

Property Value
TypeDescription
Document

EncodingType

public EncodingType EncodingType { get; set; }

The encoding type used by the API to calculate offsets.

Property Value
TypeDescription
EncodingType

Features

public AnnotateTextRequest.Types.Features Features { get; set; }

The enabled features.

Property Value
TypeDescription
AnnotateTextRequest.Types.Features