diff --git a/docs/home.html b/docs/home.html index 9337f32e35c..8c17653abac 100755 --- a/docs/home.html +++ b/docs/home.html @@ -7,7 +7,10 @@

Google Cloud Platform

gcloud

-

gcloud-node is the Google Cloud Client Library for Node.js - an idiomatic, intuitive, and natural way for Node.js developers to integrate with Google Cloud Platform services, like Cloud Datastore and Cloud Storage.

+

Google Cloud Client Library for Node.js + - an idiomatic, intuitive, and natural way for Node.js developers to + integrate with Google Cloud Platform services, like Cloud Datastore + and Cloud Storage.

@@ -59,8 +62,20 @@

One-line npm install

What is it?

-

gcloud-node is a client library for accessing Google Cloud Platform services that significantly reduces the boilerplate code you have to write. The library is provides high-level API abstractions so they're easier to understand. And, it embraces idioms of Node.js, such as returning Readable streams or errors as the first object in callbacks. All this means you spend more time creating code that matters to you.

-

gcloud-node is configured to access Google Cloud services and authorize (OAuth2) automatically on your behalf. With a one line install and a private key, you are up and ready to go. Better yet, if you are running on a Google Compute Engine instance, the one line install is enough!

+

gcloud is a client library for accessing Google + Cloud Platform services that significantly reduces the boilerplate + code you have to write. The library provides high-level API + abstractions so they're easier to understand. It embraces + idioms of Node.js, works well with the standard library, and + integrates better with your codebase. + All this means you spend more time creating code that matters + to you.

+ +

gcloud is configured to access Google Cloud + services and authorize (OAuth 2.0) automatically on your behalf. + With a one-line install and a private key, you are up and ready + to go. Better yet, if you are running on a Google Compute Engine + instance, the one-line install is enough!

@@ -70,13 +85,13 @@

Retrieve Datastore Entities

var gcloud = require('gcloud'); -var dataset = new gcloud.datastore.Dataset({ +var ds = new gcloud.datastore.Dataset({ projectId: 'my-project', keyFilename: '/path/to/keyfile.json' }); -dataset.get(dataset.key('Product', 123), function(err, entity) { - console.log(err || entity); +ds.get(ds.key('Product', 123), function(err, entity) { + console.log(err, entity); });
@@ -85,14 +100,28 @@

Retrieve Datastore Entities

-

FAQ

- -

What is the relationship between gcloud-node and the gcloud commandline tool?

-

Both the gcloud commandline tool and gcloud-node are part of the Google Cloud SDK: a collection of tools and libraries that enable you to easily create and manage resources on Google Cloud Platform. The gcloud commandline tool can be used to manage both your development workflow and your Google Cloud Platform resources while gcloud-node is the Google Cloud Client Library for Node.js.

- -

What is the relationship between gcloud-node and the Google APIs NodeJS Client?

-

The Google APIs NodeJS Client is a client library for using the broad set of Google APIs. gcloud-node is built specifically for the Google Cloud Platform and is the recommended way to integrate Google Cloud APIs into your Node.js applications. If your application requires both Google Cloud and other Google APIs, the 2 libraries may be used by your application.

- +

FAQ

+ +

What is the relationship gcloud package + and the gcloud command-line tool?

+

Both the gcloud command-line tool and + gcloud package are a part of the Google Cloud SDK: a collection + of tools and libraries that enable you to easily create and manage + resources on the Google Cloud Platform. The gcloud command-line + tool can be used to manage both your development workflow and your + Google Cloud Platform resources while the gcloud package is the + Google Cloud Client Library for Node.js.

+ +

What is the relationship between gcloud + and the Google APIs Node.js Client?

+

The + Google APIs Node.js Client is a client library for + using the broad set of Google APIs. + gcloud is built specifically for the Google Cloud Platform + and is the recommended way to integrate Google Cloud APIs into your + Node.js applications. If your application requires both Google Cloud and + other Google APIs, the 2 libraries may be used by your application.

+