From 3a20e26ceb5323ea001fd334be0abc0ecb90b41c Mon Sep 17 00:00:00 2001 From: Luke Sneeringer Date: Wed, 18 Oct 2017 07:17:18 -0700 Subject: [PATCH] Declare language to be GA. (#2679) --- README.md | 88 +++++++++++++++++++++++++++---------------------------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/README.md b/README.md index afe40ee8453..199b997ed78 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ 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) @@ -19,7 +20,6 @@ This client supports the following Google Cloud Platform services at a [General 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) @@ -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] @@ -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]