gcloud 是 Node.js 用来访问 Google 云平台的客户端开发包。
gcloud
示例代码:
var gcloud = require('gcloud'); var ds = gcloud.datastore.dataset({ projectId: 'my-project', keyFilename: '/path/to/keyfile.json' }); ds.get(ds.key(['Product', 123]), function(err, entity) { console.log(err, entity); });