Class: Google::Cloud::Language::V1::AnalyzeSentimentRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Language::V1::AnalyzeSentimentRequest
- Defined in:
- lib/google/cloud/language/v1/doc/google/cloud/language/v1/language_service.rb
Overview
The sentiment analysis request message.
Instance Attribute Summary collapse
-
#document ⇒ Google::Cloud::Language::V1::Document
Input document.
-
#encoding_type ⇒ Google::Cloud::Language::V1::EncodingType
The encoding type used by the API to calculate sentence offsets.
Instance Attribute Details
#document ⇒ Google::Cloud::Language::V1::Document
Returns Input document.
823 |
# File 'lib/google/cloud/language/v1/doc/google/cloud/language/v1/language_service.rb', line 823 class AnalyzeSentimentRequest; end |
#encoding_type ⇒ Google::Cloud::Language::V1::EncodingType
Returns The encoding type used by the API to calculate sentence offsets.
823 |
# File 'lib/google/cloud/language/v1/doc/google/cloud/language/v1/language_service.rb', line 823 class AnalyzeSentimentRequest; end |