File tree 3 files changed +15
-3
lines changed
3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ on Google Cloud Platform.
31
31
* [ Google Container Engine] ( #google-container-engine )
32
32
* [ Google Cloud Functions (Beta)] ( #google-cloud-functions-beta )
33
33
* [ ** Storage and Databases** ] ( #storage-and-databases )
34
+ * [ Cloud Spanner] ( #cloud-spanner )
34
35
* [ Google Cloud Datastore] ( #google-cloud-datastore )
35
36
* [ Google Cloud Storage] ( #google-cloud-storage )
36
37
* [ ** Big Data** ] ( #big-data )
@@ -222,6 +223,16 @@ View the [Cloud Functions Node.js samples][functions_samples].
222
223
223
224
### Storage and Databases
224
225
226
+ #### Cloud Spanner
227
+
228
+ [ Cloud Spanner] [ spanner_docs ] is a managed, mission-critical, globally
229
+ consistent and scalable relational database service.
230
+
231
+ View the [ Cloud Spanner Node.js samples] [ spanner_samples ] .
232
+
233
+ [ spanner_docs ] : https://cloud.google.com/spanner/docs/
234
+ [ spanner_samples ] : spanner
235
+
225
236
#### Google Cloud Datastore
226
237
227
238
[ Cloud Datastore] [ datastore_docs ] is a NoSQL document database built for
Original file line number Diff line number Diff line change @@ -22,9 +22,10 @@ environment.
22
22
* [ Hello World] ( helloworld/ )
23
23
* [ Background] ( background/ )
24
24
* [ Callbacks] ( messages/ )
25
- * [ Cloud Storage] ( gcs/ )
26
25
* [ Cloud Datastore] ( datastore/ )
27
26
* [ Cloud Pub/Sub] ( pubsub/ )
27
+ * [ Cloud Spanner] ( spanner/ )
28
+ * [ Cloud Storage] ( gcs/ )
28
29
* [ Dependencies] ( uuid/ )
29
30
* [ Error Reporting] ( errorreporting/ )
30
31
* [ HTTP] ( http/ )
Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ const Spanner = require('@google-cloud/spanner');
23
23
const spanner = Spanner ( ) ;
24
24
25
25
// Your Cloud Spanner instance ID
26
- const instanceId = 'my -instance' ;
26
+ const instanceId = 'test -instance' ;
27
27
28
28
// Your Cloud Spanner database ID
29
- const databaseId = 'my-database ' ;
29
+ const databaseId = 'example-db ' ;
30
30
31
31
/**
32
32
* HTTP Cloud Function.
You can’t perform that action at this time.
0 commit comments