Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainConversationLevelSentiment

Inherits:
Object
  • Object
show all
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

Overview

One channel of conversation-level sentiment data.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1mainConversationLevelSentiment

Returns a new instance of GoogleCloudContactcenterinsightsV1mainConversationLevelSentiment.



13793
13794
13795
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 13793

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#channel_tagFixnum

The channel of the audio that the data applies to. Corresponds to the JSON property channelTag

Returns:

  • (Fixnum)


13786
13787
13788
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 13786

def channel_tag
  @channel_tag
end

#sentiment_dataGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainSentimentData

The data for a sentiment annotation. Corresponds to the JSON property sentimentData



13791
13792
13793
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 13791

def sentiment_data
  @sentiment_data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13798
13799
13800
13801
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 13798

def update!(**args)
  @channel_tag = args[:channel_tag] if args.key?(:channel_tag)
  @sentiment_data = args[:sentiment_data] if args.key?(:sentiment_data)
end