Cloud Natural Language v2 API - Class AnnotateTextRequest (1.0.0-beta04)

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.

Inheritance

object > AnnotateTextRequest

Namespace

Google.Cloud.Language.V2

Assembly

Google.Cloud.Language.V2.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