Skip to content

Commit

Permalink
Declare language to be GA. (#2679)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukesneeringer authored and stephenplusplus committed Oct 18, 2017
1 parent b4a9ee2 commit 3a20e26
Showing 1 changed file with 44 additions and 44 deletions.
88 changes: 44 additions & 44 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
This client supports the following Google Cloud Platform services at a [General Availability (GA)](#versioning) quality level:

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

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

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


## Cloud Natural Language (GA)

- [API Documentation][gcloud-language-docs]
- [Official Documentation][cloud-language-docs]

#### Using the Natural Language API module

```
$ npm install --save @google-cloud/language
```

```js
var language = require('@google-cloud/language');
```

#### Authentication

See [Authentication](#authentication).

#### Preview

```js
var languageClient = language({
projectId: 'grape-spaceship-123',
keyFilename: '/path/to/keyfile.json'
});

var content = 'Hello, world!';
var type = language.v1.types.Document.Type.PLAIN_TEXT;
var document = {
content : content,
type : type
};
languageClient.analyzeSentiment({document: document}).then(function(responses) {
var response = responses[0];
// doThingsWith(response)
})
.catch(function(err) {
console.error(err);
});
```


## Cloud Storage (GA)

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


## Cloud Natural Language (Beta)

- [API Documentation][gcloud-language-docs]
- [Official Documentation][cloud-language-docs]

#### Using the Natural Language API module

```
$ npm install --save @google-cloud/language
```

```js
var language = require('@google-cloud/language');
```

#### Authentication

See [Authentication](#authentication).

#### Preview

```js
var languageClient = language({
projectId: 'grape-spaceship-123',
keyFilename: '/path/to/keyfile.json'
});

var content = 'Hello, world!';
var type = language.v1.types.Document.Type.PLAIN_TEXT;
var document = {
content : content,
type : type
};
languageClient.analyzeSentiment({document: document}).then(function(responses) {
var response = responses[0];
// doThingsWith(response)
})
.catch(function(err) {
console.error(err);
});
```


## Cloud Pub/Sub (Beta)

- [API Documentation][gcloud-pubsub-docs]
Expand Down

0 comments on commit 3a20e26

Please sign in to comment.