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

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#documentGoogle::Cloud::Language::V1::Document

Returns Input document.

Returns:



812
# File 'lib/google/cloud/language/v1/doc/google/cloud/language/v1/language_service.rb', line 812

class AnalyzeSentimentRequest; end

#encoding_typeGoogle::Cloud::Language::V1::EncodingType

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

Returns:



812
# File 'lib/google/cloud/language/v1/doc/google/cloud/language/v1/language_service.rb', line 812

class AnalyzeSentimentRequest; end