Skip to content

Commit 50839d5

Browse files
fix: fully deprecate the package (#2832)
1 parent 5ac79ee commit 50839d5

32 files changed

Lines changed: 2 additions & 3866 deletions

.appveyor.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

.editorconfig

Lines changed: 0 additions & 13 deletions
This file was deleted.

.jscsrc

Lines changed: 0 additions & 31 deletions
This file was deleted.

.jshintignore

Lines changed: 0 additions & 7 deletions
This file was deleted.

.jshintrc

Lines changed: 0 additions & 35 deletions
This file was deleted.

.nycrc

Lines changed: 0 additions & 26 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
# Cloud Node.js Client
22
> Node.js idiomatic client for [Google Cloud Platform](https://cloud.google.com/) services.
33
4-
[![NPM Version](https://img.shields.io/npm/v/google-cloud.svg)](https://www.npmjs.org/package/google-cloud)
5-
[![CircleCI](https://circleci.com/gh/GoogleCloudPlatform/google-cloud-node/tree/master.svg?style=shield)](https://circleci.com/gh/GoogleCloudPlatform/google-cloud-node/tree/master)
6-
[![Appveyor Build Status](https://ci.appveyor.com/api/projects/status/github/GoogleCloudPlatform/google-cloud-node?svg=true)](https://ci.appveyor.com/project/GoogleCloudPlatform/google-cloud-node)
7-
[![Coverage Status](https://img.shields.io/coveralls/GoogleCloudPlatform/google-cloud-node.svg)](https://coveralls.io/r/GoogleCloudPlatform/google-cloud-node?branch=master)
8-
94
* [Homepage][gcloud-homepage]
105
* [API Documentation][gcloud-docs]
116

@@ -62,23 +57,7 @@ var storage = require('@google-cloud/storage')(config);
6257

6358
#### The google-cloud meta-package
6459

65-
We also provide a meta-package, `google-cloud`, which provides all of the individual APIs. However, in order to keep file size and memory use low, the use of this package is not recommended.
66-
67-
If you want the kitchen sink, however, get it with:
68-
69-
```sh
70-
$ npm install --save google-cloud
71-
```
72-
```js
73-
var gcloud = require('google-cloud')({
74-
projectId: 'grape-spaceship-123',
75-
keyFilename: '/path/to/keyfile.json'
76-
});
77-
78-
var datastore = gcloud.datastore();
79-
var storage = gcloud.storage();
80-
```
81-
60+
The meta-package, `google-cloud`, has been deprecated.
8261

8362
## Example Applications
8463

@@ -102,10 +81,6 @@ If you are running this client on Google Cloud Platform, we handle authenticatio
10281
``` js
10382
var storage = require('@google-cloud/storage')();
10483

105-
// If you're using the google-cloud meta-package:
106-
var gcloud = require('google-cloud');
107-
var storage = gcloud.storage();
108-
10984
// ...you're good to go! See the next section to get started using the APIs.
11085
```
11186

@@ -139,29 +114,6 @@ If you are not running this client on Google Cloud Platform, you need a Google D
139114
* 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.
140115
* 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.
141116

142-
``` js
143-
// Authenticating on a global basis.
144-
var projectId = process.env.GCLOUD_PROJECT; // E.g. 'grape-spaceship-123'
145-
146-
var gcloud = require('google-cloud')({
147-
projectId: projectId,
148-
149-
// The path to your key file:
150-
keyFilename: '/path/to/keyfile.json'
151-
152-
// Or the contents of the key file:
153-
credentials: require('./path/to/keyfile.json')
154-
155-
// For any APIs that accept an API key:
156-
key: '...'
157-
});
158-
159-
// ...you're good to go! See the next section to get started using the APIs.
160-
```
161-
162-
You can also set auth on a per-API-instance basis. The examples below show you how.
163-
164-
165117
## Cloud Datastore (GA)
166118

167119
- [API Documentation][gcloud-datastore-docs]

circle.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.

key.appveyor.json.enc

-2.39 KB
Binary file not shown.
-2.33 KB
Binary file not shown.

0 commit comments

Comments
 (0)