Google Cloud Natural Language v1 API - Class AnnotateTextRequest (3.5.0)

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.

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; }

Required. 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; }

Required. The enabled features.

Property Value
TypeDescription
AnnotateTextRequestTypesFeatures