Skip to content

Commit 16ecf07

Browse files
Google APIscopybara-github
authored andcommitted
feat: added the display name of the current page in webhook requests
PiperOrigin-RevId: 417856932
1 parent 285ed91 commit 16ecf07

2 files changed

Lines changed: 21 additions & 1 deletion

File tree

google/cloud/dialogflow/cx/v3beta1/BUILD.bazel

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,4 +394,20 @@ csharp_gapic_assembly_pkg(
394394
##############################################################################
395395
# C++
396396
##############################################################################
397-
# Put your C++ rules here
397+
load(
398+
"@com_google_googleapis_imports//:imports.bzl",
399+
"cc_grpc_library",
400+
"cc_proto_library",
401+
)
402+
403+
cc_proto_library(
404+
name = "cx_cc_proto",
405+
deps = [":cx_proto"],
406+
)
407+
408+
cc_grpc_library(
409+
name = "cx_cc_grpc",
410+
srcs = [":cx_proto"],
411+
grpc_only = True,
412+
deps = [":cx_cc_proto"],
413+
)

google/cloud/dialogflow/cx/v3beta1/webhook.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,10 @@ message PageInfo {
509509
type: "dialogflow.googleapis.com/Page"
510510
}];
511511

512+
// Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
513+
// The display name of the current page.
514+
string display_name = 4;
515+
512516
// Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3beta1.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3beta1.WebhookResponse].
513517
// Information about the form.
514518
FormInfo form_info = 3;

0 commit comments

Comments
 (0)