The data for an entity mention annotation.
This represents a mention of an Entity
in the conversation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#entity_unique_id
def entity_unique_id() -> ::String
Returns
-
(::String) — The key of this entity in conversation entities.
Can be used to retrieve the exact
Entity
this mention is attached to.
#entity_unique_id=
def entity_unique_id=(value) -> ::String
Parameter
-
value (::String) — The key of this entity in conversation entities.
Can be used to retrieve the exact
Entity
this mention is attached to.
Returns
-
(::String) — The key of this entity in conversation entities.
Can be used to retrieve the exact
Entity
this mention is attached to.
#sentiment
def sentiment() -> ::Google::Cloud::ContactCenterInsights::V1::SentimentData
Returns
- (::Google::Cloud::ContactCenterInsights::V1::SentimentData) — Sentiment expressed for this mention of the entity.
#sentiment=
def sentiment=(value) -> ::Google::Cloud::ContactCenterInsights::V1::SentimentData
Parameter
- value (::Google::Cloud::ContactCenterInsights::V1::SentimentData) — Sentiment expressed for this mention of the entity.
Returns
- (::Google::Cloud::ContactCenterInsights::V1::SentimentData) — Sentiment expressed for this mention of the entity.
#type
def type() -> ::Google::Cloud::ContactCenterInsights::V1::EntityMentionData::MentionType
Returns
- (::Google::Cloud::ContactCenterInsights::V1::EntityMentionData::MentionType) — The type of the entity mention.
#type=
def type=(value) -> ::Google::Cloud::ContactCenterInsights::V1::EntityMentionData::MentionType
Parameter
- value (::Google::Cloud::ContactCenterInsights::V1::EntityMentionData::MentionType) — The type of the entity mention.
Returns
- (::Google::Cloud::ContactCenterInsights::V1::EntityMentionData::MentionType) — The type of the entity mention.