Class: Google::Cloud::ContactCenterInsights::V1::SentimentData

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/contactcenterinsights/v1/resources.rb

Overview

The data for a sentiment annotation.

Instance Attribute Summary collapse

Instance Attribute Details

#magnitude::Float

Returns A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score.

Returns:

  • (::Float)

    A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score.



731
732
733
734
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 731

class SentimentData
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#score::Float

Returns The sentiment score between -1.0 (negative) and 1.0 (positive).

Returns:

  • (::Float)

    The sentiment score between -1.0 (negative) and 1.0 (positive).



731
732
733
734
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 731

class SentimentData
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end