The properties to return. Defaults to returning all properties. If this field is set and an entity has a property not referenced in the mask, it will be absent fromLookupResponse.found.entity.properties. The entity's key is always returned.
getProjectId
Required. The ID of the project against which to make the request.
Returns
Type
Description
string
setProjectId
Required. The ID of the project against which to make the request.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDatabaseId
The ID of the database against which to make the request.
'(default)' is not allowed; please use empty string '' to refer the default
database.
Returns
Type
Description
string
setDatabaseId
The ID of the database against which to make the request.
'(default)' is not allowed; please use empty string '' to refer the default
database.
The properties to return. Defaults to returning all properties.
If this field is set and an entity has a property not referenced in the
mask, it will be absent fromLookupResponse.found.entity.properties.
The entity's key is always returned.
The properties to return. Defaults to returning all properties.
If this field is set and an entity has a property not referenced in the
mask, it will be absent fromLookupResponse.found.entity.properties.
The entity's key is always returned.
[[["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-09-04 UTC."],[],[],null,["# Cloud Datastore V1 Client - Class LookupRequest (1.33.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.33.1 (latest)](/php/docs/reference/cloud-datastore/latest/V1.LookupRequest)\n- [1.33.0](/php/docs/reference/cloud-datastore/1.33.0/V1.LookupRequest)\n- [1.32.3](/php/docs/reference/cloud-datastore/1.32.3/V1.LookupRequest)\n- [1.31.0](/php/docs/reference/cloud-datastore/1.31.0/V1.LookupRequest)\n- [1.30.0](/php/docs/reference/cloud-datastore/1.30.0/V1.LookupRequest)\n- [1.29.2](/php/docs/reference/cloud-datastore/1.29.2/V1.LookupRequest)\n- [1.28.2](/php/docs/reference/cloud-datastore/1.28.2/V1.LookupRequest)\n- [1.26.0](/php/docs/reference/cloud-datastore/1.26.0/V1.LookupRequest)\n- [1.25.0](/php/docs/reference/cloud-datastore/1.25.0/V1.LookupRequest)\n- [1.24.4](/php/docs/reference/cloud-datastore/1.24.4/V1.LookupRequest)\n- [1.23.0](/php/docs/reference/cloud-datastore/1.23.0/V1.LookupRequest)\n- [1.22.1](/php/docs/reference/cloud-datastore/1.22.1/V1.LookupRequest)\n- [1.21.2](/php/docs/reference/cloud-datastore/1.21.2/V1.LookupRequest)\n- [1.19.0](/php/docs/reference/cloud-datastore/1.19.0/V1.LookupRequest)\n- [1.18.1](/php/docs/reference/cloud-datastore/1.18.1/V1.LookupRequest)\n- [1.17.1](/php/docs/reference/cloud-datastore/1.17.1/V1.LookupRequest) \nReference documentation and code samples for the Cloud Datastore V1 Client class LookupRequest.\n\nThe request for Datastore.Lookup.\n\nGenerated from protobuf message `google.datastore.v1.LookupRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Datastore \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getProjectId\n\nRequired. The ID of the project against which to make the request.\n\n### setProjectId\n\nRequired. The ID of the project against which to make the request.\n\n### getDatabaseId\n\nThe ID of the database against which to make the request.\n\n'(default)' is not allowed; please use empty string '' to refer the default\ndatabase.\n\n### setDatabaseId\n\nThe ID of the database against which to make the request.\n\n'(default)' is not allowed; please use empty string '' to refer the default\ndatabase.\n\n### getReadOptions\n\nThe options for this lookup request.\n\n### hasReadOptions\n\n### clearReadOptions\n\n### setReadOptions\n\nThe options for this lookup request.\n\n### getKeys\n\nRequired. Keys of entities to look up.\n\n### setKeys\n\nRequired. Keys of entities to look up.\n\n### getPropertyMask\n\nThe properties to return. Defaults to returning all properties.\n\nIf this field is set and an entity has a property not referenced in the\nmask, it will be absent from LookupResponse.found.entity.properties.\nThe entity's key is always returned.\n\n### hasPropertyMask\n\n### clearPropertyMask\n\n### setPropertyMask\n\nThe properties to return. Defaults to returning all properties.\n\nIf this field is set and an entity has a property not referenced in the\nmask, it will be absent from LookupResponse.found.entity.properties.\nThe entity's key is always returned.\n\n### static::build"]]