Class AnalyzeEntitySentimentRequest (2.0.0)

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

The entity-level 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 offsets.