Skip to content

Commit 757c0a6

Browse files
stephenplusplussofisl
authored andcommitted
prepare READMEs for beta release (#1864)
1 parent c65dd6d commit 757c0a6

File tree

2 files changed

+6
-19
lines changed

2 files changed

+6
-19
lines changed

packages/google-cloud-language/README.md

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
# @google-cloud/language
1+
# @google-cloud/language ([Alpha][versioning])
22
> Google Cloud Natural Language Client Library for Node.js
33
4-
> **This is a Beta release of Google Cloud Natural Language.** This feature is not covered by any SLA or deprecation policy and may be subject to backward-incompatible changes.
5-
64
*Looking for more Google APIs than just Natural Language? You might want to check out [`google-cloud`][google-cloud].*
75

86
- [API Documentation][gcloud-language-docs]
@@ -77,24 +75,18 @@ var language = require('@google-cloud/language')({
7775

7876
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.
7977

80-
### On Google Compute Engine
78+
### On Google Cloud Platform
8179

82-
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.
80+
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.
8381

8482
``` js
85-
// Authenticating on a global basis.
86-
var projectId = process.env.GCLOUD_PROJECT; // E.g. 'grape-spaceship-123'
87-
88-
var language = require('@google-cloud/language')({
89-
projectId: projectId
90-
});
91-
83+
var language = require('@google-cloud/language')();
9284
// ...you're good to go!
9385
```
9486

9587
### Elsewhere
9688

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

9991
1. Visit the [Google Developers Console][dev-console].
10092
2. Create a new project or click on an existing project.
@@ -121,6 +113,7 @@ var language = require('@google-cloud/language')({
121113
```
122114

123115

116+
[versioning]: https://github.com/GoogleCloudPlatform/google-cloud-node#versioning
124117
[google-cloud]: https://github.com/GoogleCloudPlatform/google-cloud-node/
125118
[gce-how-to]: https://cloud.google.com/compute/docs/authentication#using
126119
[dev-console]: https://console.developers.google.com/project

packages/google-cloud-language/src/index.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,6 @@ var v1 = require('./v1');
3232
var Document = require('./document.js');
3333

3434
/**
35-
* <p class="notice">
36-
* **This is a Beta release of Google Cloud Natural Language.** This API is
37-
* not covered by any SLA or deprecation policy and may be subject to
38-
* backward-incompatible changes.
39-
* </p>
40-
*
4135
* The [Google Cloud Natural Language](https://cloud.google.com/natural-language/docs)
4236
* API provides natural language understanding technologies to developers,
4337
* including sentiment analysis, entity recognition, and syntax analysis. This

0 commit comments

Comments
 (0)