generated/google/apis/language_v1beta1/classes.rb in google-api-client-0.9.19 vs generated/google/apis/language_v1beta1/classes.rb in google-api-client-0.9.20
- old
+ new
@@ -503,11 +503,12 @@
# Represents the feeling associated with the entire text or entities in
# the text.
class Sentiment
include Google::Apis::Core::Hashable
- # Polarity of the sentiment in the [-1.0, 1.0] range. Larger numbers
- # represent more positive sentiments.
+ # DEPRECATED FIELD - This field is being deprecated in
+ # favor of score. Please refer to our documentation at
+ # https://cloud.google.com/natural-language/docs for more information.
# Corresponds to the JSON property `polarity`
# @return [Float]
attr_accessor :polarity
# A non-negative number in the [0, +inf) range, which represents