class Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1EntityMentionData

The data for an entity mention annotation. This represents a mention of an ` Entity` in the conversation.

Attributes

entity_unique_id[RW]

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` @return [String]

sentiment[RW]

The data for a sentiment annotation. Corresponds to the JSON property `sentiment` @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SentimentData]

type[RW]

The type of the entity mention. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/contactcenterinsights_v1/classes.rb, line 1163
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/contactcenterinsights_v1/classes.rb, line 1168
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