key = $key; } /** * @return Key */ public function getKey() { return $this->key; } /** * The entity's properties. The map's keys are property names. A property name * matching regex `__.*__` is reserved. A reserved property name is forbidden * in certain documented contexts. The map keys, represented as UTF-8, must * not exceed 1,500 bytes and cannot be empty. * * @param Value[] $properties */ public function setProperties($properties) { $this->properties = $properties; } /** * @return Value[] */ public function getProperties() { return $this->properties; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Entity::class, 'Google_Service_Datastore_Entity');