From 4d19fc01775b142dd392f4bd82bdf8810202d061 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Tue, 19 Jan 2021 13:45:56 -0800 Subject: [PATCH] chore: migrate texttospeech v1beta1 to python microgenerator PiperOrigin-RevId: 352645446 --- google/cloud/texttospeech/v1beta1/BUILD.bazel | 41 ++----------------- 1 file changed, 3 insertions(+), 38 deletions(-) diff --git a/google/cloud/texttospeech/v1beta1/BUILD.bazel b/google/cloud/texttospeech/v1beta1/BUILD.bazel index 3175a716..2ad1e43b 100644 --- a/google/cloud/texttospeech/v1beta1/BUILD.bazel +++ b/google/cloud/texttospeech/v1beta1/BUILD.bazel @@ -134,50 +134,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 = "texttospeech_moved_proto", - srcs = [":texttospeech_proto"], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - ], -) - -py_proto_library( - name = "texttospeech_py_proto", - plugin = "@protoc_docs_plugin//:docs_plugin", - deps = [":texttospeech_moved_proto"], -) - -py_grpc_library( - name = "texttospeech_py_grpc", - srcs = [":texttospeech_moved_proto"], - deps = [":texttospeech_py_proto"], + "py_gapic_assembly_pkg", + "py_gapic_library", ) py_gapic_library( name = "texttospeech_py_gapic", - src = ":texttospeech_proto_with_info", - gapic_yaml = "texttospeech_gapic.yaml", + srcs = [":texttospeech_proto"], grpc_service_config = "texttospeech_grpc_service_config.json", - package = "google.cloud.texttospeech.v1beta1", - service_yaml = "texttospeech_v1beta1.yaml", - deps = [ - ":texttospeech_py_grpc", - ":texttospeech_py_proto", - ], ) # Open Source Packages @@ -185,8 +152,6 @@ py_gapic_assembly_pkg( name = "texttospeech-v1beta1-py", deps = [ ":texttospeech_py_gapic", - ":texttospeech_py_grpc", - ":texttospeech_py_proto", ], )