Show / Hide Table of Contents

Class AnalyzeSentimentResponse

The sentiment analysis response message.

Inheritance
System.Object
AnalyzeSentimentResponse
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudNaturalLanguage.v1beta1.Data
Assembly: Google.Apis.CloudNaturalLanguage.v1beta1.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
System.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
System.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
System.Collections.Generic.IList<Sentence>

Implements

Google.Apis.Requests.IDirectResponseSchema
In This Article
Back to top