Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class EntityMentionData.
The data for an entity mention annotation.
This represents a mention of an Entity
in the conversation.
Generated from protobuf message google.cloud.contactcenterinsights.v1.EntityMentionData
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ 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.
↳ type
int
The type of the entity mention.
↳ sentiment
Google\Cloud\ContactCenterInsights\V1\SentimentData
Sentiment expressed for this mention of the entity.
getEntityUniqueId
The key of this entity in conversation entities.
Can be used to retrieve the exact Entity
this mention is attached to.
string
setEntityUniqueId
The key of this entity in conversation entities.
Can be used to retrieve the exact Entity
this mention is attached to.
var
string
$this
getType
The type of the entity mention.
int
setType
The type of the entity mention.
var
int
$this
getSentiment
Sentiment expressed for this mention of the entity.
hasSentiment
clearSentiment
setSentiment
Sentiment expressed for this mention of the entity.
$this