Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jan 6, 2024. It is now read-only.

Commit 5956179

Browse files
feat(v3beta1): added the display name of the current page in webhook requests (#222)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 417856932 Source-Link: googleapis/googleapis@16ecf07 Source-Link: https://github.com/googleapis/googleapis-gen/commit/d2955219b65fb7f47fce96c93dfbf25c2fde1d82 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDI5NTUyMTliNjVmYjdmNDdmY2U5NmM5M2RmYmYyNWMyZmRlMWQ4MiJ9
1 parent aa91b72 commit 5956179

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

google/cloud/dialogflowcx_v3beta1/types/webhook.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,12 @@ class PageInfo(proto.Message):
531531
[WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
532532
The unique identifier of the current page. Format:
533533
``projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>``.
534+
display_name (str):
535+
Always present for
536+
[WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest].
537+
Ignored for
538+
[WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
539+
The display name of the current page.
534540
form_info (google.cloud.dialogflowcx_v3beta1.types.PageInfo.FormInfo):
535541
Optional for both
536542
[WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]
@@ -619,6 +625,7 @@ class ParameterState(proto.Enum):
619625
)
620626

621627
current_page = proto.Field(proto.STRING, number=1,)
628+
display_name = proto.Field(proto.STRING, number=4,)
622629
form_info = proto.Field(proto.MESSAGE, number=3, message=FormInfo,)
623630

624631

0 commit comments

Comments
 (0)