Class AnalyzeSentimentResponse

The sentiment analysis response message.

Attributes
NameDescription
google.cloud.language_v1beta2.types.Sentimentdocument_sentiment
The overall sentiment of the input document.
strlanguage
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.
Sequence[google.cloud.language_v1beta2.types.Sentence]sentences
The sentiment for all the sentences in the document.

Inheritance

builtins.object > proto.message.Message > AnalyzeSentimentResponse