The google-cloud meta-package

The meta-package, google-cloud, has been deprecated.

Example Applications

nodejs-getting-started - A sample and tutorial that demonstrates how to build a complete web application using Cloud Datastore, Cloud Storage, and Cloud Pub/Sub and deploy it to Google App Engine or Google Compute Engine.

Authentication

With google-cloud it's incredibly easy to get authenticated and start using Google's APIs. You can set your credentials on a global basis as well as on a per-API basis. See each individual API section below to see how you can auth on a per-API-basis. This is useful if you want to use different accounts for different Cloud services.

On Google Cloud Platform

If you are running this client on Google Cloud Platform, we handle authentication for you with no configuration. You just need to make sure that when you set up the GCE instance, you add the correct scopes for the APIs you want to access.

var storage =require('@google-cloud/storage')();
// ...you're good to go! See the next section to get started using the APIs.

Elsewhere

If you are not running this client on Google Cloud Platform, you need a Google Developers service account. To create a service account:

Navigate to APIs & auth > APIs section and turn on the following APIs (you may need to enable billing in order to use these services):

BigQuery API

Cloud Bigtable API

Cloud Bigtable Admin API

Cloud Bigtable Table Admin API

Cloud Spanner API

Google Cloud Datastore API

Google Cloud DNS API

Google Cloud Firestore API

Google Cloud Natural Language API

Google Cloud Pub/Sub API

Google Cloud Resource Manager API

Google Cloud Speech API

Google Cloud Storage

Google Cloud Storage JSON API

Google Cloud Translation API

Google Cloud Vision API

Google Compute Engine API

Stackdriver Logging API

Navigate to APIs & auth > Credentials and then:

If you want to use a new service account key, click on Create credentials and select Service account key. After the account key is created, you will be prompted to download the JSON key file that the library uses to authenticate your requests.

If you want to generate a new service account key for an existing service account, click on Generate new JSON key and download the JSON key file.

Versioning

Please note it is currently under active development. Any release versioned 0.x.y is subject to backwards-incompatible changes at any time.

GA: Libraries defined at the GA (general availability) quality level are stable. The code surface will not change in backwards-incompatible ways unless absolutely necessary (e.g. because of critical security issues) or with an extensive deprecation period. Issues and requests against GA libraries are addressed with the highest priority.

Please note that the auto-generated portions of the GA libraries (the ones in modules such as v1 or v2) are considered to be of Beta quality, even if the libraries that wrap them are GA.

Beta: Libraries defined at the Beta quality level are expected to be mostly stable, while we work towards their release candidate. We will address issues and requests with a higher priority.

Alpha: Libraries defined at the Alpha quality level are still a work-in-progress and are more likely to get backwards-incompatible updates.

Contributing

Contributions to this library are always welcome and highly encouraged.