Skip to content

Commit

Permalink
feat: added endpoint samples and updated docs for language api (#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
bradmiro authored and sofisl committed Oct 13, 2022
1 parent d891c04 commit d366a8e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/google-cloud-language/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ has instructions for running the samples.
| 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) |
| Quickstart | [source code](https://github.com/googleapis/nodejs-language/blob/master/samples/quickstart.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/quickstart.js,samples/README.md) |
| Set Endpoint | [source code](https://github.com/googleapis/nodejs-language/blob/master/samples/setEndpoint.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/setEndpoint.js,samples/README.md) |



Expand Down
3 changes: 2 additions & 1 deletion packages/google-cloud-language/linkinator.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"recurse": true,
"skip": [
"https://codecov.io/gh/googleapis/",
"www.googleapis.com"
"www.googleapis.com",
"setEndpoint.js"
]
}
18 changes: 18 additions & 0 deletions packages/google-cloud-language/samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ analysis, and syntax analysis. This API is part of the larger Cloud Machine Lear
* [Automl Natural Language Model](#automl-natural-language-model)
* [Automl Natural Language Predict](#automl-natural-language-predict)
* [Quickstart](#quickstart)
* [Set Endpoint](#set-endpoint)

## Before you begin

Expand Down Expand Up @@ -126,6 +127,23 @@ __Usage:__

`node quickstart.js`

-----




### Set Endpoint

View the [source code]https://github.com/googleapis/nodejs-language/blob/master/samples/setEndpoint.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/setEndpoint.js,samples/README.md)

__Usage:__

`node setEndpoint.js`

-----




Expand Down

0 comments on commit d366a8e

Please sign in to comment.