 +    public function listBooks($limit = 10, $cursor = null)
 +    {
 +        $query = new \Google_Service_Datastore_Query([
-+            'kinds' => [
++            'kind' => [
 +                [
 +                    'name' => 'Book',
 +                ],
 +            ],
-+            'order' => 'title',
++            'order' => [
++                "property" => [
++                    'name' => 'title',
++                ],
++            ],
 +            'limit' => $limit,
 +            'startCursor' => $cursor,
 +        ]);

+        $properties = [];
+        foreach ($book as $colName => $colValue) {
+            $propName = $this->columns[$colName] . 'Value';
+            $properties[$colName] = [
+                 $propName => $colValue
+            ];
+        }
+
+        return $properties;

+        // Use "NON_TRANSACTIONAL" for simplicity (as we're only making one call)
+        $request = new \Google_Service_Datastore_CommitRequest([
+            'mode' => 'NON_TRANSACTIONAL',
+            'mutations' => [
+                [
+                    'update' => $entity
+                ]
+            ]
+        ]);
+
