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.
      711 712 713 714  | 
    
      # File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 711 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).
      711 712 713 714  | 
    
      # File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 711 class SentimentData include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end  |