Skip to content

Commit 3a8abe5

Browse files
Google APIscopybara-github
authored andcommitted
chore: rename python package to google-cloud-resource-settings
PiperOrigin-RevId: 365755296
1 parent a1ab4d4 commit 3a8abe5

1 file changed

Lines changed: 12 additions & 23 deletions

File tree

google/cloud/resourcesettings/v1/BUILD.bazel

Lines changed: 12 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -66,34 +66,23 @@ go_proto_library(
6666
##############################################################################
6767
load(
6868
"@com_google_googleapis_imports//:imports.bzl",
69-
"moved_proto_library",
70-
"py_grpc_library",
71-
"py_proto_library",
69+
"py_gapic_assembly_pkg",
70+
"py_gapic_library",
7271
)
7372

74-
moved_proto_library(
75-
name = "resourcesettings_moved_proto",
73+
py_gapic_library(
74+
name = "resourcesettings_py_gapic",
7675
srcs = [":resourcesettings_proto"],
77-
deps = [
78-
"//google/api:annotations_proto",
79-
"//google/api:client_proto",
80-
"//google/api:field_behavior_proto",
81-
"//google/api:resource_proto",
82-
"@com_google_protobuf//:empty_proto",
83-
"@com_google_protobuf//:timestamp_proto",
84-
],
85-
)
86-
87-
py_proto_library(
88-
name = "resourcesettings_py_proto",
89-
plugin = "@protoc_docs_plugin//:docs_plugin",
90-
deps = [":resourcesettings_moved_proto"],
76+
grpc_service_config = "resourcesettings_grpc_service_config.json",
77+
opt_args = ["warehouse-package-name=google-cloud-resource-settings"]
9178
)
9279

93-
py_grpc_library(
94-
name = "resourcesettings_py_grpc",
95-
srcs = [":resourcesettings_moved_proto"],
96-
deps = [":resourcesettings_py_proto"],
80+
# Open Source Packages
81+
py_gapic_assembly_pkg(
82+
name = "resourcesettings-v1-py",
83+
deps = [
84+
":resourcesettings_py_gapic",
85+
],
9786
)
9887

9988
##############################################################################

0 commit comments

Comments
 (0)