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

feat(v3beta1): added the display name of the current page in webhook requests #222

Merged
merged 3 commits into from
Dec 23, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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