Class AnalyzeSentimentRequest (2.5.1)

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

The sentiment analysis request message.

Attributes

NameDescription
document google.cloud.language_v1.types.Document
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