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
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.
The aggregate sentiment expressed for this entity in the conversation.
getDisplayName
The representative name for the entity.
Returns
Type
Description
string
setDisplayName
The representative name for the entity.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getType
The entity type.
Returns
Type
Description
int
setType
The entity type.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getMetadata
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.
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.
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
Type
Description
float
setSalience
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.
Parameter
Name
Description
var
float
Returns
Type
Description
$this
getSentiment
The aggregate sentiment expressed for this entity in the conversation.
[[["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-09-04 UTC."],[],[],null,["# Google Cloud Contact Center Insights V1 Client - Class Entity (2.3.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.3 (latest)](/php/docs/reference/cloud-contact-center-insights/latest/V1.Entity)\n- [2.3.2](/php/docs/reference/cloud-contact-center-insights/2.3.2/V1.Entity)\n- [2.2.1](/php/docs/reference/cloud-contact-center-insights/2.2.1/V1.Entity)\n- [2.1.1](/php/docs/reference/cloud-contact-center-insights/2.1.1/V1.Entity)\n- [2.0.1](/php/docs/reference/cloud-contact-center-insights/2.0.1/V1.Entity)\n- [1.9.5](/php/docs/reference/cloud-contact-center-insights/1.9.5/V1.Entity)\n- [1.8.0](/php/docs/reference/cloud-contact-center-insights/1.8.0/V1.Entity)\n- [1.7.1](/php/docs/reference/cloud-contact-center-insights/1.7.1/V1.Entity)\n- [1.6.2](/php/docs/reference/cloud-contact-center-insights/1.6.2/V1.Entity)\n- [1.5.0](/php/docs/reference/cloud-contact-center-insights/1.5.0/V1.Entity)\n- [1.4.1](/php/docs/reference/cloud-contact-center-insights/1.4.1/V1.Entity)\n- [1.3.0](/php/docs/reference/cloud-contact-center-insights/1.3.0/V1.Entity)\n- [1.2.1](/php/docs/reference/cloud-contact-center-insights/1.2.1/V1.Entity)\n- [1.1.0](/php/docs/reference/cloud-contact-center-insights/1.1.0/V1.Entity)\n- [1.0.3](/php/docs/reference/cloud-contact-center-insights/1.0.3/V1.Entity) \nReference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class Entity.\n\nThe data for an entity annotation.\n\nRepresents a phrase in the conversation that is a known entity, such\nas a person, an organization, or location.\n\nGenerated from protobuf message `google.cloud.contactcenterinsights.v1.Entity`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ContactCenterInsights \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getDisplayName\n\nThe representative name for the entity.\n\n### setDisplayName\n\nThe representative name for the entity.\n\n### getType\n\nThe entity type.\n\n### setType\n\nThe entity type.\n\n### getMetadata\n\nMetadata associated with the entity.\n\nFor most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)\nand Knowledge Graph MID (`mid`), if they are available. For the metadata\nassociated with other entity types, see the Type table below.\n\n### setMetadata\n\nMetadata associated with the entity.\n\nFor most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)\nand Knowledge Graph MID (`mid`), if they are available. For the metadata\nassociated with other entity types, see the Type table below.\n\n### getSalience\n\nThe salience score associated with the entity in the \\[0, 1.0\\] range.\n\nThe salience score for an entity provides information about the\nimportance or centrality of that entity to the entire document text.\nScores closer to 0 are less salient, while scores closer to 1.0 are highly\nsalient.\n\n### setSalience\n\nThe salience score associated with the entity in the \\[0, 1.0\\] range.\n\nThe salience score for an entity provides information about the\nimportance or centrality of that entity to the entire document text.\nScores closer to 0 are less salient, while scores closer to 1.0 are highly\nsalient.\n\n### getSentiment\n\nThe aggregate sentiment expressed for this entity in the conversation.\n\n### hasSentiment\n\n### clearSentiment\n\n### setSentiment\n\nThe aggregate sentiment expressed for this entity in the conversation."]]