Skip to content

Commit 3a20e26

Browse files
lukesneeringerstephenplusplus
authored andcommitted
Declare language to be GA. (googleapis#2679)
1 parent b4a9ee2 commit 3a20e26

File tree

1 file changed

+44
-44
lines changed

1 file changed

+44
-44
lines changed

README.md

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
This client supports the following Google Cloud Platform services at a [General Availability (GA)](#versioning) quality level:
1313

1414
* [Cloud Datastore](#cloud-datastore-ga) (GA)
15+
* [Cloud Natural Language](http://github.com/googleapis/nodejs-language/) (GA)
1516
* [Cloud Storage](http://github.com/googleapis/nodejs-storage/) (GA)
1617
* [Cloud Translation API](#cloud-translation-api-ga) (GA)
1718
* [Google Stackdriver Logging](#google-stackdriver-logging-ga) (GA)
1819

1920
This client supports the following Google Cloud Platform services at a [Beta](#versioning) quality level:
2021

2122
* [Cloud Firestore](http://github.com/googleapis/nodejs-firestore/) (Beta)
22-
* [Cloud Natural Language](http://github.com/googleapis/nodejs-language/) (Beta)
2323
* [Cloud Pub/Sub](#cloud-pubsub-beta) (Beta)
2424
* [Cloud Spanner](#cloud-spanner-beta) (Beta)
2525
* [Cloud Vision](#cloud-vision-beta) (Beta)
@@ -226,6 +226,49 @@ datastoreClient.save({
226226
```
227227

228228

229+
## Cloud Natural Language (GA)
230+
231+
- [API Documentation][gcloud-language-docs]
232+
- [Official Documentation][cloud-language-docs]
233+
234+
#### Using the Natural Language API module
235+
236+
```
237+
$ npm install --save @google-cloud/language
238+
```
239+
240+
```js
241+
var language = require('@google-cloud/language');
242+
```
243+
244+
#### Authentication
245+
246+
See [Authentication](#authentication).
247+
248+
#### Preview
249+
250+
```js
251+
var languageClient = language({
252+
projectId: 'grape-spaceship-123',
253+
keyFilename: '/path/to/keyfile.json'
254+
});
255+
256+
var content = 'Hello, world!';
257+
var type = language.v1.types.Document.Type.PLAIN_TEXT;
258+
var document = {
259+
content : content,
260+
type : type
261+
};
262+
languageClient.analyzeSentiment({document: document}).then(function(responses) {
263+
var response = responses[0];
264+
// doThingsWith(response)
265+
})
266+
.catch(function(err) {
267+
console.error(err);
268+
});
269+
```
270+
271+
229272
## Cloud Storage (GA)
230273

231274
- [API Documentation][gcloud-storage-docs]
@@ -465,49 +508,6 @@ document.delete().then(() => {
465508
```
466509

467510

468-
## Cloud Natural Language (Beta)
469-
470-
- [API Documentation][gcloud-language-docs]
471-
- [Official Documentation][cloud-language-docs]
472-
473-
#### Using the Natural Language API module
474-
475-
```
476-
$ npm install --save @google-cloud/language
477-
```
478-
479-
```js
480-
var language = require('@google-cloud/language');
481-
```
482-
483-
#### Authentication
484-
485-
See [Authentication](#authentication).
486-
487-
#### Preview
488-
489-
```js
490-
var languageClient = language({
491-
projectId: 'grape-spaceship-123',
492-
keyFilename: '/path/to/keyfile.json'
493-
});
494-
495-
var content = 'Hello, world!';
496-
var type = language.v1.types.Document.Type.PLAIN_TEXT;
497-
var document = {
498-
content : content,
499-
type : type
500-
};
501-
languageClient.analyzeSentiment({document: document}).then(function(responses) {
502-
var response = responses[0];
503-
// doThingsWith(response)
504-
})
505-
.catch(function(err) {
506-
console.error(err);
507-
});
508-
```
509-
510-
511511
## Cloud Pub/Sub (Beta)
512512

513513
- [API Documentation][gcloud-pubsub-docs]

0 commit comments

Comments
 (0)