diff --git a/datastore/concepts.js b/datastore/concepts.js index 47304e88c7..790f01fd66 100644 --- a/datastore/concepts.js +++ b/datastore/concepts.js @@ -165,14 +165,33 @@ Entity.prototype.testEntityWithParent = function (callback) { Entity.prototype.testProperties = function (callback) { // jshint camelcase:false // [START properties] - var task = { - type: 'Personal', - created: new Date(), - done: false, - priority: 4, - percent_complete: 10.0, - description: 'Learn Cloud Datastore' - }; + var task = [ + { + name: 'type', + value: 'Personal' + }, + { + name: 'created', + value: new Date() + }, + { + name: 'done', + value: false + }, + { + name: 'priority', + value: 4 + }, + { + name: 'percent_complete', + value: 10.0 + }, + { + name: 'description', + value: 'Learn Cloud Datastore', + excludeFromIndexes: true + } + ]; // [END properties] this.datastore.save({