Skip to content

Commit

Permalink
docs: add v1 and v1beta2 samples to README (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and callmehiphop committed Jun 11, 2019
1 parent 799c5b7 commit 078346d
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 5 deletions.
2 changes: 2 additions & 0 deletions packages/google-cloud-language/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) |
Expand Down
36 changes: 36 additions & 0 deletions packages/google-cloud-language/samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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).
Expand Down
10 changes: 5 additions & 5 deletions packages/google-cloud-language/synth.metadata
Original file line number Diff line number Diff line change
@@ -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"
}
},
{
Expand Down

0 comments on commit 078346d

Please sign in to comment.