Method: projects.locations.cloudKnowledgeGraphEntities.lookup

Finds the Cloud KG entities with CKG ID(s).

HTTP request

GET https://enterpriseknowledgegraph.googleapis.com/v1/{parent}/cloudKnowledgeGraphEntities:Lookup

Path parameters

Parameters
parent

string

Required. The name of the Entity's parent resource. Format: projects/{project}/locations/{location} It takes the form projects/{project}/locations/{location}.

Query parameters

Parameters
ids[]

string

Required. The list of entity ids to be used for lookup.

languages[]

string

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

value (Value format)

The local context applicable for the response. See more details at https://www.w3.org/TR/json-ld/#context-definitions.

@type

value (Value format)

The schema type of top-level JSON-LD object, e.g. ItemList.

itemListElement

array (ListValue format)

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.