Class AnnotateTextResponse (2.3.0)

public sealed class AnnotateTextResponse : IMessage<AnnotateTextResponse>, IEquatable<AnnotateTextResponse>, IDeepCloneable<AnnotateTextResponse>, IBufferMessage, IMessage

The text annotations response message.

Inheritance

Object > AnnotateTextResponse

Namespace

Google.Cloud.Language.V1

Assembly

Google.Cloud.Language.V1.dll

Constructors

AnnotateTextResponse()

public AnnotateTextResponse()

AnnotateTextResponse(AnnotateTextResponse)

public AnnotateTextResponse(AnnotateTextResponse other)
Parameter
NameDescription
otherAnnotateTextResponse

Properties

Categories

public RepeatedField<ClassificationCategory> Categories { get; }

Categories identified in the input document.

Property Value
TypeDescription
RepeatedField<ClassificationCategory>

DocumentSentiment

public Sentiment DocumentSentiment { get; set; }

The overall sentiment for the document. Populated if the user enables [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment].

Property Value
TypeDescription
Sentiment

Entities

public RepeatedField<Entity> Entities { get; }

Entities, along with their semantic information, in the input document. Populated if the user enables [AnnotateTextRequest.Features.extract_entities][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entities].

Property Value
TypeDescription
RepeatedField<Entity>

Language

public string Language { get; set; }

The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See [Document.language][google.cloud.language.v1.Document.language] field for more details.

Property Value
TypeDescription
String

Sentences

public RepeatedField<Sentence> Sentences { get; }

Sentences in the input document. Populated if the user enables [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1.AnnotateTextRequest.Features.extract_syntax].

Property Value
TypeDescription
RepeatedField<Sentence>

Tokens

public RepeatedField<Token> Tokens { get; }

Tokens, along with their syntactic information, in the input document. Populated if the user enables [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1.AnnotateTextRequest.Features.extract_syntax].

Property Value
TypeDescription
RepeatedField<Token>