diff --git a/google/container/v1/BUILD.bazel b/google/container/v1/BUILD.bazel index d9e78b34825a7..4b855094f3afd 100644 --- a/google/container/v1/BUILD.bazel +++ b/google/container/v1/BUILD.bazel @@ -140,59 +140,23 @@ go_gapic_assembly_pkg( ############################################################################## # Python ############################################################################## +# This library is using Python microgenerator. +# DO NOT OVERRIDE this Python section with autogenerated rules. load( "@com_google_googleapis_imports//:imports.bzl", - "moved_proto_library", - "py_gapic_assembly_pkg", - "py_gapic_library", - "py_grpc_library", - "py_proto_library", -) - -moved_proto_library( - name = "container_moved_proto", - srcs = [":container_proto"], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -py_proto_library( - name = "container_py_proto", - plugin = "@protoc_docs_plugin//:docs_plugin", - deps = [":container_moved_proto"], -) - -py_grpc_library( - name = "container_py_grpc", - srcs = [":container_moved_proto"], - deps = [":container_py_proto"], + py_gapic_assembly_pkg = "py_gapic_assembly_pkg2", + py_gapic_library = "py_gapic_library2", ) py_gapic_library( name = "container_py_gapic", - src = ":container_proto_with_info", - gapic_yaml = "container_gapic.yaml", - grpc_service_config = "container_grpc_service_config.json", - package = "google.container.v1", - service_yaml = "container_v1.yaml", - deps = [ - ":container_py_grpc", - ":container_py_proto", - ], + srcs = [":container_proto"], ) -# Open Source Packages py_gapic_assembly_pkg( name = "container-v1-py", deps = [ ":container_py_gapic", - ":container_py_grpc", - ":container_py_proto", ], ) diff --git a/google/container/v1beta1/BUILD.bazel b/google/container/v1beta1/BUILD.bazel index 9c794585fd4ee..ec467cdd56a33 100644 --- a/google/container/v1beta1/BUILD.bazel +++ b/google/container/v1beta1/BUILD.bazel @@ -140,59 +140,23 @@ go_gapic_assembly_pkg( ############################################################################## # Python ############################################################################## +# This library is using Python microgenerator. +# DO NOT OVERRIDE this Python section with autogenerated rules. load( "@com_google_googleapis_imports//:imports.bzl", - "moved_proto_library", - "py_gapic_assembly_pkg", - "py_gapic_library", - "py_grpc_library", - "py_proto_library", -) - -moved_proto_library( - name = "container_moved_proto", - srcs = [":container_proto"], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -py_proto_library( - name = "container_py_proto", - plugin = "@protoc_docs_plugin//:docs_plugin", - deps = [":container_moved_proto"], -) - -py_grpc_library( - name = "container_py_grpc", - srcs = [":container_moved_proto"], - deps = [":container_py_proto"], + py_gapic_assembly_pkg = "py_gapic_assembly_pkg2", + py_gapic_library = "py_gapic_library2", ) py_gapic_library( name = "container_py_gapic", - src = ":container_proto_with_info", - gapic_yaml = "container_gapic.yaml", - grpc_service_config = "container_grpc_service_config.json", - package = "google.container.v1beta1", - service_yaml = "container_v1beta1.yaml", - deps = [ - ":container_py_grpc", - ":container_py_proto", - ], + srcs = [":container_proto"], ) -# Open Source Packages py_gapic_assembly_pkg( name = "container-v1beta1-py", deps = [ ":container_py_gapic", - ":container_py_grpc", - ":container_py_proto", ], )