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
Namespace
Google \ Cloud \ ContactCenterInsights \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 |
↳ type |
int
The type of the entity mention. |
↳ sentiment |
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.
Returns | |
---|---|
Type | Description |
string |
setEntityUniqueId
The key of this entity in conversation entities.
Can be used to retrieve the exact Entity
this mention is attached to.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getType
The type of the entity mention.
Returns | |
---|---|
Type | Description |
int |
setType
The type of the entity mention.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getSentiment
Sentiment expressed for this mention of the entity.
Returns | |
---|---|
Type | Description |
SentimentData|null |
hasSentiment
clearSentiment
setSentiment
Sentiment expressed for this mention of the entity.
Parameter | |
---|---|
Name | Description |
var |
SentimentData
|
Returns | |
---|---|
Type | Description |
$this |