Class: Google::Cloud::Language::V1beta2::AnalyzeSentimentRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Language::V1beta2::AnalyzeSentimentRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/language/v1beta2/language_service.rb
Overview
The sentiment analysis request message.
Instance Attribute Summary collapse
-
#document ⇒ ::Google::Cloud::Language::V1beta2::Document
Required.
-
#encoding_type ⇒ ::Google::Cloud::Language::V1beta2::EncodingType
The encoding type used by the API to calculate sentence offsets for the sentence sentiment.
Instance Attribute Details
#document ⇒ ::Google::Cloud::Language::V1beta2::Document
Returns Required. Input document.
973 974 975 976 |
# File 'proto_docs/google/cloud/language/v1beta2/language_service.rb', line 973 class AnalyzeSentimentRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#encoding_type ⇒ ::Google::Cloud::Language::V1beta2::EncodingType
Returns The encoding type used by the API to calculate sentence offsets for the sentence sentiment.
973 974 975 976 |
# File 'proto_docs/google/cloud/language/v1beta2/language_service.rb', line 973 class AnalyzeSentimentRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |