class Google::Apis::LanguageV1beta2::AnalyzeEntitySentimentRequest
The entity-level sentiment analysis request message.
Attributes
document[RW]
################################################################ # Represents the input to API methods. Corresponds to the JSON property `document` @return [Google::Apis::LanguageV1beta2::Document]
encoding_type[RW]
The encoding type used by the API to calculate offsets. Corresponds to the JSON property `encodingType` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/language_v1beta2/classes.rb, line 93 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/language_v1beta2/classes.rb, line 98 def update!(**args) @document = args[:document] if args.key?(:document) @encoding_type = args[:encoding_type] if args.key?(:encoding_type) end