forked from GoogleCloudPlatform/nodejs-docs-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove samples that have moved elsewhere. (GoogleCloudPlatform#504)
- Loading branch information
Showing
26 changed files
with
22 additions
and
2,497 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 DNS API Node.js Client][client] have moved | ||
to [github.com/googleapis/nodejs-dns/tree/master/samples/][samples]. | ||
|
||
# Google Cloud DNS Node.js Samples | ||
|
||
[]() | ||
|
||
[Cloud DNS](https://cloud.google.com/dns/docs/) allows you to publish your domain names using Google's infrastructure for production-quality, high-volume DNS services. Google's global network of anycast name servers provide reliable, low-latency authoritative name lookups for your domains from anywhere in the world. | ||
|
||
## Table of Contents | ||
|
||
* [Setup](#setup) | ||
* [Samples](#samples) | ||
* [Zones](#zones) | ||
* [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 | ||
|
||
### Zones | ||
|
||
View the [documentation][zones_0_docs] or the [source code][zones_0_code]. | ||
|
||
__Usage:__ `node zones.js --help` | ||
|
||
``` | ||
Commands: | ||
list Lists all zones in the current project. | ||
Options: | ||
--help Show help [boolean] | ||
Examples: | ||
node zones.js list Lists all zones in the current project. | ||
For more information, see https://cloud.google.com/dns/docs | ||
``` | ||
|
||
[zones_0_docs]: https://cloud.google.com/dns/docs | ||
[zones_0_code]: zones.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-dns | ||
[samples]: https://github.com/googleapis/nodejs-dns/tree/master/samples |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.