key = $key; } /** * @return Key */ public function getKey() { return $this->key; } /** * @param Value[] */ 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');