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

feat(v3): added the display name of the current page in webhook requests #221

Merged
merged 2 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_v3/types/webhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,12 @@ class PageInfo(proto.Message):
[WebhookResponse][google.cloud.dialogflow.cx.v3.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.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]
Expand Down Expand Up @@ -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,)


Expand Down