Class: Google::Cloud::Language::V1::AnalyzeSentimentRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/language/v1/language_service.rb

Overview

The sentiment analysis request message.

Instance Attribute Summary collapse

Instance Attribute Details

#document::Google::Cloud::Language::V1::Document

Returns Required. Input document.

Returns:



953
954
955
956
# File 'proto_docs/google/cloud/language/v1/language_service.rb', line 953

class AnalyzeSentimentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#encoding_type::Google::Cloud::Language::V1::EncodingType

Returns The encoding type used by the API to calculate sentence offsets.

Returns:



953
954
955
956
# File 'proto_docs/google/cloud/language/v1/language_service.rb', line 953

class AnalyzeSentimentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end