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

Commit

Permalink
feat(v3beta1): added the display name of the current page in webhook …
Browse files Browse the repository at this point in the history
…requests (#222)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 417856932

Source-Link: googleapis/googleapis@16ecf07

Source-Link: googleapis/googleapis-gen@d295521
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDI5NTUyMTliNjVmYjdmNDdmY2U5NmM5M2RmYmYyNWMyZmRlMWQ4MiJ9
  • Loading branch information
gcf-owl-bot[bot] committed Dec 23, 2021
1 parent aa91b72 commit 5956179
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions google/cloud/dialogflowcx_v3beta1/types/webhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,12 @@ class PageInfo(proto.Message):
[WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
The unique identifier of the current page. Format:
``projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>``.
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]
Expand Down Expand Up @@ -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,)


Expand Down

0 comments on commit 5956179

Please sign in to comment.