Class: Google::Cloud::Language::V1beta2::AnalyzeSentimentRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/language/v1beta2/doc/google/cloud/language/v1beta2/language_service.rb

Overview

The sentiment analysis request message.

Instance Attribute Summary collapse

Instance Attribute Details

#documentGoogle::Cloud::Language::V1beta2::Document

Returns Input document.

Returns:



820
# File 'lib/google/cloud/language/v1beta2/doc/google/cloud/language/v1beta2/language_service.rb', line 820

class AnalyzeSentimentRequest; end

#encoding_typeGoogle::Cloud::Language::V1beta2::EncodingType

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

Returns:



820
# File 'lib/google/cloud/language/v1beta2/doc/google/cloud/language/v1beta2/language_service.rb', line 820

class AnalyzeSentimentRequest; end