Skip to content

Commit

Permalink
Delete samples that have moved. (#518)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdobry authored and Ace Nassri committed Dec 4, 2017
1 parent 5b05641 commit e82db4b
Show file tree
Hide file tree
Showing 17 changed files with 9 additions and 1,140 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ recognition technologies into developer applications.
View the [Cloud Speech API Node.js samples][speech_samples].

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

#### Google Translate API

Expand Down
2 changes: 0 additions & 2 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@ deployment:
- node scripts/build "language/slackbot"
- node scripts/build "prediction"
- node scripts/build "pubsub"
- node scripts/build "resource"
- node scripts/build "speech"
- node scripts/build "storage-transfer"
- node scripts/build "trace"
- node scripts/build "vision"
71 changes: 4 additions & 67 deletions resource/README.md
Original file line number Diff line number Diff line change
@@ -1,68 +1,5 @@
<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"/>
Samples for the [Google Cloud Resource Manager API Node.js Client][client] have moved
to [github.com/googleapis/nodejs-resource/tree/master/samples/][samples].

# Google Cloud Resource Manager API Node.js Samples

[![Build](https://storage.googleapis.com/cloud-docs-samples-badges/GoogleCloudPlatform/nodejs-docs-samples/nodejs-docs-samples-resource-manager.svg)]()

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.

## Table of Contents

* [Setup](#setup)
* [Samples](#samples)
* [Projects](#projects)
* [Running the tests](#running-the-tests)

## Setup

1. Read [Prerequisites][prereq] and [How to run a sample][run] first.
1. Install dependencies:

With **npm**:

npm install

With **yarn**:

yarn install

[prereq]: ../README.md#prerequisites
[run]: ../README.md#how-to-run-a-sample

## Samples

### Projects

View the [documentation][projects_0_docs] or the [source code][projects_0_code].

__Usage:__ `node projects.js --help`

```
Commands:
list List all current projects.
Options:
--help Show help [boolean]
Examples:
node projects.js list Lists all current projects.
For more information, see https://cloud.google.com/resource-manager/docs
```

[projects_0_docs]: https://cloud.google.com/resource-manager/docs
[projects_0_code]: projects.js

## Running the tests

1. Set the **GCLOUD_PROJECT** and **GOOGLE_APPLICATION_CREDENTIALS** environment variables.

1. Run the tests:

With **npm**:

npm test

With **yarn**:

yarn test
[client]: https://github.com/googleapis/nodejs-resource
[samples]: https://github.com/googleapis/nodejs-resource/tree/master/samples
43 changes: 0 additions & 43 deletions resource/package.json

This file was deleted.

48 changes: 0 additions & 48 deletions resource/projects.js

This file was deleted.

41 changes: 0 additions & 41 deletions resource/quickstart.js

This file was deleted.

31 changes: 0 additions & 31 deletions resource/system-test/projects.test.js

This file was deleted.

55 changes: 0 additions & 55 deletions resource/system-test/quickstart.test.js

This file was deleted.

Loading

0 comments on commit e82db4b

Please sign in to comment.