From aa91b729ffa07230b011a61d3eb1521f59345fc1 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 23 Dec 2021 00:18:12 +0000 Subject: [PATCH] feat(v3): added the display name of the current page in webhook requests (#221) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 417856712 Source-Link: https://github.com/googleapis/googleapis/commit/285ed911de1a6eb10a7f7ca2a37a3f3657e11532 Source-Link: https://github.com/googleapis/googleapis-gen/commit/7d528057724e1d42882a7bcd67bfa06951cbf1ca Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiN2Q1MjgwNTc3MjRlMWQ0Mjg4MmE3YmNkNjdiZmEwNjk1MWNiZjFjYSJ9 --- google/cloud/dialogflowcx_v3/types/webhook.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/google/cloud/dialogflowcx_v3/types/webhook.py b/google/cloud/dialogflowcx_v3/types/webhook.py index 62dc4c69..dbd06844 100644 --- a/google/cloud/dialogflowcx_v3/types/webhook.py +++ b/google/cloud/dialogflowcx_v3/types/webhook.py @@ -529,6 +529,12 @@ class PageInfo(proto.Message): [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The unique identifier of the current page. Format: ``projects//locations//agents//flows//pages/``. + display_name (str): + Always present for + [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. + Ignored for + [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. + The display name of the current page. form_info (google.cloud.dialogflowcx_v3.types.PageInfo.FormInfo): Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] @@ -617,6 +623,7 @@ class ParameterState(proto.Enum): ) current_page = proto.Field(proto.STRING, number=1,) + display_name = proto.Field(proto.STRING, number=4,) form_info = proto.Field(proto.MESSAGE, number=3, message=FormInfo,)