Class AnnotateTextRequest
The request message for the text annotation API, which can perform multiple analysis types (sentiment, entities, and syntax) in one call.
Implements
Inherited Members
Namespace: Google.Apis.CloudNaturalLanguage.v1.Data
Assembly: Google.Apis.CloudNaturalLanguage.v1.dll
Syntax
public class AnnotateTextRequest : IDirectResponseSchema
Properties
Document
Required. Input document.
Declaration
[JsonProperty("document")]
public virtual Document Document { get; set; }
Property Value
Type | Description |
---|---|
Document |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EncodingType
The encoding type used by the API to calculate offsets.
Declaration
[JsonProperty("encodingType")]
public virtual string EncodingType { get; set; }
Property Value
Type | Description |
---|---|
string |
Features
Required. The enabled features.
Declaration
[JsonProperty("features")]
public virtual AnnotateTextRequestFeatures Features { get; set; }
Property Value
Type | Description |
---|---|
AnnotateTextRequestFeatures |