Skip to content

Commit cbed37f

Browse files
bradmirobcoe
authored andcommitted
feat: added endpoint samples and updated docs for language api (#315)
1 parent 38a9f80 commit cbed37f

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

packages/google-cloud-language/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ has instructions for running the samples.
9898
| 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) |
9999
| 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) |
100100
| 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) |
101+
| 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) |
101102

102103

103104

packages/google-cloud-language/linkinator.config.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"recurse": true,
33
"skip": [
44
"https://codecov.io/gh/googleapis/",
5-
"www.googleapis.com"
5+
"www.googleapis.com",
6+
"setEndpoint.js"
67
]
78
}

packages/google-cloud-language/samples/README.md

+18
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ analysis, and syntax analysis. This API is part of the larger Cloud Machine Lear
2020
* [Automl Natural Language Model](#automl-natural-language-model)
2121
* [Automl Natural Language Predict](#automl-natural-language-predict)
2222
* [Quickstart](#quickstart)
23+
* [Set Endpoint](#set-endpoint)
2324

2425
## Before you begin
2526

@@ -126,6 +127,23 @@ __Usage:__
126127

127128
`node quickstart.js`
128129

130+
-----
131+
132+
133+
134+
135+
### Set Endpoint
136+
137+
View the [source code]https://github.com/googleapis/nodejs-language/blob/master/samples/setEndpoint.js)
138+
139+
[![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)
140+
141+
__Usage:__
142+
143+
`node setEndpoint.js`
144+
145+
-----
146+
129147

130148

131149

0 commit comments

Comments
 (0)