chore: migrate texttospeech v1beta1 to python microgenerator

PiperOrigin-RevId: 352645446
This commit is contained in:
Google APIs 2021-01-19 13:45:56 -08:00 committed by Copybara-Service
parent 118fbaed3e
commit 4d19fc0177
1 changed files with 3 additions and 38 deletions

View File

@ -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",
],
)