Finds the Cloud KG entities with CKG ID(s).
HTTP request
GET https://enterpriseknowledgegraph.googleapis.com/v1/{parent}/cloudKnowledgeGraphEntities:Lookup
Path parameters
Parameters | |
---|---|
parent |
Required. The name of the Entity's parent resource. Format: |
Query parameters
Parameters | |
---|---|
ids[] |
Required. The list of entity ids to be used for lookup. |
languages[] |
The list of language codes (defined in ISO 693) to run the query with, e.g. 'en'. |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
. . . Response message for EnterpriseKnowledgeGraphService.Lookup
.
JSON representation |
---|
{ "@context": value, "@type": value, "itemListElement": array } |
Fields | |
---|---|
@context |
The local context applicable for the response. See more details at https://www.w3.org/TR/json-ld/#context-definitions. |
@type |
The schema type of top-level JSON-LD object, e.g. ItemList. |
itemListElement |
The item list of search results. |
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
enterpriseknowledgegraph.cloudKnowledgeGraphEntities.lookup
For more information, see the IAM documentation.