[[["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 Client - Class EntityMapper (1.33.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.33.1 (latest)](/php/docs/reference/cloud-datastore/latest/EntityMapper)\n- [1.33.0](/php/docs/reference/cloud-datastore/1.33.0/EntityMapper)\n- [1.32.3](/php/docs/reference/cloud-datastore/1.32.3/EntityMapper)\n- [1.31.0](/php/docs/reference/cloud-datastore/1.31.0/EntityMapper)\n- [1.30.0](/php/docs/reference/cloud-datastore/1.30.0/EntityMapper)\n- [1.29.2](/php/docs/reference/cloud-datastore/1.29.2/EntityMapper)\n- [1.28.2](/php/docs/reference/cloud-datastore/1.28.2/EntityMapper)\n- [1.26.0](/php/docs/reference/cloud-datastore/1.26.0/EntityMapper)\n- [1.25.0](/php/docs/reference/cloud-datastore/1.25.0/EntityMapper)\n- [1.24.4](/php/docs/reference/cloud-datastore/1.24.4/EntityMapper)\n- [1.23.0](/php/docs/reference/cloud-datastore/1.23.0/EntityMapper)\n- [1.22.1](/php/docs/reference/cloud-datastore/1.22.1/EntityMapper)\n- [1.21.2](/php/docs/reference/cloud-datastore/1.21.2/EntityMapper)\n- [1.19.0](/php/docs/reference/cloud-datastore/1.19.0/EntityMapper)\n- [1.18.1](/php/docs/reference/cloud-datastore/1.18.1/EntityMapper)\n- [1.17.1](/php/docs/reference/cloud-datastore/1.17.1/EntityMapper) \nReference documentation and code samples for the Cloud Datastore Client class EntityMapper.\n\nUtility methods for mapping between datastore and [Entity](/php/docs/reference/cloud-datastore/latest/Entity).\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Datastore\n\nMethods\n-------\n\n### __construct\n\nCreate an Entity Mapper\n\n### responseToEntityProperties\n\nConvert an entity response to properties, excludes and meanings.\n\n### objectToRequest\n\nTranslate an Entity to a datastore representation.\n\n### convertValue\n\nConvert a Datastore value object to a simple value\n\n### valueObject\n\nFormat values for the API\n\n### objectProperty\n\nConvert different object types to API values\n\nConstants\n---------\n\n### DATE_FORMAT\n\n Value: 'Y-m-d\\TH:i:s.uP'\n\n### DATE_FORMAT_NO_MS\n\n Value: 'Y-m-d\\TH:i:sP'"]]