Skip to content

Commit

Permalink
Merge branch 'master' into storage-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ace Nassri authored May 9, 2017
2 parents a31d836 + 4ea4f39 commit 2c24591
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ on Google Cloud Platform.
* [Google Container Engine](#google-container-engine)
* [Google Cloud Functions (Beta)](#google-cloud-functions-beta)
* [**Storage and Databases**](#storage-and-databases)
* [Cloud Spanner](#cloud-spanner)
* [Google Cloud Datastore](#google-cloud-datastore)
* [Google Cloud Storage](#google-cloud-storage)
* [**Big Data**](#big-data)
Expand Down Expand Up @@ -222,6 +223,16 @@ View the [Cloud Functions Node.js samples][functions_samples].

### Storage and Databases

#### Cloud Spanner

[Cloud Spanner][spanner_docs] is a managed, mission-critical, globally
consistent and scalable relational database service.

View the [Cloud Spanner Node.js samples][spanner_samples].

[spanner_docs]: https://cloud.google.com/spanner/docs/
[spanner_samples]: spanner

#### Google Cloud Datastore

[Cloud Datastore][datastore_docs] is a NoSQL document database built for
Expand Down
3 changes: 2 additions & 1 deletion functions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ environment.
* [Hello World](helloworld/)
* [Background](background/)
* [Callbacks](messages/)
* [Cloud Storage](gcs/)
* [Cloud Datastore](datastore/)
* [Cloud Pub/Sub](pubsub/)
* [Cloud Spanner](spanner/)
* [Cloud Storage](gcs/)
* [Dependencies](uuid/)
* [Error Reporting](errorreporting/)
* [HTTP](http/)
Expand Down
4 changes: 2 additions & 2 deletions functions/spanner/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ const Spanner = require('@google-cloud/spanner');
const spanner = Spanner();

// Your Cloud Spanner instance ID
const instanceId = 'my-instance';
const instanceId = 'test-instance';

// Your Cloud Spanner database ID
const databaseId = 'my-database';
const databaseId = 'example-db';

/**
* HTTP Cloud Function.
Expand Down

0 comments on commit 2c24591

Please sign in to comment.