Searches the Cloud KG entities with entity name.
HTTP request
GET https://enterpriseknowledgegraph.googleapis.com/v1/{parent}/cloudKnowledgeGraphEntities:Search
Path parameters
Parameters | |
---|---|
parent |
Required. The name of the Entity's parent resource. Format: |
Query parameters
Parameters | |
---|---|
query |
Required. The literal query string for search. |
languages[] |
The list of language codes (defined in ISO 693) to run the query with, e.g. 'en'. |
types[] |
Restricts returned entities with these types, e.g. Person (as defined in |
limit |
Limits the number of entities to be returned. |
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.Search
.
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.search
For more information, see the IAM documentation.