Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainEntityMentionData
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainEntityMentionData
- 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
The data for an entity mention annotation. This represents a mention of an
Entity in the conversation.
Instance Attribute Summary collapse
-
#entity_unique_id ⇒ String
The key of this entity in conversation entities.
-
#sentiment ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainSentimentData
The data for a sentiment annotation.
-
#type ⇒ String
The type of the entity mention.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1mainEntityMentionData
constructor
A new instance of GoogleCloudContactcenterinsightsV1mainEntityMentionData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1mainEntityMentionData
Returns a new instance of GoogleCloudContactcenterinsightsV1mainEntityMentionData.
18452 18453 18454 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 18452 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entity_unique_id ⇒ String
The key of this entity in conversation entities. Can be used to retrieve the
exact Entity this mention is attached to.
Corresponds to the JSON property entityUniqueId
18440 18441 18442 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 18440 def entity_unique_id @entity_unique_id end |
#sentiment ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainSentimentData
The data for a sentiment annotation.
Corresponds to the JSON property sentiment
18445 18446 18447 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 18445 def sentiment @sentiment end |
#type ⇒ String
The type of the entity mention.
Corresponds to the JSON property type
18450 18451 18452 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 18450 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18457 18458 18459 18460 18461 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 18457 def update!(**args) @entity_unique_id = args[:entity_unique_id] if args.key?(:entity_unique_id) @sentiment = args[:sentiment] if args.key?(:sentiment) @type = args[:type] if args.key?(:type) end |