Skip to content

Commit 4d19fc0

Browse files
Google APIscopybara-github
authored andcommitted
chore: migrate texttospeech v1beta1 to python microgenerator
PiperOrigin-RevId: 352645446
1 parent 118fbae commit 4d19fc0

File tree

1 file changed

+3
-38
lines changed

1 file changed

+3
-38
lines changed

google/cloud/texttospeech/v1beta1/BUILD.bazel

Lines changed: 3 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -134,59 +134,24 @@ go_gapic_assembly_pkg(
134134

135135
##############################################################################
136136
# Python
137-
# DO NOT OVERRIDE with autogenerated rules if NOT migrated to Python Microgen
138137
##############################################################################
139138
load(
140139
"@com_google_googleapis_imports//:imports.bzl",
141-
"moved_proto_library",
142-
"py_grpc_library",
143-
"py_proto_library",
144-
py_gapic_assembly_pkg = "py_gapic_assembly_pkg_legacy",
145-
py_gapic_library = "py_gapic_library_legacy",
146-
)
147-
148-
moved_proto_library(
149-
name = "texttospeech_moved_proto",
150-
srcs = [":texttospeech_proto"],
151-
deps = [
152-
"//google/api:annotations_proto",
153-
"//google/api:client_proto",
154-
"//google/api:field_behavior_proto",
155-
],
156-
)
157-
158-
py_proto_library(
159-
name = "texttospeech_py_proto",
160-
plugin = "@protoc_docs_plugin//:docs_plugin",
161-
deps = [":texttospeech_moved_proto"],
162-
)
163-
164-
py_grpc_library(
165-
name = "texttospeech_py_grpc",
166-
srcs = [":texttospeech_moved_proto"],
167-
deps = [":texttospeech_py_proto"],
140+
"py_gapic_assembly_pkg",
141+
"py_gapic_library",
168142
)
169143

170144
py_gapic_library(
171145
name = "texttospeech_py_gapic",
172-
src = ":texttospeech_proto_with_info",
173-
gapic_yaml = "texttospeech_gapic.yaml",
146+
srcs = [":texttospeech_proto"],
174147
grpc_service_config = "texttospeech_grpc_service_config.json",
175-
package = "google.cloud.texttospeech.v1beta1",
176-
service_yaml = "texttospeech_v1beta1.yaml",
177-
deps = [
178-
":texttospeech_py_grpc",
179-
":texttospeech_py_proto",
180-
],
181148
)
182149

183150
# Open Source Packages
184151
py_gapic_assembly_pkg(
185152
name = "texttospeech-v1beta1-py",
186153
deps = [
187154
":texttospeech_py_gapic",
188-
":texttospeech_py_grpc",
189-
":texttospeech_py_proto",
190155
],
191156
)
192157

0 commit comments

Comments
 (0)