Skip to content

Commit 566e927

Browse files
stephenpluspluscallmehiphop
authored andcommitted
prepare READMEs for beta release (#1864)
1 parent f879031 commit 566e927

File tree

2 files changed

+6
-19
lines changed

2 files changed

+6
-19
lines changed

packages/google-cloud-vision/README.md

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
# @google-cloud/vision
1+
# @google-cloud/vision ([Alpha][versioning])
22
> Google Cloud Vision Client Library for Node.js
33
4-
> **This is a Beta release of Google Cloud Vision.** 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 Vision? You might want to check out [`google-cloud`][google-cloud].*
75

86
- [API Documentation][gcloud-vision-docs]
@@ -124,24 +122,18 @@ var vision = require('@google-cloud/vision')({
124122

125123
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.
126124

127-
### On Google Compute Engine
125+
### On Google Cloud Platform
128126

129-
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.
127+
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.
130128

131129
``` js
132-
// Authenticating on a global basis.
133-
var projectId = process.env.GCLOUD_PROJECT; // E.g. 'grape-spaceship-123'
134-
135-
var vision = require('@google-cloud/vision')({
136-
projectId: projectId
137-
});
138-
130+
var vision = require('@google-cloud/vision')();
139131
// ...you're good to go!
140132
```
141133

142134
### Elsewhere
143135

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

146138
1. Visit the [Google Developers Console][dev-console].
147139
2. Create a new project or click on an existing project.
@@ -168,6 +160,7 @@ var vision = require('@google-cloud/vision')({
168160
```
169161

170162

163+
[versioning]: https://github.com/GoogleCloudPlatform/google-cloud-node#versioning
171164
[google-cloud]: https://github.com/GoogleCloudPlatform/google-cloud-node/
172165
[gce-how-to]: https://cloud.google.com/compute/docs/authentication#using
173166
[dev-console]: https://console.developers.google.com/project

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,6 @@ var LIKELY = 3;
3939
var VERY_LIKELY = 4;
4040

4141
/**
42-
* <p class="notice">
43-
* **This is a Beta release of Google Cloud Vision.** This API is not covered
44-
* by any SLA or deprecation policy and may be subject to backward-
45-
* incompatible changes.
46-
* </p>
47-
*
4842
* The [Cloud Vision API](https://cloud.google.com/vision/docs) allows easy
4943
* integration of vision detection features, including image labeling, face and
5044
* landmark detection, optical character recognition (OCR), and tagging of

0 commit comments

Comments
 (0)