Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSentiment
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSentiment
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/contactcenterinsights_v1/classes.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb more...
Overview
One channel of conversation-level sentiment data.
Instance Attribute Summary collapse
-
#channel_tag ⇒ Fixnum
The channel of the audio that the data applies to.
-
#sentiment_data ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SentimentData
The data for a sentiment annotation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSentiment
constructor
A new instance of GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSentiment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSentiment
Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSentiment.
6646 6647 6648 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6646 def initialize(**args) update!(**args) end |
Instance Attribute Details
#channel_tag ⇒ Fixnum
The channel of the audio that the data applies to.
Corresponds to the JSON property channelTag
6639 6640 6641 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6639 def channel_tag @channel_tag end |
#sentiment_data ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SentimentData
The data for a sentiment annotation.
Corresponds to the JSON property sentimentData
6644 6645 6646 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6644 def sentiment_data @sentiment_data end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6651 6652 6653 6654 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6651 def update!(**args) @channel_tag = args[:channel_tag] if args.key?(:channel_tag) @sentiment_data = args[:sentiment_data] if args.key?(:sentiment_data) end |