Skip to content

Commit 762f5a7

Browse files
Google APIscopybara-github
authored andcommitted
chore: Prepare bigquery dataexchange v1beta1 for release
PiperOrigin-RevId: 439572174
1 parent f87399b commit 762f5a7

2 files changed

Lines changed: 13 additions & 17 deletions

File tree

google/cloud/bigquery/dataexchange/common/BUILD.bazel

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -59,29 +59,19 @@ go_proto_library(
5959
##############################################################################
6060
load(
6161
"@com_google_googleapis_imports//:imports.bzl",
62-
"moved_proto_library",
63-
"py_grpc_library",
64-
"py_proto_library",
62+
"py_gapic_library",
6563
)
6664

67-
moved_proto_library(
68-
name = "common_moved_proto",
65+
py_gapic_library(
66+
name = "common_py_gapic",
6967
srcs = [":common_proto"],
70-
deps = [
68+
opt_args = [
69+
"warehouse-package-name=google-cloud-bigquery-data-exchange-common",
70+
"python-gapic-namespace=google.cloud.bigquery_data_exchange",
71+
"python-gapic-name=common",
7172
],
7273
)
7374

74-
py_proto_library(
75-
name = "common_py_proto",
76-
deps = [":common_moved_proto"],
77-
)
78-
79-
py_grpc_library(
80-
name = "common_py_grpc",
81-
srcs = [":common_moved_proto"],
82-
deps = [":common_py_proto"],
83-
)
84-
8575
##############################################################################
8676
# PHP
8777
##############################################################################

google/cloud/bigquery/dataexchange/v1beta1/BUILD.bazel

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,13 +173,19 @@ py_gapic_library(
173173
name = "dataexchange_py_gapic",
174174
srcs = [":dataexchange_proto"],
175175
grpc_service_config = "analyticshub_grpc_service_config.json",
176+
opt_args = [
177+
"warehouse-package-name=google-cloud-bigquery-data-exchange",
178+
"python-gapic-namespace=google.cloud",
179+
"python-gapic-name=bigquery_data_exchange",
180+
],
176181
)
177182

178183
# Open Source Packages
179184
py_gapic_assembly_pkg(
180185
name = "bigquery-dataexchange-v1beta1-py",
181186
deps = [
182187
":dataexchange_py_gapic",
188+
"//google/cloud/bigquery/dataexchange/common:common_py_gapic",
183189
],
184190
)
185191

0 commit comments

Comments
 (0)