Skip to content

Commit 2bea43c

Browse files
Google APIscopybara-github
authored andcommitted
fix: RunTestCase http template. PHP REST client lib can be generated.
feat: Support transition route group coverage for Test Cases. feat: Support SentimentAnalysisResult input in the WebhookRequest. PiperOrigin-RevId: 357788001
1 parent a3b60b0 commit 2bea43c

19 files changed

Lines changed: 126 additions & 84 deletions

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

Lines changed: 55 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -192,74 +192,73 @@ go_gapic_assembly_pkg(
192192
# Python
193193
##############################################################################
194194
load(
195-
"@com_google_googleapis_imports//:imports.bzl",
196-
"py_gapic_assembly_pkg",
197-
"py_gapic_library",
195+
"@com_google_googleapis_imports//:imports.bzl",
196+
"py_gapic_assembly_pkg",
197+
"py_gapic_library",
198198
)
199199

200200
py_gapic_library(
201-
name = "cx_py_gapic",
202-
srcs = [":cx_proto"],
203-
grpc_service_config = "dialogflow_grpc_service_config.json",
204-
opt_args = [
205-
"python-gapic-name=dialogflowcx",
206-
"python-gapic-namespace=google.cloud",
207-
],
201+
name = "cx_py_gapic",
202+
srcs = [":cx_proto"],
203+
grpc_service_config = "dialogflow_grpc_service_config.json",
204+
opt_args = [
205+
"python-gapic-name=dialogflowcx",
206+
"python-gapic-namespace=google.cloud",
207+
],
208208
)
209209

210210
# Open Source Packages
211211
py_gapic_assembly_pkg(
212-
name = "dialogflow-cx-v3-py",
213-
deps = [
214-
":cx_py_gapic",
215-
],
212+
name = "dialogflow-cx-v3-py",
213+
deps = [
214+
":cx_py_gapic",
215+
],
216216
)
217217

218-
# TODO(b/177677397): Unable to generate PHP library.
219218
##############################################################################
220219
# PHP
221220
##############################################################################
222-
# load(
223-
# "@com_google_googleapis_imports//:imports.bzl",
224-
# "php_gapic_assembly_pkg",
225-
# "php_gapic_library",
226-
# "php_grpc_library",
227-
# "php_proto_library",
228-
# )
229-
230-
# php_proto_library(
231-
# name = "cx_php_proto",
232-
# deps = [":cx_proto"],
233-
# )
234-
235-
# php_grpc_library(
236-
# name = "cx_php_grpc",
237-
# srcs = [":cx_proto"],
238-
# deps = [":cx_php_proto"],
239-
# )
240-
241-
# php_gapic_library(
242-
# name = "cx_php_gapic",
243-
# src = ":cx_proto_with_info",
244-
# gapic_yaml = "dialogflow_gapic.yaml",
245-
# grpc_service_config = "dialogflow_grpc_service_config.json",
246-
# package = "google.cloud.dialogflow.cx.v3",
247-
# service_yaml = "dialogflow_v3.yaml",
248-
# deps = [
249-
# ":cx_php_grpc",
250-
# ":cx_php_proto",
251-
# ],
252-
# )
253-
254-
# # Open Source Packages
255-
# php_gapic_assembly_pkg(
256-
# name = "google-cloud-dialogflow-cx-v3-php",
257-
# deps = [
258-
# ":cx_php_gapic",
259-
# ":cx_php_grpc",
260-
# ":cx_php_proto",
261-
# ],
262-
# )
221+
load(
222+
"@com_google_googleapis_imports//:imports.bzl",
223+
"php_gapic_assembly_pkg",
224+
"php_gapic_library",
225+
"php_grpc_library",
226+
"php_proto_library",
227+
)
228+
229+
php_proto_library(
230+
name = "cx_php_proto",
231+
deps = [":cx_proto"],
232+
)
233+
234+
php_grpc_library(
235+
name = "cx_php_grpc",
236+
srcs = [":cx_proto"],
237+
deps = [":cx_php_proto"],
238+
)
239+
240+
php_gapic_library(
241+
name = "cx_php_gapic",
242+
src = ":cx_proto_with_info",
243+
gapic_yaml = "dialogflow_gapic.yaml",
244+
grpc_service_config = "dialogflow_grpc_service_config.json",
245+
package = "google.cloud.dialogflow.cx.v3",
246+
service_yaml = "dialogflow_v3.yaml",
247+
deps = [
248+
":cx_php_grpc",
249+
":cx_php_proto",
250+
],
251+
)
252+
253+
# Open Source Packages
254+
php_gapic_assembly_pkg(
255+
name = "google-cloud-dialogflow-cx-v3-php",
256+
deps = [
257+
":cx_php_gapic",
258+
":cx_php_grpc",
259+
":cx_php_proto",
260+
],
261+
)
263262

264263
##############################################################################
265264
# Node.js

google/cloud/dialogflow/cx/v3/agent.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 Google LLC
1+
// Copyright 2021 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

google/cloud/dialogflow/cx/v3/audio_config.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 Google LLC
1+
// Copyright 2021 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

google/cloud/dialogflow/cx/v3/entity_type.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 Google LLC
1+
// Copyright 2021 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

google/cloud/dialogflow/cx/v3/environment.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 Google LLC
1+
// Copyright 2021 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

google/cloud/dialogflow/cx/v3/experiment.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 Google LLC
1+
// Copyright 2021 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

google/cloud/dialogflow/cx/v3/flow.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 Google LLC
1+
// Copyright 2021 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

google/cloud/dialogflow/cx/v3/fulfillment.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 Google LLC
1+
// Copyright 2021 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

google/cloud/dialogflow/cx/v3/intent.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 Google LLC
1+
// Copyright 2021 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

google/cloud/dialogflow/cx/v3/page.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 Google LLC
1+
// Copyright 2021 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)