Class AnalyzeSentimentRequest (2.0.0)

AnalyzeSentimentRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The sentiment analysis request message.

Attributes

NameDescription
document .language_service.Document
Required. Input document.
encoding_type .language_service.EncodingType
The encoding type used by the API to calculate sentence offsets for the sentence sentiment.