Class AnalyzeSentimentResponse
The sentiment analysis response message.
Implements
Inherited Members
Namespace: Google.Apis.CloudNaturalLanguage.v1.Data
Assembly: Google.Apis.CloudNaturalLanguage.v1.dll
Syntax
public class AnalyzeSentimentResponse : IDirectResponseSchema
Properties
DocumentSentiment
The overall sentiment of the input document.
Declaration
[JsonProperty("documentSentiment")]
public virtual Sentiment DocumentSentiment { get; set; }
Property Value
Type | Description |
---|---|
Sentiment |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Language
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 field for more details.
Declaration
[JsonProperty("language")]
public virtual string Language { get; set; }
Property Value
Type | Description |
---|---|
string |
Sentences
The sentiment for all the sentences in the document.
Declaration
[JsonProperty("sentences")]
public virtual IList<Sentence> Sentences { get; set; }
Property Value
Type | Description |
---|---|
IList<Sentence> |