Class AnalyzeSentimentResponse (3.0.0)

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

The sentiment analysis response message.

Inheritance

Object > AnalyzeSentimentResponse

Namespace

Google.Cloud.Language.V1

Assembly

Google.Cloud.Language.V1.dll

Constructors

AnalyzeSentimentResponse()

public AnalyzeSentimentResponse()

AnalyzeSentimentResponse(AnalyzeSentimentResponse)

public AnalyzeSentimentResponse(AnalyzeSentimentResponse other)
Parameter
NameDescription
otherAnalyzeSentimentResponse

Properties

DocumentSentiment

public Sentiment DocumentSentiment { get; set; }

The overall sentiment of the input document.

Property Value
TypeDescription
Sentiment

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

The sentiment for all the sentences in the document.

Property Value
TypeDescription
RepeatedField<Sentence>