From 078346dc51f62b17b8a90961780b24fa7f58f291 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 11 Jun 2019 05:23:11 -0700 Subject: [PATCH] docs: add v1 and v1beta2 samples to README (#260) --- packages/google-cloud-language/README.md | 2 ++ .../google-cloud-language/samples/README.md | 36 +++++++++++++++++++ packages/google-cloud-language/synth.metadata | 10 +++--- 3 files changed, 43 insertions(+), 5 deletions(-) diff --git a/packages/google-cloud-language/README.md b/packages/google-cloud-language/README.md index 3aa9bb0ecd2..120d6f9d5ed 100644 --- a/packages/google-cloud-language/README.md +++ b/packages/google-cloud-language/README.md @@ -92,6 +92,8 @@ has instructions for running the samples. | Sample | Source Code | Try it | | --------------------------- | --------------------------------- | ------ | +| Analyze v1 | [source code](https://github.com/googleapis/nodejs-language/blob/master/samples/analyze.v1.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-language&page=editor&open_in_editor=samples/analyze.v1.js,samples/README.md) | +| Analyze v1beta2 | [source code](https://github.com/googleapis/nodejs-language/blob/master/samples/analyze.v1beta2.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-language&page=editor&open_in_editor=samples/analyze.v1beta2.js,samples/README.md) | | Automl Natural Language Dataset | [source code](https://github.com/googleapis/nodejs-language/blob/master/samples/automlNaturalLanguageDataset.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-language&page=editor&open_in_editor=samples/automlNaturalLanguageDataset.js,samples/README.md) | | Automl Natural Language Model | [source code](https://github.com/googleapis/nodejs-language/blob/master/samples/automlNaturalLanguageModel.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-language&page=editor&open_in_editor=samples/automlNaturalLanguageModel.js,samples/README.md) | | Automl Natural Language Predict | [source code](https://github.com/googleapis/nodejs-language/blob/master/samples/automlNaturalLanguagePredict.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-language&page=editor&open_in_editor=samples/automlNaturalLanguagePredict.js,samples/README.md) | diff --git a/packages/google-cloud-language/samples/README.md b/packages/google-cloud-language/samples/README.md index 154129b3463..472cf7b82f8 100644 --- a/packages/google-cloud-language/samples/README.md +++ b/packages/google-cloud-language/samples/README.md @@ -14,6 +14,8 @@ analysis, and syntax analysis. This API is part of the larger Cloud Machine Lear * [Before you begin](#before-you-begin) * [Samples](#samples) + * [Analyze v1](#analyze-v1) + * [Analyze v1beta2](#analyze-v1beta2) * [Automl Natural Language Dataset](#automl-natural-language-dataset) * [Automl Natural Language Model](#automl-natural-language-model) * [Automl Natural Language Predict](#automl-natural-language-predict) @@ -28,6 +30,40 @@ Before running the samples, make sure you've followed the steps outlined in +### Analyze v1 + +View the [source code](https://github.com/googleapis/nodejs-language/blob/master/samples/analyze.v1.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-language&page=editor&open_in_editor=samples/analyze.v1.js,samples/README.md) + +__Usage:__ + + +`node analyze.v1.js` + + +----- + + + + +### Analyze v1beta2 + +View the [source code](https://github.com/googleapis/nodejs-language/blob/master/samples/analyze.v1beta2.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-language&page=editor&open_in_editor=samples/analyze.v1beta2.js,samples/README.md) + +__Usage:__ + + +`node analyze.v1beta2.js` + + +----- + + + + ### Automl Natural Language Dataset View the [source code](https://github.com/googleapis/nodejs-language/blob/master/samples/automlNaturalLanguageDataset.js). diff --git a/packages/google-cloud-language/synth.metadata b/packages/google-cloud-language/synth.metadata index 2f56ccc1f49..6e1439ca38f 100644 --- a/packages/google-cloud-language/synth.metadata +++ b/packages/google-cloud-language/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-06-07T11:16:44.115246Z", + "updateTime": "2019-06-11T11:16:43.608753Z", "sources": [ { "generator": { "name": "artman", - "version": "0.23.1", - "dockerImage": "googleapis/artman@sha256:9d5cae1454da64ac3a87028f8ef486b04889e351c83bb95e83b8fab3959faed0" + "version": "0.24.0", + "dockerImage": "googleapis/artman@sha256:ce425884865f57f18307e597bca1a74a3619b7098688d4995261f3ffb3488681" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "15fdbe57306e3a56069af5e2595e9b1bb33b6123", - "internalRef": "251960694" + "sha": "744feb9660b3194fcde37dea50038bde204f3573", + "internalRef": "252553801" } }, {