Skip to content

Commit b901e03

Browse files
stephenpluspluscallmehiphop
authored andcommitted
prepare READMEs for beta release (#1864)
1 parent c98b44a commit b901e03

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

packages/google-cloud-dns/README.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @google-cloud/dns
1+
# @google-cloud/dns ([Alpha][versioning])
22
> Google Cloud DNS Client Library for Node.js
33
44
*Looking for more Google APIs than just DNS? You might want to check out [`google-cloud`][google-cloud].*
@@ -52,24 +52,18 @@ var dns = require('@google-cloud/dns')({
5252

5353
It's incredibly easy to get authenticated and start using Google's APIs. You can set your credentials on a global basis as well as on a per-API basis. See each individual API section below to see how you can auth on a per-API-basis. This is useful if you want to use different accounts for different Google Cloud services.
5454

55-
### On Google Compute Engine
55+
### On Google Cloud Platform
5656

57-
If you are running this client on Google Compute Engine, we handle authentication for you with no configuration. You just need to make sure that when you [set up the GCE instance][gce-how-to], you add the correct scopes for the APIs you want to access.
57+
If you are running this client on Google Cloud Platform, we handle authentication for you with no configuration. You just need to make sure that when you [set up the GCE instance][gce-how-to], you add the correct scopes for the APIs you want to access.
5858

5959
``` js
60-
// Authenticating on a global basis.
61-
var projectId = process.env.GCLOUD_PROJECT; // E.g. 'grape-spaceship-123'
62-
63-
var dns = require('@google-cloud/dns')({
64-
projectId: projectId
65-
});
66-
60+
var dns = require('@google-cloud/dns')();
6761
// ...you're good to go!
6862
```
6963

7064
### Elsewhere
7165

72-
If you are not running this client on Google Compute Engine, you need a Google Developers service account. To create a service account:
66+
If you are not running this client on Google Cloud Platform, you need a Google Developers service account. To create a service account:
7367

7468
1. Visit the [Google Developers Console][dev-console].
7569
2. Create a new project or click on an existing project.
@@ -96,6 +90,7 @@ var dns = require('@google-cloud/dns')({
9690
```
9791

9892

93+
[versioning]: https://github.com/GoogleCloudPlatform/google-cloud-node#versioning
9994
[google-cloud]: https://github.com/GoogleCloudPlatform/google-cloud-node
10095
[gce-how-to]: https://cloud.google.com/compute/docs/authentication#using
10196
[dev-console]: https://console.developers.google.com/project

0 commit comments

Comments
 (0)