Class AnalyzeSentimentRequest (2.6.1)

Stay organized with collections Save and categorize content based on your preferences.
AnalyzeSentimentRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The sentiment analysis request message.

Attributes

NameDescription
document google.cloud.language_v1.types.Document
Required. Input document.
encoding_type google.cloud.language_v1.types.EncodingType
The encoding type used by the API to calculate sentence offsets.

Inheritance

builtins.object > proto.message.Message > AnalyzeSentimentRequest