Natural Language V1 API - Class Google::Cloud::Language::V1::AnalyzeSentimentRequest (v1.1.0)

Reference documentation and code samples for the Natural Language V1 API class Google::Cloud::Language::V1::AnalyzeSentimentRequest.

The sentiment analysis request message.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#document

def document() -> ::Google::Cloud::Language::V1::Document
Returns

#document=

def document=(value) -> ::Google::Cloud::Language::V1::Document
Parameter
Returns

#encoding_type

def encoding_type() -> ::Google::Cloud::Language::V1::EncodingType
Returns

#encoding_type=

def encoding_type=(value) -> ::Google::Cloud::Language::V1::EncodingType
Parameter
Returns