Class AnalyzeSentimentRequest (2.6.0)

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