Class: Google::Cloud::ContactCenterInsights::V1::SentimentData
- Inherits:
-
Object
- Object
- Google::Cloud::ContactCenterInsights::V1::SentimentData
- 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
-
#magnitude ⇒ ::Float
A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score.
-
#score ⇒ ::Float
The sentiment score between -1.0 (negative) and 1.0 (positive).
Instance Attribute Details
#magnitude ⇒ ::Float
Returns 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).
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 |