Skip to content

Commit ece2d18

Browse files
chore: use gapic-generator-python 0.65.1 (#284)
* chore: use gapic-generator-python 0.65.1 PiperOrigin-RevId: 441524537 Source-Link: googleapis/googleapis@2a27391 Source-Link: googleapis/googleapis-gen@ab6756a Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWI2NzU2YTQ4Yzg5YjViY2I5ZmI3MzQ0M2NiOGU1NWQ1NzRmNDY0MyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 2e903f9 commit ece2d18

File tree

2 files changed

+356
-16
lines changed

2 files changed

+356
-16
lines changed

packages/google-cloud-texttospeech/samples/generated_samples/snippet_metadata_texttospeech_v1.json

Lines changed: 178 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,61 @@
11
{
2+
"clientLibrary": {
3+
"apis": [
4+
{
5+
"id": "google.cloud.texttospeech.v1",
6+
"version": "v1"
7+
}
8+
],
9+
"language": "PYTHON",
10+
"name": "google-cloud-texttospeech"
11+
},
212
"snippets": [
313
{
14+
"canonical": true,
415
"clientMethod": {
516
"async": true,
17+
"client": {
18+
"fullName": "google.cloud.texttospeech_v1.TextToSpeechAsyncClient",
19+
"shortName": "TextToSpeechAsyncClient"
20+
},
21+
"fullName": "google.cloud.texttospeech_v1.TextToSpeechAsyncClient.list_voices",
622
"method": {
23+
"fullName": "google.cloud.texttospeech.v1.TextToSpeech.ListVoices",
724
"service": {
25+
"fullName": "google.cloud.texttospeech.v1.TextToSpeech",
826
"shortName": "TextToSpeech"
927
},
1028
"shortName": "ListVoices"
11-
}
29+
},
30+
"parameters": [
31+
{
32+
"name": "request",
33+
"type": "google.cloud.texttospeech_v1.types.ListVoicesRequest"
34+
},
35+
{
36+
"name": "language_code",
37+
"type": "str"
38+
},
39+
{
40+
"name": "retry",
41+
"type": "google.api_core.retry.Retry"
42+
},
43+
{
44+
"name": "timeout",
45+
"type": "float"
46+
},
47+
{
48+
"name": "metadata",
49+
"type": "Sequence[Tuple[str, str]"
50+
}
51+
],
52+
"resultType": "google.cloud.texttospeech_v1.types.ListVoicesResponse",
53+
"shortName": "list_voices"
1254
},
55+
"description": "Sample for ListVoices",
1356
"file": "texttospeech_v1_generated_text_to_speech_list_voices_async.py",
57+
"language": "PYTHON",
58+
"origin": "API_DEFINITION",
1459
"regionTag": "texttospeech_v1_generated_TextToSpeech_ListVoices_async",
1560
"segments": [
1661
{
@@ -43,18 +88,54 @@
4388
"start": 41,
4489
"type": "RESPONSE_HANDLING"
4590
}
46-
]
91+
],
92+
"title": "texttospeech_v1_generated_text_to_speech_list_voices_async.py"
4793
},
4894
{
95+
"canonical": true,
4996
"clientMethod": {
97+
"client": {
98+
"fullName": "google.cloud.texttospeech_v1.TextToSpeechClient",
99+
"shortName": "TextToSpeechClient"
100+
},
101+
"fullName": "google.cloud.texttospeech_v1.TextToSpeechClient.list_voices",
50102
"method": {
103+
"fullName": "google.cloud.texttospeech.v1.TextToSpeech.ListVoices",
51104
"service": {
105+
"fullName": "google.cloud.texttospeech.v1.TextToSpeech",
52106
"shortName": "TextToSpeech"
53107
},
54108
"shortName": "ListVoices"
55-
}
109+
},
110+
"parameters": [
111+
{
112+
"name": "request",
113+
"type": "google.cloud.texttospeech_v1.types.ListVoicesRequest"
114+
},
115+
{
116+
"name": "language_code",
117+
"type": "str"
118+
},
119+
{
120+
"name": "retry",
121+
"type": "google.api_core.retry.Retry"
122+
},
123+
{
124+
"name": "timeout",
125+
"type": "float"
126+
},
127+
{
128+
"name": "metadata",
129+
"type": "Sequence[Tuple[str, str]"
130+
}
131+
],
132+
"resultType": "google.cloud.texttospeech_v1.types.ListVoicesResponse",
133+
"shortName": "list_voices"
56134
},
135+
"description": "Sample for ListVoices",
57136
"file": "texttospeech_v1_generated_text_to_speech_list_voices_sync.py",
137+
"language": "PYTHON",
138+
"origin": "API_DEFINITION",
58139
"regionTag": "texttospeech_v1_generated_TextToSpeech_ListVoices_sync",
59140
"segments": [
60141
{
@@ -87,19 +168,63 @@
87168
"start": 41,
88169
"type": "RESPONSE_HANDLING"
89170
}
90-
]
171+
],
172+
"title": "texttospeech_v1_generated_text_to_speech_list_voices_sync.py"
91173
},
92174
{
175+
"canonical": true,
93176
"clientMethod": {
94177
"async": true,
178+
"client": {
179+
"fullName": "google.cloud.texttospeech_v1.TextToSpeechAsyncClient",
180+
"shortName": "TextToSpeechAsyncClient"
181+
},
182+
"fullName": "google.cloud.texttospeech_v1.TextToSpeechAsyncClient.synthesize_speech",
95183
"method": {
184+
"fullName": "google.cloud.texttospeech.v1.TextToSpeech.SynthesizeSpeech",
96185
"service": {
186+
"fullName": "google.cloud.texttospeech.v1.TextToSpeech",
97187
"shortName": "TextToSpeech"
98188
},
99189
"shortName": "SynthesizeSpeech"
100-
}
190+
},
191+
"parameters": [
192+
{
193+
"name": "request",
194+
"type": "google.cloud.texttospeech_v1.types.SynthesizeSpeechRequest"
195+
},
196+
{
197+
"name": "input",
198+
"type": "google.cloud.texttospeech_v1.types.SynthesisInput"
199+
},
200+
{
201+
"name": "voice",
202+
"type": "google.cloud.texttospeech_v1.types.VoiceSelectionParams"
203+
},
204+
{
205+
"name": "audio_config",
206+
"type": "google.cloud.texttospeech_v1.types.AudioConfig"
207+
},
208+
{
209+
"name": "retry",
210+
"type": "google.api_core.retry.Retry"
211+
},
212+
{
213+
"name": "timeout",
214+
"type": "float"
215+
},
216+
{
217+
"name": "metadata",
218+
"type": "Sequence[Tuple[str, str]"
219+
}
220+
],
221+
"resultType": "google.cloud.texttospeech_v1.types.SynthesizeSpeechResponse",
222+
"shortName": "synthesize_speech"
101223
},
224+
"description": "Sample for SynthesizeSpeech",
102225
"file": "texttospeech_v1_generated_text_to_speech_synthesize_speech_async.py",
226+
"language": "PYTHON",
227+
"origin": "API_DEFINITION",
103228
"regionTag": "texttospeech_v1_generated_TextToSpeech_SynthesizeSpeech_async",
104229
"segments": [
105230
{
@@ -132,18 +257,62 @@
132257
"start": 53,
133258
"type": "RESPONSE_HANDLING"
134259
}
135-
]
260+
],
261+
"title": "texttospeech_v1_generated_text_to_speech_synthesize_speech_async.py"
136262
},
137263
{
264+
"canonical": true,
138265
"clientMethod": {
266+
"client": {
267+
"fullName": "google.cloud.texttospeech_v1.TextToSpeechClient",
268+
"shortName": "TextToSpeechClient"
269+
},
270+
"fullName": "google.cloud.texttospeech_v1.TextToSpeechClient.synthesize_speech",
139271
"method": {
272+
"fullName": "google.cloud.texttospeech.v1.TextToSpeech.SynthesizeSpeech",
140273
"service": {
274+
"fullName": "google.cloud.texttospeech.v1.TextToSpeech",
141275
"shortName": "TextToSpeech"
142276
},
143277
"shortName": "SynthesizeSpeech"
144-
}
278+
},
279+
"parameters": [
280+
{
281+
"name": "request",
282+
"type": "google.cloud.texttospeech_v1.types.SynthesizeSpeechRequest"
283+
},
284+
{
285+
"name": "input",
286+
"type": "google.cloud.texttospeech_v1.types.SynthesisInput"
287+
},
288+
{
289+
"name": "voice",
290+
"type": "google.cloud.texttospeech_v1.types.VoiceSelectionParams"
291+
},
292+
{
293+
"name": "audio_config",
294+
"type": "google.cloud.texttospeech_v1.types.AudioConfig"
295+
},
296+
{
297+
"name": "retry",
298+
"type": "google.api_core.retry.Retry"
299+
},
300+
{
301+
"name": "timeout",
302+
"type": "float"
303+
},
304+
{
305+
"name": "metadata",
306+
"type": "Sequence[Tuple[str, str]"
307+
}
308+
],
309+
"resultType": "google.cloud.texttospeech_v1.types.SynthesizeSpeechResponse",
310+
"shortName": "synthesize_speech"
145311
},
312+
"description": "Sample for SynthesizeSpeech",
146313
"file": "texttospeech_v1_generated_text_to_speech_synthesize_speech_sync.py",
314+
"language": "PYTHON",
315+
"origin": "API_DEFINITION",
147316
"regionTag": "texttospeech_v1_generated_TextToSpeech_SynthesizeSpeech_sync",
148317
"segments": [
149318
{
@@ -176,7 +345,8 @@
176345
"start": 53,
177346
"type": "RESPONSE_HANDLING"
178347
}
179-
]
348+
],
349+
"title": "texttospeech_v1_generated_text_to_speech_synthesize_speech_sync.py"
180350
}
181351
]
182352
}

0 commit comments

Comments
 (0)