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

Commit aa91b72

Browse files
feat(v3): added the display name of the current page in webhook requests (#221)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 417856712 Source-Link: googleapis/googleapis@285ed91 Source-Link: https://github.com/googleapis/googleapis-gen/commit/7d528057724e1d42882a7bcd67bfa06951cbf1ca Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiN2Q1MjgwNTc3MjRlMWQ0Mjg4MmE3YmNkNjdiZmEwNjk1MWNiZjFjYSJ9
1 parent e24bdfd commit aa91b72

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

google/cloud/dialogflowcx_v3/types/webhook.py

+7
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,12 @@ class PageInfo(proto.Message):
529529
[WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
530530
The unique identifier of the current page. Format:
531531
``projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>``.
532+
display_name (str):
533+
Always present for
534+
[WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest].
535+
Ignored for
536+
[WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
537+
The display name of the current page.
532538
form_info (google.cloud.dialogflowcx_v3.types.PageInfo.FormInfo):
533539
Optional for both
534540
[WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]
@@ -617,6 +623,7 @@ class ParameterState(proto.Enum):
617623
)
618624

619625
current_page = proto.Field(proto.STRING, number=1,)
626+
display_name = proto.Field(proto.STRING, number=4,)
620627
form_info = proto.Field(proto.MESSAGE, number=3, message=FormInfo,)
621628

622629

0 commit comments

Comments
 (0)