(::Google::Protobuf::Map{::String => ::String}) — Metadata associated with the entity.
For most entity types, the metadata is a Wikipedia URL (wikipedia_url)
and Knowledge Graph MID (mid), if they are available. For the metadata
associated with other entity types, see the Type table below.
value (::Google::Protobuf::Map{::String => ::String}) — Metadata associated with the entity.
For most entity types, the metadata is a Wikipedia URL (wikipedia_url)
and Knowledge Graph MID (mid), if they are available. For the metadata
associated with other entity types, see the Type table below.
Returns
(::Google::Protobuf::Map{::String => ::String}) — Metadata associated with the entity.
For most entity types, the metadata is a Wikipedia URL (wikipedia_url)
and Knowledge Graph MID (mid), if they are available. For the metadata
associated with other entity types, see the Type table below.
#salience
defsalience()->::Float
Returns
(::Float) — The salience score associated with the entity in the [0, 1.0] range.
The salience score for an entity provides information about the
importance or centrality of that entity to the entire document text.
Scores closer to 0 are less salient, while scores closer to 1.0 are highly
salient.
#salience=
defsalience=(value)->::Float
Parameter
value (::Float) — The salience score associated with the entity in the [0, 1.0] range.
The salience score for an entity provides information about the
importance or centrality of that entity to the entire document text.
Scores closer to 0 are less salient, while scores closer to 1.0 are highly
salient.
Returns
(::Float) — The salience score associated with the entity in the [0, 1.0] range.
The salience score for an entity provides information about the
importance or centrality of that entity to the entire document text.
Scores closer to 0 are less salient, while scores closer to 1.0 are highly
salient.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Contact Center AI Insights V1 API - Class Google::Cloud::ContactCenterInsights::V1::Entity (v1.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.6.0 (latest)](/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Cloud-ContactCenterInsights-V1-Entity)\n- [1.5.1](/ruby/docs/reference/google-cloud-contact_center_insights-v1/1.5.1/Google-Cloud-ContactCenterInsights-V1-Entity)\n- [1.4.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/1.4.0/Google-Cloud-ContactCenterInsights-V1-Entity)\n- [1.3.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/1.3.0/Google-Cloud-ContactCenterInsights-V1-Entity)\n- [1.2.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/1.2.0/Google-Cloud-ContactCenterInsights-V1-Entity)\n- [1.1.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/1.1.0/Google-Cloud-ContactCenterInsights-V1-Entity)\n- [1.0.1](/ruby/docs/reference/google-cloud-contact_center_insights-v1/1.0.1/Google-Cloud-ContactCenterInsights-V1-Entity)\n- [0.22.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.22.0/Google-Cloud-ContactCenterInsights-V1-Entity)\n- [0.21.1](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.21.1/Google-Cloud-ContactCenterInsights-V1-Entity)\n- [0.20.1](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.20.1/Google-Cloud-ContactCenterInsights-V1-Entity)\n- [0.19.1](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.19.1/Google-Cloud-ContactCenterInsights-V1-Entity)\n- [0.18.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.18.0/Google-Cloud-ContactCenterInsights-V1-Entity)\n- [0.17.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.17.0/Google-Cloud-ContactCenterInsights-V1-Entity)\n- [0.16.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.16.0/Google-Cloud-ContactCenterInsights-V1-Entity)\n- [0.15.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.15.0/Google-Cloud-ContactCenterInsights-V1-Entity)\n- [0.14.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.14.0/Google-Cloud-ContactCenterInsights-V1-Entity)\n- [0.13.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.13.0/Google-Cloud-ContactCenterInsights-V1-Entity)\n- [0.12.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.12.0/Google-Cloud-ContactCenterInsights-V1-Entity)\n- [0.11.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.11.0/Google-Cloud-ContactCenterInsights-V1-Entity)\n- [0.10.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.10.0/Google-Cloud-ContactCenterInsights-V1-Entity)\n- [0.9.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.9.0/Google-Cloud-ContactCenterInsights-V1-Entity)\n- [0.8.2](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.8.2/Google-Cloud-ContactCenterInsights-V1-Entity)\n- [0.7.2](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.7.2/Google-Cloud-ContactCenterInsights-V1-Entity)\n- [0.6.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.6.0/Google-Cloud-ContactCenterInsights-V1-Entity) \nReference documentation and code samples for the Contact Center AI Insights V1 API class Google::Cloud::ContactCenterInsights::V1::Entity.\n\nThe data for an entity annotation.\nRepresents a phrase in the conversation that is a known entity, such\nas a person, an organization, or location. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #display_name\n\n def display_name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The representative name for the entity.\n\n### #display_name=\n\n def display_name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The representative name for the entity. \n**Returns**\n\n- (::String) --- The representative name for the entity.\n\n### #metadata\n\n def metadata() -\u003e ::Google::Protobuf::Map{::String =\u003e ::String}\n\n**Returns**\n\n- (::Google::Protobuf::Map{::String =\\\u003e ::String}) --- Metadata associated with the entity.\n\n For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)\n and Knowledge Graph MID (`mid`), if they are available. For the metadata\n associated with other entity types, see the Type table below.\n\n### #metadata=\n\n def metadata=(value) -\u003e ::Google::Protobuf::Map{::String =\u003e ::String}\n\n**Parameter**\n\n- **value** (::Google::Protobuf::Map{::String =\\\u003e ::String}) --- Metadata associated with the entity.\n\n\n For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)\n and Knowledge Graph MID (`mid`), if they are available. For the metadata\nassociated with other entity types, see the Type table below. \n**Returns**\n\n- (::Google::Protobuf::Map{::String =\\\u003e ::String}) --- Metadata associated with the entity.\n\n For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)\n and Knowledge Graph MID (`mid`), if they are available. For the metadata\n associated with other entity types, see the Type table below.\n\n### #salience\n\n def salience() -\u003e ::Float\n\n**Returns**\n\n- (::Float) --- The salience score associated with the entity in the \\[0, 1.0\\] range.\n\n The salience score for an entity provides information about the\n importance or centrality of that entity to the entire document text.\n Scores closer to 0 are less salient, while scores closer to 1.0 are highly\n salient.\n\n### #salience=\n\n def salience=(value) -\u003e ::Float\n\n**Parameter**\n\n- **value** (::Float) --- The salience score associated with the entity in the \\[0, 1.0\\] range.\n\n\n The salience score for an entity provides information about the\n importance or centrality of that entity to the entire document text.\n Scores closer to 0 are less salient, while scores closer to 1.0 are highly\nsalient. \n**Returns**\n\n- (::Float) --- The salience score associated with the entity in the \\[0, 1.0\\] range.\n\n The salience score for an entity provides information about the\n importance or centrality of that entity to the entire document text.\n Scores closer to 0 are less salient, while scores closer to 1.0 are highly\n salient.\n\n### #sentiment\n\n def sentiment() -\u003e ::Google::Cloud::ContactCenterInsights::V1::SentimentData\n\n**Returns**\n\n- ([::Google::Cloud::ContactCenterInsights::V1::SentimentData](./Google-Cloud-ContactCenterInsights-V1-SentimentData)) --- The aggregate sentiment expressed for this entity in the conversation.\n\n### #sentiment=\n\n def sentiment=(value) -\u003e ::Google::Cloud::ContactCenterInsights::V1::SentimentData\n\n**Parameter**\n\n- **value** ([::Google::Cloud::ContactCenterInsights::V1::SentimentData](./Google-Cloud-ContactCenterInsights-V1-SentimentData)) --- The aggregate sentiment expressed for this entity in the conversation. \n**Returns**\n\n- ([::Google::Cloud::ContactCenterInsights::V1::SentimentData](./Google-Cloud-ContactCenterInsights-V1-SentimentData)) --- The aggregate sentiment expressed for this entity in the conversation.\n\n### #type\n\n def type() -\u003e ::Google::Cloud::ContactCenterInsights::V1::Entity::Type\n\n**Returns**\n\n- ([::Google::Cloud::ContactCenterInsights::V1::Entity::Type](./Google-Cloud-ContactCenterInsights-V1-Entity-Type)) --- The entity type.\n\n### #type=\n\n def type=(value) -\u003e ::Google::Cloud::ContactCenterInsights::V1::Entity::Type\n\n**Parameter**\n\n- **value** ([::Google::Cloud::ContactCenterInsights::V1::Entity::Type](./Google-Cloud-ContactCenterInsights-V1-Entity-Type)) --- The entity type. \n**Returns**\n\n- ([::Google::Cloud::ContactCenterInsights::V1::Entity::Type](./Google-Cloud-ContactCenterInsights-V1-Entity-Type)) --- The entity type."]]