diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index adbabc5dfb9..9aac602ca5e 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -26,8 +26,6 @@ To run the system tests, first create and configure a project in the Google Deve - **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_BIGTABLE_ZONE*** (*optional*): A zone containing a Google Cloud Bigtable cluster. -- ***GCLOUD_TESTS_BIGTABLE_CLUSTER*** (*optional*): A cluster used to create Bigtable Tables on. 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 8193f2c7458..0b4fa20180f 100644 --- a/README.md +++ b/README.md @@ -213,12 +213,11 @@ var bigtable = require('@google-cloud/bigtable'); var bigtableClient = bigtable({ projectId: 'grape-spaceship-123', - keyFilename: '/path/to/keyfile.json', - zone: 'my-zone', - cluster: 'my-cluster' + keyFilename: '/path/to/keyfile.json' }); -var table = bigtableClient.table('prezzy'); +var instance = bigtableClient.instance('my-instance'); +var table = instance.table('prezzy'); table.getRows(function(err, rows) {}); diff --git a/packages/bigtable/README.md b/packages/bigtable/README.md index a921f54c58a..02646df5aed 100644 --- a/packages/bigtable/README.md +++ b/packages/bigtable/README.md @@ -15,12 +15,11 @@ $ npm install --save @google-cloud/bigtable ```js var bigtable = require('@google-cloud/bigtable')({ projectId: 'grape-spaceship-123', - keyFilename: '/path/to/keyfile.json', - zone: 'my-zone', - cluster: 'my-cluster' + keyFilename: '/path/to/keyfile.json' }); -var table = bigtable.table('prezzy'); +var instance = bigtable.instance('my-instance'); +var table = instance.table('prezzy'); table.getRows(function(err, rows) {}); @@ -106,4 +105,4 @@ var bigtable = require('@google-cloud/bigtable')({ [dev-console]: https://console.developers.google.com/project [gcloud-bigtable-docs]: https://googlecloudplatform.github.io/google-cloud-node/#/docs/bigtable [cloud-bigtable-docs]: https://cloud.google.com/bigtable/docs -[cloud-bigtable-cluster]: https://cloud.google.com/bigtable/docs/creating-compute-instance \ No newline at end of file +[cloud-bigtable-cluster]: https://cloud.google.com/bigtable/docs/creating-compute-instance