Skip to content

Commit

Permalink
docs: add update intent code sample (#852)
Browse files Browse the repository at this point in the history
  • Loading branch information
galz10 authored Aug 16, 2021
1 parent a8cb938 commit 5a34a3c
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-dialogflow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ Samples are in the [`samples/`](https://github.com/googleapis/nodejs-dialogflow/
| List-intents | [source code](https://github.com/googleapis/nodejs-dialogflow/blob/main/samples/list-intents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/list-intents.js,samples/README.md) |
| Quickstart | [source code](https://github.com/googleapis/nodejs-dialogflow/blob/main/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
| Resource | [source code](https://github.com/googleapis/nodejs-dialogflow/blob/main/samples/resource.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/resource.js,samples/README.md) |
| Update-intent | [source code](https://github.com/googleapis/nodejs-dialogflow/blob/main/samples/update-intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/update-intent.js,samples/README.md) |



Expand Down
3 changes: 2 additions & 1 deletion packages/google-cloud-dialogflow/linkinator.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"skip": [
"https://codecov.io/gh/googleapis/",
"www.googleapis.com",
"img.shields.io"
"img.shields.io",
"https://github.com/googleapis/nodejs-dialogflow/blob/master/samples/update-intent.js"
],
"silent": true,
"concurrency": 10
Expand Down
18 changes: 18 additions & 0 deletions packages/google-cloud-dialogflow/samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
* [List-intents](#list-intents)
* [Quickstart](#quickstart)
* [Resource](#resource)
* [Update-intent](#update-intent)

## Before you begin

Expand Down Expand Up @@ -168,6 +169,23 @@ __Usage:__
`node samples/resource.js`


-----




### Update-intent

View the [source code](https://github.com/googleapis/nodejs-dialogflow/blob/main/samples/update-intent.js).

[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/update-intent.js,samples/README.md)

__Usage:__


`node samples/update-intent.js`





Expand Down

0 comments on commit 5a34a3c

Please sign in to comment.