From d76bda6250e182b91584d1e1932d9a4f4148b765 Mon Sep 17 00:00:00 2001 From: Dave Gramlich Date: Tue, 14 Feb 2017 14:02:55 -0500 Subject: [PATCH 1/3] docs: change Google Cloud to Cloud --- .github/CONTRIBUTING.md | 2 +- README.md | 68 +++++++++---------- docs/authentication.md | 2 +- docs/faq.md | 4 +- docs/home.html | 8 +-- packages/bigquery/README.md | 2 +- packages/bigquery/src/table.js | 2 +- packages/bigtable/README.md | 6 +- packages/bigtable/package.json | 2 +- packages/bigtable/src/index.js | 2 +- packages/bigtable/src/table.js | 2 +- packages/common-grpc/package.json | 2 +- packages/common/package.json | 2 +- packages/common/src/util.js | 2 +- packages/common/test/util.js | 2 +- packages/compute/README.md | 2 +- packages/datastore/README.md | 8 +-- packages/datastore/package.json | 2 +- packages/datastore/src/index.js | 2 +- packages/dns/README.md | 6 +- packages/dns/package.json | 2 +- packages/dns/src/index.js | 4 +- packages/google-cloud/package.json | 2 +- packages/google-cloud/src/index.js | 18 ++--- packages/language/README.md | 6 +- packages/language/package.json | 2 +- packages/language/src/index.js | 18 ++--- packages/logging-winston/README.md | 2 +- packages/logging/README.md | 2 +- packages/logging/src/metadata.js | 2 +- packages/logging/src/sink.js | 2 +- packages/monitoring/README.md | 2 +- packages/prediction/README.md | 2 +- packages/prediction/src/index.js | 2 +- packages/pubsub/README.md | 6 +- packages/pubsub/package.json | 2 +- packages/pubsub/src/iam.js | 2 +- packages/pubsub/src/index.js | 6 +- packages/pubsub/src/subscription.js | 4 +- packages/pubsub/src/topic.js | 4 +- packages/resource/README.md | 6 +- packages/resource/package.json | 2 +- packages/resource/src/index.js | 2 +- packages/spanner/README.md | 2 +- .../instance/v1/instance_admin_client.js | 2 +- packages/speech/README.md | 6 +- packages/speech/package.json | 2 +- packages/speech/src/index.js | 4 +- packages/speech/src/v1beta1/speech_client.js | 2 +- packages/storage/README.md | 8 +-- packages/storage/package.json | 2 +- packages/storage/src/acl.js | 2 +- packages/storage/src/bucket.js | 6 +- packages/storage/src/channel.js | 2 +- packages/storage/src/file.js | 4 +- packages/storage/src/index.js | 12 ++-- packages/storage/test/index.js | 2 +- packages/translate/README.md | 6 +- packages/translate/package.json | 2 +- packages/vision/README.md | 6 +- packages/vision/package.json | 2 +- .../vision/src/v1/image_annotator_client.js | 2 +- packages/vision/system-test/vision.js | 4 +- scripts/docs/config.js | 28 ++++---- 64 files changed, 167 insertions(+), 167 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index cc2f84305fe..94eafd56623 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -25,7 +25,7 @@ To run the system tests, first create and configure a project in the Google Deve - **GCLOUD_TESTS_PROJECT_ID**: Developers Console project's ID (e.g. bamboo-shift-455) - **GCLOUD_TESTS_KEY**: The path to the JSON key file. - ***GCLOUD_TESTS_API_KEY*** (*optional*): An API key that can be used to test the Translate API. -- ***GCLOUD_TESTS_DNS_DOMAIN*** (*optional*): A domain you own managed by Google Cloud DNS (expected format: `'gcloud-node.com.'`). +- ***GCLOUD_TESTS_DNS_DOMAIN*** (*optional*): A domain you own managed by Cloud DNS (expected format: `'gcloud-node.com.'`). Install the [gcloud command-line tool][gcloudcli] to your machine and use it to create the indexes used in the datastore system tests with indexes found in `system-test/data/index/yaml`: diff --git a/README.md b/README.md index b226fa058bf..38ef2b1bc18 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Google Cloud Node.js Client +# Cloud Node.js Client > Node.js idiomatic client for [Google Cloud Platform](https://cloud.google.com/) services. [![NPM Version](https://img.shields.io/npm/v/google-cloud.svg)](https://www.npmjs.org/package/google-cloud) @@ -12,21 +12,21 @@ This client supports the following Google Cloud Platform services at a [Beta](#versioning) quality level: * [Google BigQuery](#google-bigquery-beta) (Beta) -* [Google Cloud Datastore](#google-cloud-datastore-beta) (Beta) -* [Google Cloud Storage](#google-cloud-storage-beta) (Beta) +* [Cloud Datastore](#google-cloud-datastore-beta) (Beta) +* [Cloud Storage](#google-cloud-storage-beta) (Beta) * [Google Stackdriver Logging](#google-stackdriver-logging-beta) (Beta) This client supports the following Google Cloud Platform services at an [Alpha](#versioning) quality level: * [Cloud Spanner](#cloud-spanner-alpha) (Alpha) -* [Google Cloud Bigtable](#google-cloud-bigtable-alpha) (Alpha) -* [Google Cloud DNS](#google-cloud-dns-alpha) (Alpha) -* [Google Cloud Natural Language](#google-cloud-natural-language-alpha) (Alpha) -* [Google Cloud Pub/Sub](#google-cloud-pubsub-alpha) (Alpha) -* [Google Cloud Resource Manager](#google-cloud-resource-manager-alpha) (Alpha) -* [Google Cloud Speech](#google-cloud-speech-alpha) (Alpha) -* [Google Cloud Translation API](#google-cloud-translation-api-alpha) (Alpha) -* [Google Cloud Vision](#google-cloud-vision-alpha) (Alpha) +* [Cloud Bigtable](#google-cloud-bigtable-alpha) (Alpha) +* [Cloud DNS](#google-cloud-dns-alpha) (Alpha) +* [Cloud Natural Language](#google-cloud-natural-language-alpha) (Alpha) +* [Cloud Pub/Sub](#google-cloud-pubsub-alpha) (Alpha) +* [Cloud Resource Manager](#google-cloud-resource-manager-alpha) (Alpha) +* [Cloud Speech](#google-cloud-speech-alpha) (Alpha) +* [Cloud Translation API](#google-cloud-translation-api-alpha) (Alpha) +* [Cloud Vision](#google-cloud-vision-alpha) (Alpha) * [Google Compute Engine](#google-compute-engine-alpha) (Alpha) * [Google Prediction API](#google-prediction-api-alpha) (Alpha) * [Google Stackdriver Monitoring](#google-stackdriver-monitoring-alpha) (Alpha) @@ -54,7 +54,7 @@ $ npm install --save google-cloud ## 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 Google Cloud services. +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 @@ -78,16 +78,16 @@ If you are not running this client on Google Cloud Platform, you need a Google D * Cloud Bigtable Admin API * Cloud Bigtable Table Admin API * Cloud Spanner API - * Google Cloud Datastore API - * Google Cloud DNS 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 + * Cloud Datastore API + * Cloud DNS API + * Cloud Natural Language API + * Cloud Pub/Sub API + * Cloud Resource Manager API + * Cloud Speech API + * Cloud Storage + * Cloud Storage JSON API + * Cloud Translation API + * Cloud Vision API * Google Compute Engine API * Prediction API * Stackdriver Logging API @@ -173,12 +173,12 @@ job.getQueryResults().on('data', function(row) {}); ``` -## Google Cloud Datastore (Beta) +## Cloud Datastore (Beta) - [API Documentation][gcloud-datastore-docs] - [Official Documentation][cloud-datastore-docs] -*Follow the [activation instructions][cloud-datastore-activation] to use the Google Cloud Datastore API with your project.* +*Follow the [activation instructions][cloud-datastore-activation] to use the Cloud Datastore API with your project.* #### Using the all-in-one module @@ -247,7 +247,7 @@ datastoreClient.save({ ``` -## Google Cloud Storage (Beta) +## Cloud Storage (Beta) - [API Documentation][gcloud-storage-docs] - [Official Documentation][cloud-storage-docs] @@ -482,12 +482,12 @@ database.runStream('SELECT * FROM Singers') ``` -## Google Cloud Bigtable (Alpha) +## Cloud Bigtable (Alpha) - [API Documentation][gcloud-bigtable-docs] - [Official Documentation][cloud-bigtable-docs] -*You may need to [create a cluster][cloud-bigtable-cluster] to use the Google Cloud Bigtable API with your project.* +*You may need to [create a cluster][cloud-bigtable-cluster] to use the Cloud Bigtable API with your project.* #### Using the all-in-one module @@ -553,7 +553,7 @@ row.save('follows:gwashington', 1, function(err) { ``` -## Google Cloud DNS (Alpha) +## Cloud DNS (Alpha) - [API Documentation][gcloud-dns-docs] - [Official Documentation][cloud-dns-docs] @@ -612,7 +612,7 @@ zone.export('/zonefile.zone', function(err) {}); ``` -## Google Cloud Natural Language (Alpha) +## Cloud Natural Language (Alpha) - [API Documentation][gcloud-language-docs] - [Official Documentation][cloud-language-docs] @@ -694,7 +694,7 @@ document.annotate(function(err, annotations) { ``` -## Google Cloud Pub/Sub (Alpha) +## Cloud Pub/Sub (Alpha) - [API Documentation][gcloud-pubsub-docs] - [Official Documentation][cloud-pubsub-docs] @@ -752,7 +752,7 @@ topic.subscribe('subscription-name', function(err, subscription) { ``` -## Google Cloud Resource Manager (Alpha) +## Cloud Resource Manager (Alpha) - [API Documentation][gcloud-resource-docs] - [Official Documentation][cloud-resource-docs] @@ -805,7 +805,7 @@ project.getMetadata(function(err, metadata) { ``` -## Google Cloud Speech (Alpha) +## Cloud Speech (Alpha) - [API Documentation][gcloud-speech-docs] - [Official Documentation][cloud-speech-docs] @@ -888,7 +888,7 @@ fs.createReadStream('./audio.raw') ``` -## Google Cloud Translation API (Alpha) +## Cloud Translation API (Alpha) - [API Documentation][gcloud-translate-docs] - [Official Documentation][cloud-translate-docs] @@ -957,7 +957,7 @@ translateClient.getLanguages(function(err, languages) { ``` -## Google Cloud Vision (Alpha) +## Cloud Vision (Alpha) - [API Documentation][gcloud-vision-docs] - [Official Documentation][cloud-vision-docs] diff --git a/docs/authentication.md b/docs/authentication.md index 6002223c810..a17b748bcb6 100644 --- a/docs/authentication.md +++ b/docs/authentication.md @@ -1,6 +1,6 @@ ## Authenticating with this module -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 Google Cloud services. +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. ```js var config = { diff --git a/docs/faq.md b/docs/faq.md index 9596d5e301b..2d1f51d4b28 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -15,9 +15,9 @@ Our library uses some native libraries, which must be recompiled against the pla Reference Issues: [#1287](https://github.com/GoogleCloudPlatform/google-cloud-node/issues/1287), [#1297](https://github.com/GoogleCloudPlatform/google-cloud-node/issues/1297) -## Does this replace [Google Cloud Node.js Client][googleapis]? +## Does this replace [Cloud Node.js Client][googleapis]? -Google Cloud Node.js Client is a client library for using the broad set of Google APIs. This module 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 Platform and other Google APIs, the 2 libraries may be used together. +Cloud Node.js Client is a client library for using the broad set of Google APIs. This module is built specifically for the Google Cloud Platform and is the recommended way to integrate Cloud APIs into your Node.js applications. If your application requires both Google Cloud Platform and other Google APIs, the 2 libraries may be used together. [dev-console]: https://console.developers.google.com/project [gce-how-to]: https://developers.google.com/compute/docs/authentication#using diff --git a/docs/home.html b/docs/home.html index b436a36b523..6b7ad4ab84f 100644 --- a/docs/home.html +++ b/docs/home.html @@ -2,7 +2,7 @@

google-cloud

-

Google Cloud Client Library for Node.js +

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.

@@ -156,12 +156,12 @@

FAQ

What is the relationship between the google-cloud package and the gcloud command-line tool?

Both the gcloud command-line tool and - google-cloud package are a part of the Google Cloud SDK: a collection + google-cloud package are a part of the 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 google-cloud package is the - Google Cloud Client Library for Node.js.

+ Cloud Client Library for Node.js.

What is the relationship between google-cloud and the Google APIs Node.js Client?

@@ -169,7 +169,7 @@

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

diff --git a/packages/bigquery/README.md b/packages/bigquery/README.md index d3daac59cc9..6be2c74d77d 100644 --- a/packages/bigquery/README.md +++ b/packages/bigquery/README.md @@ -46,7 +46,7 @@ var bigquery = require('@google-cloud/bigquery')({ ## Authentication -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 Google Cloud services. +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 diff --git a/packages/bigquery/src/table.js b/packages/bigquery/src/table.js index c68e11d08e0..09e49d9375d 100644 --- a/packages/bigquery/src/table.js +++ b/packages/bigquery/src/table.js @@ -552,7 +552,7 @@ Table.prototype.createWriteStream = function(metadata) { }; /** - * Export table to Google Cloud Storage. + * Export table to Cloud Storage. * * @resource [Jobs: insert API Documentation]{@link https://cloud.google.com/bigquery/docs/reference/v2/jobs/insert} * diff --git a/packages/bigtable/README.md b/packages/bigtable/README.md index 64ac102ce5c..03107f6e4b4 100644 --- a/packages/bigtable/README.md +++ b/packages/bigtable/README.md @@ -1,12 +1,12 @@ # @google-cloud/bigtable ([Alpha][versioning]) -> Google Cloud Bigtable Client Library for Node.js +> Cloud Bigtable Client Library for Node.js *Looking for more Google APIs than just Bigtable? You might want to check out [`google-cloud`][google-cloud].* - [API Documentation][gcloud-bigtable-docs] - [Official Documentation][cloud-bigtable-docs] -*You may need to [create a cluster][cloud-bigtable-cluster] to use the Google Cloud Bigtable API with your project.* +*You may need to [create a cluster][cloud-bigtable-cluster] to use the Cloud Bigtable API with your project.* ```sh @@ -62,7 +62,7 @@ var bigtable = require('@google-cloud/bigtable')({ ## Authentication -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 Google Cloud services. +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 diff --git a/packages/bigtable/package.json b/packages/bigtable/package.json index b75978b96ef..fca07a63aa2 100644 --- a/packages/bigtable/package.json +++ b/packages/bigtable/package.json @@ -2,7 +2,7 @@ "name": "@google-cloud/bigtable", "version": "0.8.0", "author": "Google Inc.", - "description": "Google Cloud Bigtable Client Library for Node.js", + "description": "Cloud Bigtable Client Library for Node.js", "contributors": [ { "name": "Burcu Dogan", diff --git a/packages/bigtable/src/index.js b/packages/bigtable/src/index.js index 65c2af9d332..4443adbaa99 100644 --- a/packages/bigtable/src/index.js +++ b/packages/bigtable/src/index.js @@ -45,7 +45,7 @@ var Instance = require('./instance.js'); * @constructor * * @resource [Creating a Cloud Bigtable Cluster]{@link https://cloud.google.com/bigtable/docs/creating-compute-instance} - * @resource [Google Cloud Bigtable Concepts Overview]{@link https://cloud.google.com/bigtable/docs/concepts} + * @resource [Cloud Bigtable Concepts Overview]{@link https://cloud.google.com/bigtable/docs/concepts} * * @param {object=} options - [Configuration object](#/docs). * @param {string=} options.apiEndpoint - Override the default API endpoint used diff --git a/packages/bigtable/src/table.js b/packages/bigtable/src/table.js index 68b9c76d99a..245646400d1 100644 --- a/packages/bigtable/src/table.js +++ b/packages/bigtable/src/table.js @@ -56,7 +56,7 @@ var Mutation = require('./mutation.js'); var Row = require('./row.js'); /** - * Create a Table object to interact with a Google Cloud Bigtable table. + * Create a Table object to interact with a Cloud Bigtable table. * * @constructor * @alias module:bigtable/table diff --git a/packages/common-grpc/package.json b/packages/common-grpc/package.json index 93b7180e0f4..1b19c6a8d87 100644 --- a/packages/common-grpc/package.json +++ b/packages/common-grpc/package.json @@ -2,7 +2,7 @@ "name": "@google-cloud/common-grpc", "version": "0.1.4", "author": "Google Inc.", - "description": "Common components for Google Cloud APIs Node.js Client Libraries that require gRPC", + "description": "Common components for Cloud APIs Node.js Client Libraries that require gRPC", "contributors": [ { "name": "Burcu Dogan", diff --git a/packages/common/package.json b/packages/common/package.json index 6eb88e1be18..e500f9c94a2 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -2,7 +2,7 @@ "name": "@google-cloud/common", "version": "0.11.0", "author": "Google Inc.", - "description": "Common components for Google Cloud APIs Node.js Client Libraries", + "description": "Common components for Cloud APIs Node.js Client Libraries", "contributors": [ { "name": "Burcu Dogan", diff --git a/packages/common/src/util.js b/packages/common/src/util.js index 2411e80c69e..b2d4668d182 100644 --- a/packages/common/src/util.js +++ b/packages/common/src/util.js @@ -43,7 +43,7 @@ var uniq = require('array-uniq'); var util = module.exports; var errorMessage = format([ - 'Sorry, we cannot connect to Google Cloud Services without a project ID.', + 'Sorry, we cannot connect to Cloud Services without a project ID.', 'You may specify one with an environment variable named "GCLOUD_PROJECT".', 'See {baseUrl}/{path} for a detailed guide on creating an authenticated', 'connection.' diff --git a/packages/common/test/util.js b/packages/common/test/util.js index 70b52fb3eea..c7a6067345c 100644 --- a/packages/common/test/util.js +++ b/packages/common/test/util.js @@ -105,7 +105,7 @@ describe('common/util', function() { it('should export an error for module instantiation errors', function() { var errorMessage = format([ - 'Sorry, we cannot connect to Google Cloud Services without a project ID.', + 'Sorry, we cannot connect to Cloud Services without a project ID.', 'You may specify one with an environment variable named', '"GCLOUD_PROJECT". See {baseUrl}/{path} for a detailed guide on creating', 'an authenticated connection.' diff --git a/packages/compute/README.md b/packages/compute/README.md index f417a681794..734265187cf 100644 --- a/packages/compute/README.md +++ b/packages/compute/README.md @@ -52,7 +52,7 @@ var gce = require('@google-cloud/compute')({ ## Authentication -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 Google Cloud services. +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 diff --git a/packages/datastore/README.md b/packages/datastore/README.md index 6241d31d977..dd036f699af 100644 --- a/packages/datastore/README.md +++ b/packages/datastore/README.md @@ -1,12 +1,12 @@ # @google-cloud/datastore ([Beta][versioning]) -> Google Cloud Datastore Client Library for Node.js +> Cloud Datastore Client Library for Node.js *Looking for more Google APIs than just Datastore? You might want to check out [`google-cloud`][google-cloud].* - [API Documentation][gcloud-datastore-docs] - [Official Documentation][cloud-datastore-docs] -*Follow the [activation instructions][cloud-datastore-activation] to use the Google Cloud Datastore API with your project.* +*Follow the [activation instructions][cloud-datastore-activation] to use the Cloud Datastore API with your project.* ```sh $ npm install --save @google-cloud/datastore @@ -67,7 +67,7 @@ var datastore = require('@google-cloud/datastore')({ ## Authentication -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 Google Cloud services. +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 @@ -85,7 +85,7 @@ If you are not running this client on Google Cloud Platform, you need a Google D 1. Visit the [Google Developers Console][dev-console]. 2. Create a new project or click on an existing project. 3. Navigate to **APIs & auth** > **APIs section** and turn on the following APIs (you may need to enable billing in order to use these services): - * Google Cloud Datastore API + * Cloud Datastore API 4. 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. diff --git a/packages/datastore/package.json b/packages/datastore/package.json index 9a2891c3c15..1e7499f79e0 100644 --- a/packages/datastore/package.json +++ b/packages/datastore/package.json @@ -2,7 +2,7 @@ "name": "@google-cloud/datastore", "version": "0.7.0", "author": "Google Inc.", - "description": "Google Cloud Datastore Client Library for Node.js", + "description": "Cloud Datastore Client Library for Node.js", "contributors": [ { "name": "Burcu Dogan", diff --git a/packages/datastore/src/index.js b/packages/datastore/src/index.js index 2a21195d760..b6e0f0e707d 100644 --- a/packages/datastore/src/index.js +++ b/packages/datastore/src/index.js @@ -55,7 +55,7 @@ var Transaction = require('./transaction.js'); * @alias module:datastore * @mixes module:datastore/request * - * @resource [Google Cloud Datastore Concepts Overview]{@link https://cloud.google.com/datastore/docs/concepts/overview} + * @resource [Cloud Datastore Concepts Overview]{@link https://cloud.google.com/datastore/docs/concepts/overview} * * @param {object=} options - [Configuration object](#/docs). * @param {string=} options.apiEndpoint - Override the default API endpoint used diff --git a/packages/dns/README.md b/packages/dns/README.md index 87c49413c76..52ff6a096d0 100644 --- a/packages/dns/README.md +++ b/packages/dns/README.md @@ -1,5 +1,5 @@ # @google-cloud/dns ([Alpha][versioning]) -> Google Cloud DNS Client Library for Node.js +> Cloud DNS Client Library for Node.js *Looking for more Google APIs than just DNS? You might want to check out [`google-cloud`][google-cloud].* @@ -50,7 +50,7 @@ var dns = require('@google-cloud/dns')({ ## Authentication -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 Google Cloud services. +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 @@ -68,7 +68,7 @@ If you are not running this client on Google Cloud Platform, you need a Google D 1. Visit the [Google Developers Console][dev-console]. 2. Create a new project or click on an existing project. 3. Navigate to **APIs & auth** > **APIs section** and turn on the following APIs (you may need to enable billing in order to use these services): - * Google Cloud DNS API + * Cloud DNS API 4. 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. diff --git a/packages/dns/package.json b/packages/dns/package.json index 8be3e3b1ee2..b5930a5a020 100644 --- a/packages/dns/package.json +++ b/packages/dns/package.json @@ -2,7 +2,7 @@ "name": "@google-cloud/dns", "version": "0.5.0", "author": "Google Inc.", - "description": "Google Cloud DNS Client Library for Node.js", + "description": "Cloud DNS Client Library for Node.js", "contributors": [ { "name": "Burcu Dogan", diff --git a/packages/dns/src/index.js b/packages/dns/src/index.js index 0a15829687b..3e60ccc13fd 100644 --- a/packages/dns/src/index.js +++ b/packages/dns/src/index.js @@ -33,7 +33,7 @@ var util = require('util'); var Zone = require('./zone.js'); /** - * [Google Cloud DNS](https://cloud.google.com/dns/what-is-cloud-dns) is a high- + * [Cloud DNS](https://cloud.google.com/dns/what-is-cloud-dns) is a high- * performance, resilient, global DNS service that provides a cost-effective way * to make your applications and services available to your users. This * programmable, authoritative DNS service can be used to easily publish and @@ -42,7 +42,7 @@ var Zone = require('./zone.js'); * @constructor * @alias module:dns * - * @resource [What is Google Cloud DNS?]{@link https://cloud.google.com/dns/what-is-cloud-dns} + * @resource [What is Cloud DNS?]{@link https://cloud.google.com/dns/what-is-cloud-dns} * * @param {object} options - [Configuration object](#/docs). */ diff --git a/packages/google-cloud/package.json b/packages/google-cloud/package.json index dc997b7a9e1..7ed3c1b8778 100644 --- a/packages/google-cloud/package.json +++ b/packages/google-cloud/package.json @@ -2,7 +2,7 @@ "name": "google-cloud", "version": "0.47.0", "author": "Google Inc.", - "description": "Google Cloud APIs Client Library for Node.js", + "description": "Cloud APIs Client Library for Node.js", "contributors": [ { "name": "Burcu Dogan", diff --git a/packages/google-cloud/src/index.js b/packages/google-cloud/src/index.js index 3b76a04cfd3..b313d108e31 100644 --- a/packages/google-cloud/src/index.js +++ b/packages/google-cloud/src/index.js @@ -88,7 +88,7 @@ var apis = { compute: require('@google-cloud/compute'), /** - * [Google Cloud Datastore](https://developers.google.com/datastore/) is a + * [Cloud Datastore](https://developers.google.com/datastore/) is a * fully managed, schemaless database for storing non-relational data. Use * this object to create a Dataset to interact with your data, an "Int", and a * "Double" representation. @@ -107,7 +107,7 @@ var apis = { datastore: require('@google-cloud/datastore'), /** - * [Google Cloud DNS](https://cloud.google.com/dns/what-is-cloud-dns) is a + * [Cloud DNS](https://cloud.google.com/dns/what-is-cloud-dns) is a * high-performance, resilient, global DNS service that provides a cost- * effective way to make your applications and services available to your * users. This programmable, authoritative DNS service can be used to easily @@ -128,7 +128,7 @@ var apis = { dns: require('@google-cloud/dns'), /** - * The [Google Cloud Natural Language](https://cloud.google.com/natural-language/docs) + * The [Cloud Natural Language](https://cloud.google.com/natural-language/docs) * API provides natural language understanding technologies to developers, * including sentiment analysis, entity recognition, and syntax analysis. * @@ -222,8 +222,8 @@ var apis = { prediction: require('@google-cloud/prediction'), /** - * [Google Cloud Pub/Sub](https://developers.google.com/pubsub/overview) is a - * reliable, many-to-many, asynchronous messaging service from Google Cloud + * [Cloud Pub/Sub](https://developers.google.com/pubsub/overview) is a + * reliable, many-to-many, asynchronous messaging service from Cloud * Platform. * * @type {module:pubsub} @@ -303,8 +303,8 @@ var apis = { speech: require('@google-cloud/speech'), /** - * Google Cloud Storage allows you to store data on Google infrastructure. - * Read [Google Cloud Storage API docs](https://developers.google.com/storage) + * Cloud Storage allows you to store data on Google infrastructure. + * Read [Cloud Storage API docs](https://developers.google.com/storage) * for more information. * * @type {module:storage} @@ -321,10 +321,10 @@ var apis = { storage: require('@google-cloud/storage'), /** - * With [Google Cloud Translation](https://cloud.google.com/translate), you + * With [Cloud Translation](https://cloud.google.com/translate), you * can dynamically translate text between thousands of language pairs. * - * This API lets websites and programs integrate with Google Cloud Translation + * This API lets websites and programs integrate with Cloud Translation * API programmatically. * * @type {module:translate} diff --git a/packages/language/README.md b/packages/language/README.md index d586725cbcc..0ee09929a72 100644 --- a/packages/language/README.md +++ b/packages/language/README.md @@ -1,5 +1,5 @@ # @google-cloud/language ([Alpha][versioning]) -> Google Cloud Natural Language Client Library for Node.js +> Cloud Natural Language Client Library for Node.js *Looking for more Google APIs than just Natural Language? You might want to check out [`google-cloud`][google-cloud].* @@ -73,7 +73,7 @@ var language = require('@google-cloud/language')({ ## Authentication -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 Google Cloud services. +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 @@ -91,7 +91,7 @@ If you are not running this client on Google Cloud Platform, you need a Google D 1. Visit the [Google Developers Console][dev-console]. 2. Create a new project or click on an existing project. 3. Navigate to **APIs & auth** > **APIs section** and turn on the following APIs (you may need to enable billing in order to use these services): - * Google Cloud Natural Language API + * Cloud Natural Language API 4. 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. diff --git a/packages/language/package.json b/packages/language/package.json index 166ac4d2f82..aa46d1882dd 100644 --- a/packages/language/package.json +++ b/packages/language/package.json @@ -2,7 +2,7 @@ "name": "@google-cloud/language", "version": "0.8.0", "author": "Google Inc.", - "description": "Google Cloud Natural Language Client Library for Node.js", + "description": "Cloud Natural Language Client Library for Node.js", "contributors": [ { "name": "Burcu Dogan", diff --git a/packages/language/src/index.js b/packages/language/src/index.js index cd4e975cd90..3c16a03e8d1 100644 --- a/packages/language/src/index.js +++ b/packages/language/src/index.js @@ -32,7 +32,7 @@ var v1 = require('./v1'); var Document = require('./document.js'); /** - * The [Google Cloud Natural Language](https://cloud.google.com/natural-language/docs) + * The [Cloud Natural Language](https://cloud.google.com/natural-language/docs) * API provides natural language understanding technologies to developers, * including sentiment analysis, entity recognition, and syntax analysis. This * API is part of the larger Cloud Machine Learning API. @@ -47,7 +47,7 @@ var Document = require('./document.js'); * @constructor * @alias module:language * - * @resource [Google Cloud Natural Language API Documentation]{@link https://cloud.google.com/natural-language/docs} + * @resource [Cloud Natural Language API Documentation]{@link https://cloud.google.com/natural-language/docs} * * @param {object} options - [Configuration object](#/docs). */ @@ -94,7 +94,7 @@ function Language(options) { * language.annotate('Hello!', callback); * * //- - * // Or, provide a reference to a file hosted on Google Cloud Storage. + * // Or, provide a reference to a file hosted on Cloud Storage. * //- * var gcs = require('@google-cloud/storage')({ * projectId: 'grape-spaceship-123' @@ -186,7 +186,7 @@ Language.prototype.annotate = function(content, options, callback) { * language.detectEntities('Axel Foley is from Detroit', callback); * * //- - * // Or, provide a reference to a file hosted on Google Cloud Storage. + * // Or, provide a reference to a file hosted on Cloud Storage. * //- * var gcs = require('@google-cloud/storage')({ * projectId: 'grape-spaceship-123' @@ -277,7 +277,7 @@ Language.prototype.detectEntities = function(content, options, callback) { * language.detectSentiment('Hello!', callback); * * //- - * // Or, provide a reference to a file hosted on Google Cloud Storage. + * // Or, provide a reference to a file hosted on Cloud Storage. * //- * var gcs = require('@google-cloud/storage')({ * projectId: 'grape-spaceship-123' @@ -359,7 +359,7 @@ Language.prototype.detectSentiment = function(content, options, callback) { * language.detectSyntax('Axel Foley is from Detroit', callback); * * //- - * // Or, provide a reference to a file hosted on Google Cloud Storage. + * // Or, provide a reference to a file hosted on Cloud Storage. * //- * var gcs = require('@google-cloud/storage')({ * projectId: 'grape-spaceship-123' @@ -440,7 +440,7 @@ Language.prototype.detectSyntax = function(content, options, callback) { * var document = language.document('Inline content of an unknown type.'); * * //- - * // Or, provide a reference to a file hosted on Google Cloud Storage. + * // Or, provide a reference to a file hosted on Cloud Storage. * //- * var gcs = require('@google-cloud/storage')({ * projectId: 'grape-spaceship-123' @@ -485,7 +485,7 @@ Language.prototype.document = function(config) { * var document = language.html('<h1>Document Title</h1>'); * * //- - * // Or, provide a reference to a file hosted on Google Cloud Storage. + * // Or, provide a reference to a file hosted on Cloud Storage. * //- * var gcs = require('@google-cloud/storage')({ * projectId: 'grape-spaceship-123' @@ -535,7 +535,7 @@ Language.prototype.html = function(content, options) { * var document = language.text('This is using inline text content.'); * * //- - * // Or, provide a reference to a file hosted on Google Cloud Storage. + * // Or, provide a reference to a file hosted on Cloud Storage. * //- * var gcs = require('@google-cloud/storage')({ * projectId: 'grape-spaceship-123' diff --git a/packages/logging-winston/README.md b/packages/logging-winston/README.md index 4c8e93b89e6..e932e17f8cb 100644 --- a/packages/logging-winston/README.md +++ b/packages/logging-winston/README.md @@ -29,7 +29,7 @@ winston.verbose('sheilds at 99%'); ## Authentication -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 Google Cloud services. +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 Compute Engine diff --git a/packages/logging/README.md b/packages/logging/README.md index 5c6bbcb0bd0..4266eaed6e5 100644 --- a/packages/logging/README.md +++ b/packages/logging/README.md @@ -67,7 +67,7 @@ var logging = require('@google-cloud/logging')({ ## Authentication -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 Google Cloud services. +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 diff --git a/packages/logging/src/metadata.js b/packages/logging/src/metadata.js index 980ee9902e1..c483df59f92 100644 --- a/packages/logging/src/metadata.js +++ b/packages/logging/src/metadata.js @@ -39,7 +39,7 @@ function Metadata(logging) { } /** - * Create a descriptor for Google Cloud Functions. + * Create a descriptor for Cloud Functions. * * @param {string} projectId - The project ID. * @returns {object} diff --git a/packages/logging/src/sink.js b/packages/logging/src/sink.js index 0730f96b54d..71f30f8b1b0 100644 --- a/packages/logging/src/sink.js +++ b/packages/logging/src/sink.js @@ -32,7 +32,7 @@ var util = require('util'); /** * A sink is an object that lets you to specify a set of log entries to export * to a particular destination. Stackdriver Logging lets you export log entries - * to destinations including Google Cloud Storage buckets (for long term log + * to destinations including Cloud Storage buckets (for long term log * storage), Google BigQuery datasets (for log analysis), Google Pub/Sub (for * streaming to other applications). * diff --git a/packages/monitoring/README.md b/packages/monitoring/README.md index 1a04f7beb2d..52686636362 100644 --- a/packages/monitoring/README.md +++ b/packages/monitoring/README.md @@ -25,7 +25,7 @@ var monitoring = require('@google-cloud/monitoring').v3({ ## Authentication -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 Google Cloud services. +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 diff --git a/packages/prediction/README.md b/packages/prediction/README.md index 462907575b5..443544c24ed 100644 --- a/packages/prediction/README.md +++ b/packages/prediction/README.md @@ -60,7 +60,7 @@ var prediction = require('@google-cloud/prediction')({ ## Authentication -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 Google Cloud services. +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 diff --git a/packages/prediction/src/index.js b/packages/prediction/src/index.js index f035d692cc7..347fc80bd19 100644 --- a/packages/prediction/src/index.js +++ b/packages/prediction/src/index.js @@ -109,7 +109,7 @@ util.inherits(Prediction, common.Service); * }); * * //- - * // Create a model, using an existing CSV file in a Google Cloud Storage + * // Create a model, using an existing CSV file in a Cloud Storage * // bucket as training data. * //- * var gcs = require('@google-cloud/storage')({ diff --git a/packages/pubsub/README.md b/packages/pubsub/README.md index 11d79515f49..81fb4f83a7f 100644 --- a/packages/pubsub/README.md +++ b/packages/pubsub/README.md @@ -1,5 +1,5 @@ # @google-cloud/pubsub ([Alpha][versioning]) -> Google Cloud Pub/Sub Client Library for Node.js +> Cloud Pub/Sub Client Library for Node.js *Looking for more Google APIs than just Pub/Sub? You might want to check out [`google-cloud`][google-cloud].* @@ -49,7 +49,7 @@ var pubsub = require('@google-cloud/pubsub')({ ## Authentication -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 Google Cloud services. +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 @@ -67,7 +67,7 @@ If you are not running this client on Google Cloud Platform, you need a Google D 1. Visit the [Google Developers Console][dev-console]. 2. Create a new project or click on an existing project. 3. Navigate to **APIs & auth** > **APIs section** and turn on the following APIs (you may need to enable billing in order to use these services): - * Google Cloud Pub/Sub API + * Cloud Pub/Sub API 4. 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. diff --git a/packages/pubsub/package.json b/packages/pubsub/package.json index eb7e7e56d41..1880777fe61 100644 --- a/packages/pubsub/package.json +++ b/packages/pubsub/package.json @@ -2,7 +2,7 @@ "name": "@google-cloud/pubsub", "version": "0.8.0", "author": "Google Inc.", - "description": "Google Cloud Pub/Sub Client Library for Node.js", + "description": "Cloud Pub/Sub Client Library for Node.js", "contributors": [ { "name": "Burcu Dogan", diff --git a/packages/pubsub/src/iam.js b/packages/pubsub/src/iam.js index 61c6980b789..8a8565e4150 100644 --- a/packages/pubsub/src/iam.js +++ b/packages/pubsub/src/iam.js @@ -49,7 +49,7 @@ var util = require('util'); * * *The IAM access control features described in this document are Beta, * including the API methods to get and set IAM policies, and to test IAM - * permissions. Google Cloud Pub/Sub's use of IAM features is not covered by any + * permissions. Cloud Pub/Sub's use of IAM features is not covered by any * SLA or deprecation policy, and may be subject to backward-incompatible * changes.* * diff --git a/packages/pubsub/src/index.js b/packages/pubsub/src/index.js index c1d452313ef..85db7e0e4f4 100644 --- a/packages/pubsub/src/index.js +++ b/packages/pubsub/src/index.js @@ -40,8 +40,8 @@ var Subscription = require('./subscription.js'); var Topic = require('./topic.js'); /** - * [Google Cloud Pub/Sub](https://developers.google.com/pubsub/overview) is a - * reliable, many-to-many, asynchronous messaging service from Google Cloud + * [Cloud Pub/Sub](https://developers.google.com/pubsub/overview) is a + * reliable, many-to-many, asynchronous messaging service from Cloud * Platform. * * The `PUBSUB_EMULATOR_HOST` environment variable from the gcloud SDK is @@ -50,7 +50,7 @@ var Topic = require('./topic.js'); * @constructor * @alias module:pubsub * - * @resource [Google Cloud Pub/Sub overview]{@link https://developers.google.com/pubsub/overview} + * @resource [Cloud Pub/Sub overview]{@link https://developers.google.com/pubsub/overview} * * @param {object} options - [Configuration object](#/docs). */ diff --git a/packages/pubsub/src/subscription.js b/packages/pubsub/src/subscription.js index e3e759d1d00..e49f6479c3d 100644 --- a/packages/pubsub/src/subscription.js +++ b/packages/pubsub/src/subscription.js @@ -60,7 +60,7 @@ var PUBSUB_API_TIMEOUT = 90000; * response before the connection is broken. (default: 90000) */ /** - * A Subscription object will give you access to your Google Cloud Pub/Sub + * A Subscription object will give you access to your Cloud Pub/Sub * subscription. * * Subscriptions are sometimes retrieved when using various methods: @@ -302,7 +302,7 @@ function Subscription(pubsub, options) { * * *The IAM access control features described in this document are Beta, * including the API methods to get and set IAM policies, and to test IAM - * permissions. Google Cloud Pub/Sub's use of IAM features is not covered by + * permissions. Cloud Pub/Sub's use of IAM features is not covered by * any SLA or deprecation policy, and may be subject to backward-incompatible * changes.* * diff --git a/packages/pubsub/src/topic.js b/packages/pubsub/src/topic.js index ffead1a73d5..ab58d94f584 100644 --- a/packages/pubsub/src/topic.js +++ b/packages/pubsub/src/topic.js @@ -39,7 +39,7 @@ var IAM = require('./iam.js'); * @param {string} name - Name of the topic. */ /** - * A Topic object allows you to interact with a Google Cloud Pub/Sub topic. + * A Topic object allows you to interact with a Cloud Pub/Sub topic. * * @constructor * @alias module:pubsub/topic @@ -197,7 +197,7 @@ function Topic(pubsub, name) { * * *The IAM access control features described in this document are Beta, * including the API methods to get and set IAM policies, and to test IAM - * permissions. Google Cloud Pub/Sub's use of IAM features is not covered by + * permissions. Cloud Pub/Sub's use of IAM features is not covered by * any SLA or deprecation policy, and may be subject to backward-incompatible * changes.* * diff --git a/packages/resource/README.md b/packages/resource/README.md index 225e315275c..ff985a709ac 100644 --- a/packages/resource/README.md +++ b/packages/resource/README.md @@ -1,5 +1,5 @@ # @google-cloud/resource ([Alpha][versioning]) -> Google Cloud Resource Manager Client Library for Node.js +> Cloud Resource Manager Client Library for Node.js *Looking for more Google APIs than just Resource Manager? You might want to check out [`google-cloud`][google-cloud].* @@ -44,7 +44,7 @@ var resource = require('@google-cloud/resource')({ ## Authentication -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 Google Cloud services. +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 @@ -62,7 +62,7 @@ If you are not running this client on Google Cloud Platform, you need a Google D 1. Visit the [Google Developers Console][dev-console]. 2. Create a new project or click on an existing project. 3. Navigate to **APIs & auth** > **APIs section** and turn on the following APIs (you may need to enable billing in order to use these services): - * Google Cloud Resource Manager API + * Cloud Resource Manager API 4. 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. diff --git a/packages/resource/package.json b/packages/resource/package.json index 70afabf3908..982bf686962 100644 --- a/packages/resource/package.json +++ b/packages/resource/package.json @@ -2,7 +2,7 @@ "name": "@google-cloud/resource", "version": "0.6.0", "author": "Google Inc.", - "description": "Google Cloud Resource Manager Client Library for Node.js", + "description": "Cloud Resource Manager Client Library for Node.js", "contributors": [ { "name": "Burcu Dogan", diff --git a/packages/resource/src/index.js b/packages/resource/src/index.js index 7bdbb8337fd..de2ddba706f 100644 --- a/packages/resource/src/index.js +++ b/packages/resource/src/index.js @@ -45,7 +45,7 @@ var Project = require('./project.js'); * @alias module:resource * @constructor * - * @resource [What is the Google Cloud Resource Manager?]{@link https://cloud.google.com/resource-manager} + * @resource [What is the Cloud Resource Manager?]{@link https://cloud.google.com/resource-manager} * * @param {object} options - [Configuration object](#/docs). */ diff --git a/packages/spanner/README.md b/packages/spanner/README.md index 50ff6267b4e..d99ce157f47 100644 --- a/packages/spanner/README.md +++ b/packages/spanner/README.md @@ -72,7 +72,7 @@ database.runStream('SELECT * FROM Singers') ## Authentication -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 Google Cloud services. +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 diff --git a/packages/spanner/src/admin/instance/v1/instance_admin_client.js b/packages/spanner/src/admin/instance/v1/instance_admin_client.js index f46fe62c0cb..6574bd21c4e 100644 --- a/packages/spanner/src/admin/instance/v1/instance_admin_client.js +++ b/packages/spanner/src/admin/instance/v1/instance_admin_client.js @@ -1095,7 +1095,7 @@ InstanceAdminClient.prototype.getIamPolicy = function(request, options, callback * * Attempting this RPC on a non-existent Cloud Spanner instance resource will * result in a NOT_FOUND error if the user has `spanner.instances.list` - * permission on the containing Google Cloud Project. Otherwise returns an + * permission on the containing Cloud Project. Otherwise returns an * empty set of permissions. * * @param {Object} request diff --git a/packages/speech/README.md b/packages/speech/README.md index fb0d872e9ec..1b22b3af82a 100644 --- a/packages/speech/README.md +++ b/packages/speech/README.md @@ -1,5 +1,5 @@ # @google-cloud/speech ([Alpha][versioning]) -> Google Cloud Speech Client Library for Node.js +> Cloud Speech Client Library for Node.js *Looking for more Google APIs than just Speech? You might want to check out [`google-cloud`][google-cloud].* @@ -74,7 +74,7 @@ var speech = require('@google-cloud/speech')({ ## Authentication -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 Google Cloud services. +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 @@ -92,7 +92,7 @@ If you are not running this client on Google Cloud Platform, you need a Google D 1. Visit the [Google Developers Console][dev-console]. 2. Create a new project or click on an existing project. 3. Navigate to **APIs & auth** > **APIs section** and turn on the following APIs (you may need to enable billing in order to use these services): - * Google Cloud Speech API + * Cloud Speech API 4. 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. diff --git a/packages/speech/package.json b/packages/speech/package.json index a904418c89e..6f2817f9cc1 100644 --- a/packages/speech/package.json +++ b/packages/speech/package.json @@ -2,7 +2,7 @@ "name": "@google-cloud/speech", "version": "0.6.0", "author": "Google Inc.", - "description": "Google Cloud Speech Client Library for Node.js", + "description": "Cloud Speech Client Library for Node.js", "contributors": [ { "name": "Burcu Dogan", diff --git a/packages/speech/src/index.js b/packages/speech/src/index.js index 790692d34f7..cac965e5eda 100644 --- a/packages/speech/src/index.js +++ b/packages/speech/src/index.js @@ -183,7 +183,7 @@ Speech.findFile_ = function(file, callback) { } if (is.string(file) && file.indexOf('gs://') === 0) { - // File is a Google Cloud Storage URI. + // File is a Cloud Storage URI. callback(null, { uri: file }); @@ -365,7 +365,7 @@ Speech.formatResults_ = function(resultSets, verboseMode) { * property, a `confidence` score from `0` - `100`, and an `alternatives` * array consisting of other transcription possibilities. * - * Google Cloud Speech sets the limits for the audio duration. For more + * Cloud Speech sets the limits for the audio duration. For more * information, see * [Content Limits]{@link https://cloud.google.com/speech/limits#content}. * diff --git a/packages/speech/src/v1beta1/speech_client.js b/packages/speech/src/v1beta1/speech_client.js index a1af5372956..30f6b234657 100644 --- a/packages/speech/src/v1beta1/speech_client.js +++ b/packages/speech/src/v1beta1/speech_client.js @@ -50,7 +50,7 @@ var ALL_SCOPES = [ ]; /** - * Service that implements Google Cloud Speech API. + * Service that implements Cloud Speech API. * * This will be created through a builder function which can be obtained by the module. * See the following example of how to initialize the module and how to access to the builder. diff --git a/packages/storage/README.md b/packages/storage/README.md index c9db96d1451..640d02dc284 100644 --- a/packages/storage/README.md +++ b/packages/storage/README.md @@ -1,5 +1,5 @@ # @google-cloud/storage ([Beta][versioning]) -> Google Cloud Storage Client Library for Node.js +> Cloud Storage Client Library for Node.js *Looking for more Google APIs than just Storage? You might want to check out [`google-cloud`][google-cloud].* @@ -63,7 +63,7 @@ var gcs = require('@google-cloud/storage')({ ## Authentication -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 Google Cloud services. +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 @@ -81,8 +81,8 @@ If you are not running this client on Google Cloud Platform, you need a Google D 1. Visit the [Google Developers Console][dev-console]. 2. Create a new project or click on an existing project. 3. Navigate to **APIs & auth** > **APIs section** and turn on the following APIs (you may need to enable billing in order to use these services): - * Google Cloud Storage - * Google Cloud Storage JSON API + * Cloud Storage + * Cloud Storage JSON API 4. 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. diff --git a/packages/storage/package.json b/packages/storage/package.json index f57d0bdac2b..aa25c01e3cc 100644 --- a/packages/storage/package.json +++ b/packages/storage/package.json @@ -2,7 +2,7 @@ "name": "@google-cloud/storage", "version": "0.7.0", "author": "Google Inc.", - "description": "Google Cloud Storage Client Library for Node.js", + "description": "Cloud Storage Client Library for Node.js", "contributors": [ { "name": "Burcu Dogan", diff --git a/packages/storage/src/acl.js b/packages/storage/src/acl.js index bb14b050e3c..9df0ef10379 100644 --- a/packages/storage/src/acl.js +++ b/packages/storage/src/acl.js @@ -26,7 +26,7 @@ var is = require('is'); var util = require('util'); /** - * Google Cloud Storage uses access control lists (ACLs) to manage object and + * Cloud Storage uses access control lists (ACLs) to manage object and * bucket access. ACLs are the mechanism you use to share objects with other * users and allow other users to access your buckets and objects. * diff --git a/packages/storage/src/bucket.js b/packages/storage/src/bucket.js index 7584bed2c9e..3e08c73d73b 100644 --- a/packages/storage/src/bucket.js +++ b/packages/storage/src/bucket.js @@ -52,7 +52,7 @@ var File = require('./file.js'); var RESUMABLE_THRESHOLD = 5000000; /** - * Create a Bucket object to interact with a Google Cloud Storage bucket. + * Create a Bucket object to interact with a Cloud Storage bucket. * * @constructor * @alias module:storage/bucket @@ -242,7 +242,7 @@ function Bucket(storage, name) { this.storage = storage; /** - * Google Cloud Storage uses access control lists (ACLs) to manage object and + * Cloud Storage uses access control lists (ACLs) to manage object and * bucket access. ACLs are the mechanism you use to share objects with other * users and allow other users to access your buckets and objects. * @@ -294,7 +294,7 @@ function Bucket(storage, name) { }); /** - * Google Cloud Storage Buckets have [default ACLs](http://goo.gl/YpGdyv) for + * Cloud Storage Buckets have [default ACLs](http://goo.gl/YpGdyv) for * all created files. You can add, delete, get, and update entities and * permissions for these as well. The method signatures and examples are all * the same, after only prefixing the method call with `default`. diff --git a/packages/storage/src/channel.js b/packages/storage/src/channel.js index 393adc34c28..03f8f746253 100644 --- a/packages/storage/src/channel.js +++ b/packages/storage/src/channel.js @@ -28,7 +28,7 @@ var util = require('util'); * @param {module:storage} storage - The Storage instance. */ /** - * Create a channel object to interact with a Google Cloud Storage channel. + * Create a channel object to interact with a Cloud Storage channel. * * @resource [Object Change Notification]{@link https://cloud.google.com/storage/docs/object-change-notification} * diff --git a/packages/storage/src/file.js b/packages/storage/src/file.js index 23a7e1e8397..bf9539b3b6e 100644 --- a/packages/storage/src/file.js +++ b/packages/storage/src/file.js @@ -274,7 +274,7 @@ function File(bucket, name, options) { } /** - * Google Cloud Storage uses access control lists (ACLs) to manage object and + * Cloud Storage uses access control lists (ACLs) to manage object and * bucket access. ACLs are the mechanism you use to share objects with other * users and allow other users to access your buckets and objects. * @@ -1629,7 +1629,7 @@ File.prototype.makePublic = function(callback) { * a Bucket or File object or a URL beginning with "gs://". * * **Warning**: - * There is currently no atomic `move` method in the Google Cloud Storage API, + * There is currently no atomic `move` method in the Cloud Storage API, * so this method is a composition of {module:storage/file#copy} (to the new * location) and {module:storage/file#delete} (from the old location). While * unlikely, it is possible that an error returned to your callback could be diff --git a/packages/storage/src/index.js b/packages/storage/src/index.js index 79411619c03..3124a89d0fd 100644 --- a/packages/storage/src/index.js +++ b/packages/storage/src/index.js @@ -54,7 +54,7 @@ var File = require('./file.js'); */ /** *

ACLs

- * Google Cloud Storage uses access control lists (ACLs) to manage object and + * Cloud Storage uses access control lists (ACLs) to manage object and * bucket access. ACLs are the mechanism you use to share files with other users * and allow other users to access your buckets and files. * @@ -64,7 +64,7 @@ var File = require('./file.js'); * @alias module:storage * @constructor * - * @resource [Google Cloud Storage overview]{@link https://cloud.google.com/storage/docs/overview} + * @resource [Cloud Storage overview]{@link https://cloud.google.com/storage/docs/overview} * @resource [Access Control]{@link https://cloud.google.com/storage/docs/access-control} * * @param {object} options - [Configuration object](#/docs). @@ -90,7 +90,7 @@ function Storage(options) { util.inherits(Storage, common.Service); /** - * Google Cloud Storage uses access control lists (ACLs) to manage object and + * Cloud Storage uses access control lists (ACLs) to manage object and * bucket access. ACLs are the mechanism you use to share objects with other * users and allow other users to access your buckets and objects. * @@ -148,7 +148,7 @@ Storage.acl = { Storage.prototype.acl = Storage.acl; /** - * Get a reference to a Google Cloud Storage bucket. + * Get a reference to a Cloud Storage bucket. * * @param {object|string} name - Name of the bucket. * @return {module:storage/bucket} @@ -159,7 +159,7 @@ Storage.prototype.acl = Storage.acl; */ Storage.prototype.bucket = function(name) { if (!name) { - throw new Error('A bucket name is needed to use Google Cloud Storage.'); + throw new Error('A bucket name is needed to use Cloud Storage.'); } return new Bucket(this, name); @@ -182,7 +182,7 @@ Storage.prototype.channel = function(id, resourceId) { /** * Create a bucket. * - * Google Cloud Storage uses a flat namespace, so you can't create a bucket with + * Cloud Storage uses a flat namespace, so you can't create a bucket with * a name that is already in use. For more information, see * [Bucket Naming Guidelines](https://cloud.google.com/storage/docs/bucketnaming.html#requirements). * diff --git a/packages/storage/test/index.js b/packages/storage/test/index.js index 7d1ac7f8c65..b1e020809d6 100644 --- a/packages/storage/test/index.js +++ b/packages/storage/test/index.js @@ -137,7 +137,7 @@ describe('Storage', function() { it('should throw if no name was provided', function() { assert.throws(function() { storage.bucket(); - }, /A bucket name is needed to use Google Cloud Storage\./); + }, /A bucket name is needed to use Cloud Storage\./); }); it('should accept a string for a name', function() { diff --git a/packages/translate/README.md b/packages/translate/README.md index 598598eba20..a10b336e8fe 100644 --- a/packages/translate/README.md +++ b/packages/translate/README.md @@ -1,5 +1,5 @@ # @google-cloud/translate ([Alpha][versioning]) -> Google Cloud Translation API Client Library for Node.js +> Cloud Translation API Client Library for Node.js *Looking for more Google APIs than just Translation? You might want to check out [`google-cloud`][google-cloud].* @@ -60,7 +60,7 @@ var translate = require('@google-cloud/translate')({ ## Authentication -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 Google Cloud services. +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 @@ -78,7 +78,7 @@ If you are not running this client on Google Cloud Platform, you need a Google D 1. Visit the [Google Developers Console][dev-console]. 2. Create a new project or click on an existing project. 3. Navigate to **APIs & auth** > **APIs section** and turn on the following APIs (you may need to enable billing in order to use these services): - * Google Cloud Translation API + * Cloud Translation API 4. 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. diff --git a/packages/translate/package.json b/packages/translate/package.json index 4af74e3df28..44a8be43317 100644 --- a/packages/translate/package.json +++ b/packages/translate/package.json @@ -2,7 +2,7 @@ "name": "@google-cloud/translate", "version": "0.7.0", "author": "Google Inc.", - "description": "Google Cloud Translation API Client Library for Node.js", + "description": "Cloud Translation API Client Library for Node.js", "contributors": [ { "name": "Burcu Dogan", diff --git a/packages/vision/README.md b/packages/vision/README.md index 35894b20545..dd1d9d1965b 100644 --- a/packages/vision/README.md +++ b/packages/vision/README.md @@ -1,5 +1,5 @@ # @google-cloud/vision ([Alpha][versioning]) -> Google Cloud Vision Client Library for Node.js +> Cloud Vision Client Library for Node.js *Looking for more Google APIs than just Vision? You might want to check out [`google-cloud`][google-cloud].* @@ -120,7 +120,7 @@ var vision = require('@google-cloud/vision')({ ## Authentication -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 Google Cloud services. +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 @@ -138,7 +138,7 @@ If you are not running this client on Google Cloud Platform, you need a Google D 1. Visit the [Google Developers Console][dev-console]. 2. Create a new project or click on an existing project. 3. Navigate to **APIs & auth** > **APIs section** and turn on the following APIs (you may need to enable billing in order to use these services): - * Google Cloud Vision API + * Cloud Vision API 4. Navigate to **APIs & auth** > **Credentials** and then: * If you want to use a new service account, click on **Create new Client ID** and select **Service account**. After the account 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 key for an existing service account, click on **Generate new JSON key** and download the JSON key file. diff --git a/packages/vision/package.json b/packages/vision/package.json index 887d7465527..adce2679e76 100644 --- a/packages/vision/package.json +++ b/packages/vision/package.json @@ -2,7 +2,7 @@ "name": "@google-cloud/vision", "version": "0.8.0", "author": "Google Inc.", - "description": "Google Cloud Vision Client Library for Node.js", + "description": "Cloud Vision Client Library for Node.js", "contributors": [ { "name": "Burcu Dogan", diff --git a/packages/vision/src/v1/image_annotator_client.js b/packages/vision/src/v1/image_annotator_client.js index 1a6e4b4c8f6..14e8057829e 100644 --- a/packages/vision/src/v1/image_annotator_client.js +++ b/packages/vision/src/v1/image_annotator_client.js @@ -46,7 +46,7 @@ var ALL_SCOPES = [ ]; /** - * Service that performs Google Cloud Vision API detection tasks, such as face, + * Service that performs Cloud Vision API detection tasks, such as face, * landmark, logo, label, and text detection, over client images, and returns * detected entities from the images. * diff --git a/packages/vision/system-test/vision.js b/packages/vision/system-test/vision.js index 43c8bad1c38..b2e565a6309 100644 --- a/packages/vision/system-test/vision.js +++ b/packages/vision/system-test/vision.js @@ -511,8 +511,8 @@ describe('Vision', function() { describe('text', function() { var expectedResults = [ normalizeNewline(multiline.stripIndent(function() {/* - Google Cloud Client Library for Node js an idiomatic, intuitive, and - natural way for Node.js developers to integrate with Google Cloud + Cloud Client Library for Node js an idiomatic, intuitive, and + natural way for Node.js developers to integrate with Cloud Platform services, like Cloud Datastore and Cloud Storage. */})) diff --git a/scripts/docs/config.js b/scripts/docs/config.js index 0be870322da..099b1c7d2b9 100644 --- a/scripts/docs/config.js +++ b/scripts/docs/config.js @@ -44,57 +44,57 @@ module.exports = { instanceName: 'gcloud' }, bigquery: { - title: 'Google BigQuery' + title: 'BigQuery' }, bigtable: { - title: 'Google Cloud Bigtable' + title: 'Cloud Bigtable' }, compute: { title: 'Google Compute Engine', instanceName: 'gce' }, datastore: { - title: 'Google Cloud Datastore' + title: 'Cloud Datastore' }, dns: { - title: 'Google Cloud DNS' + title: 'Cloud DNS' }, language: { - title: 'Google Cloud Natural Language' + title: 'Cloud Natural Language' }, logging: { - title: 'Google Cloud Logging' + title: 'Cloud Logging' }, 'logging-winston': { skip: true }, monitoring: { - title: 'Google Cloud Monitoring' + title: 'Cloud Monitoring' }, prediction: { - title: 'Google Prediction API' + title: 'Prediction API' }, pubsub: { - title: 'Google Cloud Pub/Sub' + title: 'Cloud Pub/Sub' }, resource: { - title: 'Google Cloud Resource Manager' + title: 'Cloud Resource Manager' }, spanner: { title: 'Cloud Spanner' }, speech: { - title: 'Google Cloud Speech API' + title: 'Cloud Speech API' }, storage: { - title: 'Google Cloud Storage', + title: 'Cloud Storage', instanceName: 'gcs' }, translate: { - title: 'Google Cloud Translation API' + title: 'Cloud Translation API' }, vision: { - title: 'Google Cloud Vision' + title: 'Cloud Vision' } } }; From 136cf5ce6bad1d20f141f1a5fd8f687ba214f393 Mon Sep 17 00:00:00 2001 From: Dave Gramlich Date: Thu, 2 Mar 2017 16:11:12 -0500 Subject: [PATCH 2/3] addressing pr feedback --- README.md | 188 +++++++++++++++++------------------ packages/dns/README.md | 2 +- packages/language/README.md | 2 +- packages/pubsub/README.md | 2 +- packages/resource/README.md | 2 +- packages/speech/README.md | 2 +- packages/storage/README.md | 4 +- packages/translate/README.md | 2 +- packages/vision/README.md | 2 +- scripts/docs/config.js | 2 +- 10 files changed, 104 insertions(+), 104 deletions(-) diff --git a/README.md b/README.md index 38ef2b1bc18..b54cd9fe5da 100644 --- a/README.md +++ b/README.md @@ -18,12 +18,12 @@ This client supports the following Google Cloud Platform services at a [Beta](#v This client supports the following Google Cloud Platform services at an [Alpha](#versioning) quality level: -* [Cloud Spanner](#cloud-spanner-alpha) (Alpha) * [Cloud Bigtable](#google-cloud-bigtable-alpha) (Alpha) * [Cloud DNS](#google-cloud-dns-alpha) (Alpha) * [Cloud Natural Language](#google-cloud-natural-language-alpha) (Alpha) * [Cloud Pub/Sub](#google-cloud-pubsub-alpha) (Alpha) * [Cloud Resource Manager](#google-cloud-resource-manager-alpha) (Alpha) +* [Cloud Spanner](#cloud-spanner-alpha) (Alpha) * [Cloud Speech](#google-cloud-speech-alpha) (Alpha) * [Cloud Translation API](#google-cloud-translation-api-alpha) (Alpha) * [Cloud Vision](#google-cloud-vision-alpha) (Alpha) @@ -77,18 +77,18 @@ If you are not running this client on Google Cloud Platform, you need a Google D * Cloud Bigtable API * Cloud Bigtable Admin API * Cloud Bigtable Table Admin API - * Cloud Spanner API * Cloud Datastore API * Cloud DNS API * Cloud Natural Language API * Cloud Pub/Sub API * Cloud Resource Manager API + * Cloud Spanner API * Cloud Speech API * Cloud Storage * Cloud Storage JSON API * Cloud Translation API * Cloud Vision API - * Google Compute Engine API + * Compute Engine API * Prediction API * Stackdriver Logging API 4. Navigate to **APIs & auth** > **Credentials** and then: @@ -391,97 +391,6 @@ loggingClient.getEntries(function(err, entries) { ``` -## Cloud Spanner (Alpha) - -- [API Documentation][gcloud-spanner-docs] -- [Official Documentation][cloud-spanner-docs] - -#### Using the all-in-one module - -``` -$ npm install --save google-cloud -``` - -```js -var gcloud = require('google-cloud'); -var spanner = gcloud.spanner; -``` - -#### Using the Cloud Spanner API module - -``` -$ npm install --save @google-cloud/spanner -``` - -```js -var spanner = require('@google-cloud/spanner'); -``` - -#### Preview - -```js -// Authenticating on a per-API-basis. You don't need to do this if you auth on a -// global basis (see Authentication section above). - -var spannerClient = spanner({ - projectId: 'grape-spaceship-123', - keyFilename: '/path/to/keyfile.json' -}); - -var instance = spannerClient.instance('my-instance'); -var database = instance.database('my-database'); - -// Create a table. -var schema = - 'CREATE TABLE Singers (' + - ' SingerId INT64 NOT NULL,' + - ' FirstName STRING(1024),' + - ' LastName STRING(1024),' + - ' SingerInfo BYTES(MAX),' + - ') PRIMARY KEY(SingerId)'; - -database.createTable(schema, function(err, table, operation) { - if (err) { - // Error handling omitted. - } - - operation - .on('error', function(err) {}) - .on('complete', function() { - // Table created successfully. - }); -}); - -// Insert data into the table. -var table = database.table('Singers'); - -table.insert({ - SingerId: 10, - FirstName: 'Eddie', - LastName: 'Wilson' -}, function(err) { - if (!err) { - // Row inserted successfully. - } -}); - -// Run a query as a readable object stream. -database.runStream('SELECT * FROM Singers') - .on('error', function(err) {}) - .on('data', function(row) { - // row.toJSON() = { - // SingerId: 10, - // FirstName: 'Eddie', - // LastName: 'Wilson' - // } - } - }) - .on('end', function() { - // All results retrieved. - }); -``` - - ## Cloud Bigtable (Alpha) - [API Documentation][gcloud-bigtable-docs] @@ -805,6 +714,97 @@ project.getMetadata(function(err, metadata) { ``` +## Cloud Spanner (Alpha) + +- [API Documentation][gcloud-spanner-docs] +- [Official Documentation][cloud-spanner-docs] + +#### Using the all-in-one module + +``` +$ npm install --save google-cloud +``` + +```js +var gcloud = require('google-cloud'); +var spanner = gcloud.spanner; +``` + +#### Using the Cloud Spanner API module + +``` +$ npm install --save @google-cloud/spanner +``` + +```js +var spanner = require('@google-cloud/spanner'); +``` + +#### Preview + +```js +// Authenticating on a per-API-basis. You don't need to do this if you auth on a +// global basis (see Authentication section above). + +var spannerClient = spanner({ + projectId: 'grape-spaceship-123', + keyFilename: '/path/to/keyfile.json' +}); + +var instance = spannerClient.instance('my-instance'); +var database = instance.database('my-database'); + +// Create a table. +var schema = + 'CREATE TABLE Singers (' + + ' SingerId INT64 NOT NULL,' + + ' FirstName STRING(1024),' + + ' LastName STRING(1024),' + + ' SingerInfo BYTES(MAX),' + + ') PRIMARY KEY(SingerId)'; + +database.createTable(schema, function(err, table, operation) { + if (err) { + // Error handling omitted. + } + + operation + .on('error', function(err) {}) + .on('complete', function() { + // Table created successfully. + }); +}); + +// Insert data into the table. +var table = database.table('Singers'); + +table.insert({ + SingerId: 10, + FirstName: 'Eddie', + LastName: 'Wilson' +}, function(err) { + if (!err) { + // Row inserted successfully. + } +}); + +// Run a query as a readable object stream. +database.runStream('SELECT * FROM Singers') + .on('error', function(err) {}) + .on('data', function(row) { + // row.toJSON() = { + // SingerId: 10, + // FirstName: 'Eddie', + // LastName: 'Wilson' + // } + } + }) + .on('end', function() { + // All results retrieved. + }); +``` + + ## Cloud Speech (Alpha) - [API Documentation][gcloud-speech-docs] diff --git a/packages/dns/README.md b/packages/dns/README.md index 52ff6a096d0..c42a3f3a91d 100644 --- a/packages/dns/README.md +++ b/packages/dns/README.md @@ -68,7 +68,7 @@ If you are not running this client on Google Cloud Platform, you need a Google D 1. Visit the [Google Developers Console][dev-console]. 2. Create a new project or click on an existing project. 3. Navigate to **APIs & auth** > **APIs section** and turn on the following APIs (you may need to enable billing in order to use these services): - * Cloud DNS API + * Google Cloud DNS API 4. 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. diff --git a/packages/language/README.md b/packages/language/README.md index 0ee09929a72..c5ecfb6b059 100644 --- a/packages/language/README.md +++ b/packages/language/README.md @@ -91,7 +91,7 @@ If you are not running this client on Google Cloud Platform, you need a Google D 1. Visit the [Google Developers Console][dev-console]. 2. Create a new project or click on an existing project. 3. Navigate to **APIs & auth** > **APIs section** and turn on the following APIs (you may need to enable billing in order to use these services): - * Cloud Natural Language API + * Google Cloud Natural Language API 4. 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. diff --git a/packages/pubsub/README.md b/packages/pubsub/README.md index 81fb4f83a7f..eae849cf6eb 100644 --- a/packages/pubsub/README.md +++ b/packages/pubsub/README.md @@ -67,7 +67,7 @@ If you are not running this client on Google Cloud Platform, you need a Google D 1. Visit the [Google Developers Console][dev-console]. 2. Create a new project or click on an existing project. 3. Navigate to **APIs & auth** > **APIs section** and turn on the following APIs (you may need to enable billing in order to use these services): - * Cloud Pub/Sub API + * Google Cloud Pub/Sub API 4. 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. diff --git a/packages/resource/README.md b/packages/resource/README.md index ff985a709ac..55cc0a285b1 100644 --- a/packages/resource/README.md +++ b/packages/resource/README.md @@ -62,7 +62,7 @@ If you are not running this client on Google Cloud Platform, you need a Google D 1. Visit the [Google Developers Console][dev-console]. 2. Create a new project or click on an existing project. 3. Navigate to **APIs & auth** > **APIs section** and turn on the following APIs (you may need to enable billing in order to use these services): - * Cloud Resource Manager API + * Google Cloud Resource Manager API 4. 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. diff --git a/packages/speech/README.md b/packages/speech/README.md index 1b22b3af82a..55cfd6f5866 100644 --- a/packages/speech/README.md +++ b/packages/speech/README.md @@ -92,7 +92,7 @@ If you are not running this client on Google Cloud Platform, you need a Google D 1. Visit the [Google Developers Console][dev-console]. 2. Create a new project or click on an existing project. 3. Navigate to **APIs & auth** > **APIs section** and turn on the following APIs (you may need to enable billing in order to use these services): - * Cloud Speech API + * Google Cloud Speech API 4. 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. diff --git a/packages/storage/README.md b/packages/storage/README.md index 640d02dc284..8b6ba270a6f 100644 --- a/packages/storage/README.md +++ b/packages/storage/README.md @@ -81,8 +81,8 @@ If you are not running this client on Google Cloud Platform, you need a Google D 1. Visit the [Google Developers Console][dev-console]. 2. Create a new project or click on an existing project. 3. Navigate to **APIs & auth** > **APIs section** and turn on the following APIs (you may need to enable billing in order to use these services): - * Cloud Storage - * Cloud Storage JSON API + * Google Cloud Storage + * Google Cloud Storage JSON API 4. 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. diff --git a/packages/translate/README.md b/packages/translate/README.md index a10b336e8fe..042af369176 100644 --- a/packages/translate/README.md +++ b/packages/translate/README.md @@ -78,7 +78,7 @@ If you are not running this client on Google Cloud Platform, you need a Google D 1. Visit the [Google Developers Console][dev-console]. 2. Create a new project or click on an existing project. 3. Navigate to **APIs & auth** > **APIs section** and turn on the following APIs (you may need to enable billing in order to use these services): - * Cloud Translation API + * Google Cloud Translation API 4. 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. diff --git a/packages/vision/README.md b/packages/vision/README.md index dd1d9d1965b..5ecc6f33631 100644 --- a/packages/vision/README.md +++ b/packages/vision/README.md @@ -138,7 +138,7 @@ If you are not running this client on Google Cloud Platform, you need a Google D 1. Visit the [Google Developers Console][dev-console]. 2. Create a new project or click on an existing project. 3. Navigate to **APIs & auth** > **APIs section** and turn on the following APIs (you may need to enable billing in order to use these services): - * Cloud Vision API + * Google Cloud Vision API 4. Navigate to **APIs & auth** > **Credentials** and then: * If you want to use a new service account, click on **Create new Client ID** and select **Service account**. After the account 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 key for an existing service account, click on **Generate new JSON key** and download the JSON key file. diff --git a/scripts/docs/config.js b/scripts/docs/config.js index 099b1c7d2b9..ba478aae623 100644 --- a/scripts/docs/config.js +++ b/scripts/docs/config.js @@ -50,7 +50,7 @@ module.exports = { title: 'Cloud Bigtable' }, compute: { - title: 'Google Compute Engine', + title: 'Compute Engine', instanceName: 'gce' }, datastore: { From 5884bf384034ee88e0484d8022f7da184eaffb23 Mon Sep 17 00:00:00 2001 From: Dave Gramlich Date: Thu, 2 Mar 2017 16:26:03 -0500 Subject: [PATCH 3/3] reverting console references --- README.md | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index b54cd9fe5da..3803ceb04f4 100644 --- a/README.md +++ b/README.md @@ -18,16 +18,16 @@ This client supports the following Google Cloud Platform services at a [Beta](#v This client supports the following Google Cloud Platform services at an [Alpha](#versioning) quality level: -* [Cloud Bigtable](#google-cloud-bigtable-alpha) (Alpha) -* [Cloud DNS](#google-cloud-dns-alpha) (Alpha) -* [Cloud Natural Language](#google-cloud-natural-language-alpha) (Alpha) -* [Cloud Pub/Sub](#google-cloud-pubsub-alpha) (Alpha) -* [Cloud Resource Manager](#google-cloud-resource-manager-alpha) (Alpha) +* [Cloud Bigtable](#cloud-bigtable-alpha) (Alpha) +* [Cloud DNS](#cloud-dns-alpha) (Alpha) +* [Cloud Natural Language](#cloud-natural-language-alpha) (Alpha) +* [Cloud Pub/Sub](#cloud-pubsub-alpha) (Alpha) +* [Cloud Resource Manager](#cloud-resource-manager-alpha) (Alpha) * [Cloud Spanner](#cloud-spanner-alpha) (Alpha) -* [Cloud Speech](#google-cloud-speech-alpha) (Alpha) -* [Cloud Translation API](#google-cloud-translation-api-alpha) (Alpha) -* [Cloud Vision](#google-cloud-vision-alpha) (Alpha) -* [Google Compute Engine](#google-compute-engine-alpha) (Alpha) +* [Cloud Speech](#cloud-speech-alpha) (Alpha) +* [Cloud Translation API](#cloud-translation-api-alpha) (Alpha) +* [Cloud Vision](#cloud-vision-alpha) (Alpha) +* [Google Compute Engine](#compute-engine-alpha) (Alpha) * [Google Prediction API](#google-prediction-api-alpha) (Alpha) * [Google Stackdriver Monitoring](#google-stackdriver-monitoring-alpha) (Alpha) @@ -77,18 +77,18 @@ If you are not running this client on Google Cloud Platform, you need a Google D * Cloud Bigtable API * Cloud Bigtable Admin API * Cloud Bigtable Table Admin API - * Cloud Datastore API - * Cloud DNS API - * Cloud Natural Language API - * Cloud Pub/Sub API - * Cloud Resource Manager API * Cloud Spanner API - * Cloud Speech API - * Cloud Storage - * Cloud Storage JSON API - * Cloud Translation API - * Cloud Vision API - * Compute Engine API + * Google Cloud Datastore API + * Google Cloud DNS 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 * Prediction API * Stackdriver Logging API 4. Navigate to **APIs & auth** > **Credentials** and then: