From 595617990ccdc0575f97ae547984e89f638cb664 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 16:10:19 +0000 Subject: [PATCH] feat(v3beta1): added the display name of the current page in webhook requests (#222) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 417856932 Source-Link: https://github.com/googleapis/googleapis/commit/16ecf078815cb7e28b0bb30a086fdc1ed12ed54e Source-Link: https://github.com/googleapis/googleapis-gen/commit/d2955219b65fb7f47fce96c93dfbf25c2fde1d82 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDI5NTUyMTliNjVmYjdmNDdmY2U5NmM5M2RmYmYyNWMyZmRlMWQ4MiJ9 --- google/cloud/dialogflowcx_v3beta1/types/webhook.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/google/cloud/dialogflowcx_v3beta1/types/webhook.py b/google/cloud/dialogflowcx_v3beta1/types/webhook.py index 4e6af0c1..ee318224 100644 --- a/google/cloud/dialogflowcx_v3beta1/types/webhook.py +++ b/google/cloud/dialogflowcx_v3beta1/types/webhook.py @@ -531,6 +531,12 @@ class PageInfo(proto.Message): [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.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.v3beta1.WebhookRequest]. + Ignored for + [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse]. + The display name of the current page. form_info (google.cloud.dialogflowcx_v3beta1.types.PageInfo.FormInfo): Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] @@ -619,6 +625,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,)