Class AnalyzeSentimentRequest (2.6.0)

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

The sentiment analysis request message.

Attributes

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

Inheritance

builtins.object > proto.message.Message > AnalyzeSentimentRequest