Skip to content

Commit

Permalink
Remove samples that have moved elsewhere. (GoogleCloudPlatform#504)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdobry authored Oct 24, 2017
1 parent 14d6460 commit 24e116e
Show file tree
Hide file tree
Showing 26 changed files with 22 additions and 2,497 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ View the [Cloud Datastore Node.js samples][datastore_samples].
[Cloud Storage][storage_docs] allows world-wide storage and retrieval of any
amount of data at any time.

View the [Cloud Storage Node.js samples][storage_samples].
View the [Cloud Storage JSON API Node.js Client samples][storage_samples].

[storage_docs]: https://cloud.google.com/storage/docs/
[storage_samples]: https://github.com/googleapis/nodejs-storage/tree/master/samples
Expand Down Expand Up @@ -299,7 +299,7 @@ understanding technologies to developers, including sentiment analysis, entity
recognition, and syntax analysis. This API is part of the larger Cloud Machine
Learning API.

View the [Cloud Natural Language API Node.js samples][language_samples].
View the [Cloud Natural Language API Node.js Client samples][language_samples].

[language_docs]: https://cloud.google.com/natural-language/docs/
[language_samples]: language
Expand Down Expand Up @@ -364,10 +364,10 @@ View the [Stackdriver Debugger Node.js sample][debugger_sample].
monitor, and alert on log data and events from Google Cloud Platform and Amazon
Web Services.

View the [Stackdriver Logging Node.js samples][logging_samples].
View the [Stackdriver Logging API Node.js Client samples][logging_samples].

[logging_docs]: https://cloud.google.com/logging/docs/
[logging_samples]: logging
[logging_samples]: https://github.com/googleapis/nodejs-logging/tree/master/samples

#### Stackdriver Monitoring

Expand All @@ -376,10 +376,10 @@ from Google Cloud Platform, Amazon Web Services (AWS), hosted uptime probes,
application instrumentation, and a variety of common application components
including Cassandra, Nginx, Apache Web Server, Elasticsearch and many others.

View the [Stackdriver Monitoring Node.js samples][monitoring_samples].
View the [Stackdriver Monitoring API Node.js Client samples][monitoring_samples].

[monitoring_docs]: https://cloud.google.com/monitoring/docs/
[monitoring_samples]: monitoring
[monitoring_samples]: https://github.com/googleapis/nodejs-monitoring/tree/master/samples

#### Stackdriver Trace

Expand All @@ -403,10 +403,10 @@ anywhere in the world. Read more about [Google Cloud DNS][dns_docs].

[dns_docs]: https://cloud.google.com/dns/docs

View the [Google Cloud DNS Node.js sample][dns_sample].
View the [Google Cloud DNS API Node.js Client samples][dns_samples].

[dns_docs]: https://cloud.google.com/dns/docs/
[dns_sample]: dns
[dns_samples]: https://github.com/googleapis/nodejs-dns/tree/master/samples

### Identity and Security

Expand Down
3 changes: 0 additions & 3 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,16 +93,13 @@ deployment:
- node scripts/build "datastore"
- node scripts/build "debugger"
- node scripts/build "dlp"
- node scripts/build "dns"
- node scripts/build "endpoints/getting-started"
# TODO(ace-n): Get this working again
# - node scripts/build "endpoints/getting-started-grpc"
- node scripts/build "error-reporting"
- node scripts/build "iot/manager"
- node scripts/build "kms"
- node scripts/build "language/slackbot"
- node scripts/build "logging"
- node scripts/build "monitoring"
- node scripts/build "prediction"
- node scripts/build "pubsub"
- node scripts/build "resource"
Expand Down
71 changes: 4 additions & 67 deletions dns/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 DNS API Node.js Client][client] have moved
to [github.com/googleapis/nodejs-dns/tree/master/samples/][samples].

# Google Cloud DNS Node.js Samples

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

[Cloud DNS](https://cloud.google.com/dns/docs/) allows you to publish your domain names using Google&#x27;s infrastructure for production-quality, high-volume DNS services. Google&#x27;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
43 changes: 0 additions & 43 deletions dns/package.json

This file was deleted.

38 changes: 0 additions & 38 deletions dns/quickstart.js

This file was deleted.

74 changes: 0 additions & 74 deletions dns/system-test/quickstart.test.js

This file was deleted.

48 changes: 0 additions & 48 deletions dns/system-test/zones.test.js

This file was deleted.

Loading

0 comments on commit 24e116e

Please sign in to comment.