AnalyzeSentimentRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)The sentiment analysis request message.
Attributes |
|
|---|---|
| Name | Description |
document |
google.cloud.language_v2.types.Document
Required. Input document. |
encoding_type |
google.cloud.language_v2.types.EncodingType
The encoding type used by the API to calculate sentence offsets. |