Skip to content

Commit cafd46b

Browse files
authored
Delete samples that have moved. (GoogleCloudPlatform#518)
1 parent 8e2b651 commit cafd46b

File tree

17 files changed

+9
-1140
lines changed

17 files changed

+9
-1140
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ recognition technologies into developer applications.
324324
View the [Cloud Speech API Node.js samples][speech_samples].
325325

326326
[speech_docs]: https://cloud.google.com/speech/
327-
[speech_samples]: speech
327+
[speech_samples]: https://github.com/googleapis/nodejs-speech/tree/master/samples
328328

329329
#### Google Translate API
330330

circle.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,6 @@ deployment:
100100
- node scripts/build "language/slackbot"
101101
- node scripts/build "prediction"
102102
- node scripts/build "pubsub"
103-
- node scripts/build "resource"
104-
- node scripts/build "speech"
105103
- node scripts/build "storage-transfer"
106104
- node scripts/build "trace"
107105
- node scripts/build "vision"

resource/README.md

Lines changed: 4 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,5 @@
1-
<img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>
1+
Samples for the [Google Cloud Resource Manager API Node.js Client][client] have moved
2+
to [github.com/googleapis/nodejs-resource/tree/master/samples/][samples].
23

3-
# Google Cloud Resource Manager API Node.js Samples
4-
5-
[![Build](https://storage.googleapis.com/cloud-docs-samples-badges/GoogleCloudPlatform/nodejs-docs-samples/nodejs-docs-samples-resource-manager.svg)]()
6-
7-
Google Cloud Platform provides container resources such as Organizations and Projects, that allow you to group and hierarchically organize other Cloud Platform resources. This hierarchical organization lets you easily manage common aspects of your resources such as access control and configuration settings. The [Cloud Resource Manager API](https://cloud.google.com/resource-manager/docs/) enables you to programmatically manage these container resources.
8-
9-
## Table of Contents
10-
11-
* [Setup](#setup)
12-
* [Samples](#samples)
13-
* [Projects](#projects)
14-
* [Running the tests](#running-the-tests)
15-
16-
## Setup
17-
18-
1. Read [Prerequisites][prereq] and [How to run a sample][run] first.
19-
1. Install dependencies:
20-
21-
With **npm**:
22-
23-
npm install
24-
25-
With **yarn**:
26-
27-
yarn install
28-
29-
[prereq]: ../README.md#prerequisites
30-
[run]: ../README.md#how-to-run-a-sample
31-
32-
## Samples
33-
34-
### Projects
35-
36-
View the [documentation][projects_0_docs] or the [source code][projects_0_code].
37-
38-
__Usage:__ `node projects.js --help`
39-
40-
```
41-
Commands:
42-
list List all current projects.
43-
44-
Options:
45-
--help Show help [boolean]
46-
47-
Examples:
48-
node projects.js list Lists all current projects.
49-
50-
For more information, see https://cloud.google.com/resource-manager/docs
51-
```
52-
53-
[projects_0_docs]: https://cloud.google.com/resource-manager/docs
54-
[projects_0_code]: projects.js
55-
56-
## Running the tests
57-
58-
1. Set the **GCLOUD_PROJECT** and **GOOGLE_APPLICATION_CREDENTIALS** environment variables.
59-
60-
1. Run the tests:
61-
62-
With **npm**:
63-
64-
npm test
65-
66-
With **yarn**:
67-
68-
yarn test
4+
[client]: https://github.com/googleapis/nodejs-resource
5+
[samples]: https://github.com/googleapis/nodejs-resource/tree/master/samples

resource/package.json

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

resource/projects.js

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

resource/quickstart.js

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

resource/system-test/projects.test.js

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

resource/system-test/quickstart.test.js

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

0 commit comments

Comments
 (0)