diff --git a/google/api/servicemanagement/v1/BUILD.bazel b/google/api/servicemanagement/v1/BUILD.bazel index 681dd641..996b7435 100644 --- a/google/api/servicemanagement/v1/BUILD.bazel +++ b/google/api/servicemanagement/v1/BUILD.bazel @@ -156,59 +156,17 @@ go_gapic_assembly_pkg( ############################################################################## # Python -# DO NOT OVERRIDE with autogenerated rules if NOT migrated to Python Microgen ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "moved_proto_library", - "py_grpc_library", - "py_proto_library", - py_gapic_assembly_pkg = "py_gapic_assembly_pkg_legacy", - py_gapic_library = "py_gapic_library_legacy", -) - -moved_proto_library( - name = "servicemanagement_moved_proto", - srcs = [":servicemanagement_proto"], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:config_change_proto", - "//google/api:field_behavior_proto", - "//google/api:metric_proto", - "//google/api:quota_proto", - "//google/api:service_proto", - "//google/longrunning:operations_proto", - "//google/rpc:status_proto", - "@com_google_protobuf//:any_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -py_proto_library( - name = "servicemanagement_py_proto", - plugin = "@protoc_docs_plugin//:docs_plugin", - deps = [":servicemanagement_moved_proto"], -) - -py_grpc_library( - name = "servicemanagement_py_grpc", - srcs = [":servicemanagement_moved_proto"], - deps = [":servicemanagement_py_proto"], + "py_gapic_assembly_pkg", + "py_gapic_library", ) py_gapic_library( name = "servicemanagement_py_gapic", - src = ":servicemanagement_proto_with_info", - gapic_yaml = "servicemanagement_gapic.yaml", + srcs = [":servicemanagement_proto"], grpc_service_config = "servicemanagement_grpc_service_config.json", - package = "google.api.servicemanagement.v1", - service_yaml = "servicemanagement_v1.yaml", - deps = [ - ":servicemanagement_py_grpc", - ":servicemanagement_py_proto", - ], ) # Open Source Packages @@ -216,8 +174,6 @@ py_gapic_assembly_pkg( name = "api-servicemanagement-v1-py", deps = [ ":servicemanagement_py_gapic", - ":servicemanagement_py_grpc", - ":servicemanagement_py_proto", ], )