Skip to content

Commit 3f3cacc

Browse files
datastore: update to v1beta3
1 parent fe2f2e1 commit 3f3cacc

21 files changed

+3388
-2383
lines changed

.jscsrc

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"allowUrlComments": true
2121
},
2222
"excludeFiles": [
23+
"lib/datastore/proto.js",
2324
"system-test/data/*",
2425
"test/testdata/*"
2526
]

.jshintignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
lib/datastore/proto.js
2+
system-test/data/*
3+
test/testdata/*

docs/site/components/docs/datastore-overview.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<h3>Datastore Overview</h3>
22
<p>
3-
The <code>gcloud.datastore</code> object gives you some convenience methods, as well as exposes a <code>dataset</code> function. This will allow you to create a <code>dataset</code>, which is the object from which you will interact with the Google Cloud Datastore.
3+
The <code>gcloud.datastore</code> object allows you to interact with Google Cloud Datastore.
44
</p>
55
<p>
66
To learn more about Datastore, read the <a href="https://cloud.google.com/datastore/docs/concepts/overview">Google Cloud Datastore Concepts Overview</a>.

docs/site/components/docs/docs-values.js

+27-3
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,21 @@ angular.module('gcloud.docs')
116116
]
117117
},
118118

119+
datastorev1Beta3: {
120+
title: 'Datastore',
121+
_url: '{baseUrl}/datastore',
122+
pages: [
123+
{
124+
title: 'Transaction',
125+
url: '/transaction'
126+
},
127+
{
128+
title: 'Query',
129+
url: '/query'
130+
}
131+
]
132+
},
133+
119134
dns: {
120135
title: 'DNS',
121136
_url: '{baseUrl}/dns',
@@ -218,8 +233,11 @@ angular.module('gcloud.docs')
218233
// deprecate old datastore api.
219234
'<0.8.0': ['datastore'],
220235

221-
// introduce datastore refactor + pubsub.
222-
'>=0.8.0': ['datastoreWithTransaction', 'pubsub'],
236+
// introduce datastore refactor.
237+
'>=0.8.0 <0.24.0': ['datastoreWithTransaction'],
238+
239+
// introduce pubsub api.
240+
'>=0.8.0': ['pubsub'],
223241

224242
// deprecate old storage api.
225243
'<0.9.0': ['storage'],
@@ -240,6 +258,12 @@ angular.module('gcloud.docs')
240258
'>=0.20.0': ['compute'],
241259

242260
// introduce resource api.
243-
'>=0.22.0': ['resource']
261+
'>=0.22.0': ['resource'],
262+
263+
// deprecate datastore v1beta2 api.
264+
'<0.24.0': ['datastoreWithTransaction'],
265+
266+
// introduce datastore v1beta3 api.
267+
'>=0.24.0': ['datastorev1Beta3']
244268
}
245269
});

lib/datastore/dataset.js

-272
This file was deleted.

0 commit comments

Comments
 (0)