Reference documentation and code samples for the Natural Language V1beta2 API class Google::Cloud::Language::V1beta2::AnalyzeEntitySentimentRequest.
The entity-level sentiment analysis request message.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#document
def document() -> ::Google::Cloud::Language::V1beta2::Document
Returns
- (::Google::Cloud::Language::V1beta2::Document) — Required. Input document.
#document=
def document=(value) -> ::Google::Cloud::Language::V1beta2::Document
Parameter
- value (::Google::Cloud::Language::V1beta2::Document) — Required. Input document.
Returns
- (::Google::Cloud::Language::V1beta2::Document) — Required. Input document.
#encoding_type
def encoding_type() -> ::Google::Cloud::Language::V1beta2::EncodingType
Returns
- (::Google::Cloud::Language::V1beta2::EncodingType) — The encoding type used by the API to calculate offsets.
#encoding_type=
def encoding_type=(value) -> ::Google::Cloud::Language::V1beta2::EncodingType
Parameter
- value (::Google::Cloud::Language::V1beta2::EncodingType) — The encoding type used by the API to calculate offsets.
Returns
- (::Google::Cloud::Language::V1beta2::EncodingType) — The encoding type used by the API to calculate offsets.