Updates to the request
New Google Knowledge Graph Search API introduces two editions,
Basic
andAdvanced
. For more information, see Basic and Advanced editions.To support security and compliance requirements, move to a new prediction endpoint. If planning to use the
Basic
edition, use a new access token or a service account for this API and replace your endpoint URL as shown here:
Legacy
https://kgsearch.googleapis.com/v1/entities
Updated
https://enterpriseknowledgegraph.googleapis.com/v1/projects/PROJECT_ID/locations/global/publicKnowledgeGraphEntities
Updates to the response
Cloud Knowledge Graph MID becomes the primary MID (
identifier
) for the entity. You can still find the Google Knowledge Graph MID in theidentifier
section for backward compatibility. For more information, see Understand Machine ID (MID)."identifier": [ { "@type": "PropertyValue", "propertyID": "googleKgMID", "value": "/m/06pwq" } ]
The
additionalProperty
has been added to describe the license requirement for thename
field."additionalProperty": { "@type": "PropertyValue", "name": "nameLicense", "value": "https://cloud.google.com/maps-platform/terms" }
The
resultScore
field has been removed from the response.