Skip to content

Commit d1d1e3c

Browse files
docs(samples): refactor webhook samples (#270)
* streamline and clarify webhook samples Change-Id: I80d80b42f60ac6ccc643afb7b2931916d6843813 * remove sessionInfo config Change-Id: I1b14852ad9e238e7cdc04dbb418ed5ed0fca2992 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * hardcode parameter Change-Id: Iea962f2ea2bf73ca86ce3ecd7852a290dd3a2fac * clarify parameter name Change-Id: I5c0a1c654be5133889f4838a118e5bdebe667303 * refactor configure-session-parameter-enable-agent-response sample Change-Id: I62af853767f9097e3448f60060f739ac8bb018b2 * refactor webhook samples Change-Id: I07f2addae8b452d89124d123e3c2be8042ee0292 * remove unnecessary samples Change-Id: Ia936ce14eafb9d44a67a314eb282fb93b5c96319 * change form parameter test Change-Id: Ia7aeb8117f6db4bee2111bdb5bcf6461b2700601 * change sample description Change-Id: I842e1e0bca1eec43d5437cd37575a43b48105bed * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent a8df6c0 commit d1d1e3c

File tree

2 files changed

+0
-38
lines changed

2 files changed

+0
-38
lines changed

packages/google-cloud-dialogflow-cx/README.md

-2
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,6 @@ Samples are in the [`samples/`](https://github.com/googleapis/nodejs-dialogflow-
156156
| Long-running-operation | [source code](https://github.com/googleapis/nodejs-dialogflow-cx/blob/main/samples/long-running-operation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow-cx&page=editor&open_in_editor=samples/long-running-operation.js,samples/README.md) |
157157
| Quickstart | [source code](https://github.com/googleapis/nodejs-dialogflow-cx/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-cx&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
158158
| Update-intent | [source code](https://github.com/googleapis/nodejs-dialogflow-cx/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-cx&page=editor&open_in_editor=samples/update-intent.js,samples/README.md) |
159-
| Webhook-configure-session-parameters-enable-agent-response | [source code](https://github.com/googleapis/nodejs-dialogflow-cx/blob/main/samples/webhook-configure-session-parameters-enable-agent-response.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow-cx&page=editor&open_in_editor=samples/webhook-configure-session-parameters-enable-agent-response.js,samples/README.md) |
160-
| Webhook-configure-session-parameters-trigger-transition | [source code](https://github.com/googleapis/nodejs-dialogflow-cx/blob/main/samples/webhook-configure-session-parameters-trigger-transition.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow-cx&page=editor&open_in_editor=samples/webhook-configure-session-parameters-trigger-transition.js,samples/README.md) |
161159
| Webhook-configure-session-parameters | [source code](https://github.com/googleapis/nodejs-dialogflow-cx/blob/main/samples/webhook-configure-session-parameters.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow-cx&page=editor&open_in_editor=samples/webhook-configure-session-parameters.js,samples/README.md) |
162160
| Webhook-validate-form-parameter | [source code](https://github.com/googleapis/nodejs-dialogflow-cx/blob/main/samples/webhook-validate-form-parameter.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow-cx&page=editor&open_in_editor=samples/webhook-validate-form-parameter.js,samples/README.md) |
163161
| Webhooks | [source code](https://github.com/googleapis/nodejs-dialogflow-cx/blob/main/samples/webhooks.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow-cx&page=editor&open_in_editor=samples/webhooks.js,samples/README.md) |

packages/google-cloud-dialogflow-cx/samples/README.md

-36
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@
3030
* [Long-running-operation](#long-running-operation)
3131
* [Quickstart](#quickstart)
3232
* [Update-intent](#update-intent)
33-
* [Webhook-configure-session-parameters-enable-agent-response](#webhook-configure-session-parameters-enable-agent-response)
34-
* [Webhook-configure-session-parameters-trigger-transition](#webhook-configure-session-parameters-trigger-transition)
3533
* [Webhook-configure-session-parameters](#webhook-configure-session-parameters)
3634
* [Webhook-validate-form-parameter](#webhook-validate-form-parameter)
3735
* [Webhooks](#webhooks)
@@ -357,40 +355,6 @@ __Usage:__
357355

358356

359357

360-
### Webhook-configure-session-parameters-enable-agent-response
361-
362-
View the [source code](https://github.com/googleapis/nodejs-dialogflow-cx/blob/main/samples/webhook-configure-session-parameters-enable-agent-response.js).
363-
364-
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow-cx&page=editor&open_in_editor=samples/webhook-configure-session-parameters-enable-agent-response.js,samples/README.md)
365-
366-
__Usage:__
367-
368-
369-
`node samples/webhook-configure-session-parameters-enable-agent-response.js`
370-
371-
372-
-----
373-
374-
375-
376-
377-
### Webhook-configure-session-parameters-trigger-transition
378-
379-
View the [source code](https://github.com/googleapis/nodejs-dialogflow-cx/blob/main/samples/webhook-configure-session-parameters-trigger-transition.js).
380-
381-
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow-cx&page=editor&open_in_editor=samples/webhook-configure-session-parameters-trigger-transition.js,samples/README.md)
382-
383-
__Usage:__
384-
385-
386-
`node samples/webhook-configure-session-parameters-trigger-transition.js`
387-
388-
389-
-----
390-
391-
392-
393-
394358
### Webhook-configure-session-parameters
395359

396360
View the [source code](https://github.com/googleapis/nodejs-dialogflow-cx/blob/main/samples/webhook-configure-session-parameters.js).

0 commit comments

Comments
 (0)