Entities not found as ResultType.KEY_ONLY entities. The order of results in this field is undefined and has no relation to the order of the keys in the input.
A list of keys that were not looked up due to resource constraints. The order of results in this field is undefined and has no relation to the order of the keys in the input.
The time at which these entities were read or found missing.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted.Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
[[["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-04-30 UTC."],[[["\u003cp\u003eThis API endpoint performs a lookup of entities by key using a POST request to \u003ccode\u003ehttps://datastore.googleapis.com/v1/projects/{projectId}:lookup\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003eprojectId\u003c/code\u003e as a path parameter to identify the project for the request.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must include the \u003ccode\u003edatabaseId\u003c/code\u003e, \u003ccode\u003ereadOptions\u003c/code\u003e, \u003ccode\u003ekeys\u003c/code\u003e, and \u003ccode\u003epropertyMask\u003c/code\u003e, which allows specifying the database, lookup options, the keys of entities to retrieve, and the properties to return.\u003c/p\u003e\n"],["\u003cp\u003eThe response body provides information on found entities in \u003ccode\u003efound\u003c/code\u003e, entities not found in \u003ccode\u003emissing\u003c/code\u003e, and keys not looked up in \u003ccode\u003edeferred\u003c/code\u003e, along with the transaction ID and read time if applicable.\u003c/p\u003e\n"],["\u003cp\u003eThe request is authenticated via OAuth scopes, using either \u003ccode\u003ehttps://www.googleapis.com/auth/datastore\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: projects.lookup\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.LookupResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nLooks up entities by key.\n\n### HTTP request\n\n`POST https://datastore.googleapis.com/v1/projects/{projectId}:lookup`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nThe response for [Datastore.Lookup](/datastore/docs/reference/data/rest/v1/projects/lookup#google.datastore.v1.Datastore.Lookup).\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/datastore`\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]