Debian Codegraph @

internal/generated/snippets/texttospeech/apiv1/snippet_metadata.google.cloud.texttospeech.v1.json

raw symbols SCIP
1 {
2 "clientLibrary": {
3 "name": "cloud.google.com/go/texttospeech/apiv1",
4 "version": "1.14.0",
5 "language": "GO",
6 "apis": [
7 {
8 "id": "google.cloud.texttospeech.v1",
9 "version": "v1"
10 }
11 ]
12 },
13 "snippets": [
14 {
15 "regionTag": "texttospeech_v1_generated_TextToSpeech_GetOperation_sync",
16 "title": "texttospeech GetOperation Sample",
17 "description": "GetOperation is a utility method from google.longrunning.Operations.",
18 "file": "Client/GetOperation/main.go",
19 "language": "GO",
20 "clientMethod": {
21 "shortName": "GetOperation",
22 "fullName": "google.cloud.texttospeech.v1.Client.GetOperation",
23 "parameters": [
24 {
25 "type": "context.Context",
26 "name": "ctx"
27 },
28 {
29 "type": "longrunningpb.GetOperationRequest",
30 "name": "req"
31 },
32 {
33 "type": "...gax.CallOption",
34 "name": "opts"
35 }
36 ],
37 "resultType": "*longrunningpb.Operation",
38 "client": {
39 "shortName": "Client",
40 "fullName": "google.cloud.texttospeech.v1.Client"
41 },
42 "method": {
43 "shortName": "GetOperation",
44 "fullName": "google.longrunning.Operations.GetOperation",
45 "service": {
46 "shortName": "Operations",
47 "fullName": "google.longrunning.Operations"
48 }
49 }
50 },
51 "origin": "API_DEFINITION",
52 "segments": [
53 {
54 "start": 18,
55 "end": 53,
56 "type": "FULL"
57 }
58 ]
59 },
60 {
61 "regionTag": "texttospeech_v1_generated_TextToSpeech_ListOperations_sync",
62 "title": "texttospeech ListOperations Sample",
63 "description": "ListOperations is a utility method from google.longrunning.Operations.",
64 "file": "Client/ListOperations/main.go",
65 "language": "GO",
66 "clientMethod": {
67 "shortName": "ListOperations",
68 "fullName": "google.cloud.texttospeech.v1.Client.ListOperations",
69 "parameters": [
70 {
71 "type": "context.Context",
72 "name": "ctx"
73 },
74 {
75 "type": "longrunningpb.ListOperationsRequest",
76 "name": "req"
77 },
78 {
79 "type": "...gax.CallOption",
80 "name": "opts"
81 }
82 ],
83 "resultType": "OperationIterator",
84 "client": {
85 "shortName": "Client",
86 "fullName": "google.cloud.texttospeech.v1.Client"
87 },
88 "method": {
89 "shortName": "ListOperations",
90 "fullName": "google.longrunning.Operations.ListOperations",
91 "service": {
92 "shortName": "Operations",
93 "fullName": "google.longrunning.Operations"
94 }
95 }
96 },
97 "origin": "API_DEFINITION",
98 "segments": [
99 {
100 "start": 18,
101 "end": 66,
102 "type": "FULL"
103 }
104 ]
105 },
106 {
107 "regionTag": "texttospeech_v1_generated_TextToSpeech_ListVoices_sync",
108 "title": "texttospeech ListVoices Sample",
109 "description": "ListVoices returns a list of Voice supported for synthesis.",
110 "file": "Client/ListVoices/main.go",
111 "language": "GO",
112 "clientMethod": {
113 "shortName": "ListVoices",
114 "fullName": "google.cloud.texttospeech.v1.Client.ListVoices",
115 "parameters": [
116 {
117 "type": "context.Context",
118 "name": "ctx"
119 },
120 {
121 "type": "texttospeechpb.ListVoicesRequest",
122 "name": "req"
123 },
124 {
125 "type": "...gax.CallOption",
126 "name": "opts"
127 }
128 ],
129 "resultType": "*texttospeechpb.ListVoicesResponse",
130 "client": {
131 "shortName": "Client",
132 "fullName": "google.cloud.texttospeech.v1.Client"
133 },
134 "method": {
135 "shortName": "ListVoices",
136 "fullName": "google.cloud.texttospeech.v1.TextToSpeech.ListVoices",
137 "service": {
138 "shortName": "TextToSpeech",
139 "fullName": "google.cloud.texttospeech.v1.TextToSpeech"
140 }
141 }
142 },
143 "origin": "API_DEFINITION",
144 "segments": [
145 {
146 "start": 18,
147 "end": 53,
148 "type": "FULL"
149 }
150 ]
151 },
152 {
153 "regionTag": "texttospeech_v1_generated_TextToSpeech_StreamingSynthesize_sync",
154 "title": "texttospeech StreamingSynthesize Sample",
155 "description": "StreamingSynthesize performs bidirectional streaming speech synthesis: receives audio while\nsending text.\n\n\nThis method is not supported for the REST transport.",
156 "file": "Client/StreamingSynthesize/main.go",
157 "language": "GO",
158 "clientMethod": {
159 "shortName": "StreamingSynthesize",
160 "fullName": "google.cloud.texttospeech.v1.Client.StreamingSynthesize",
161 "parameters": [
162 {
163 "type": "context.Context",
164 "name": "ctx"
165 },
166 {
167 "type": "...gax.CallOption",
168 "name": "opts"
169 }
170 ],
171 "resultType": "texttospeechpb.TextToSpeech_StreamingSynthesizeClient",
172 "client": {
173 "shortName": "Client",
174 "fullName": "google.cloud.texttospeech.v1.Client"
175 },
176 "method": {
177 "shortName": "StreamingSynthesize",
178 "fullName": "google.cloud.texttospeech.v1.TextToSpeech.StreamingSynthesize",
179 "service": {
180 "shortName": "TextToSpeech",
181 "fullName": "google.cloud.texttospeech.v1.TextToSpeech"
182 }
183 }
184 },
185 "origin": "API_DEFINITION",
186 "segments": [
187 {
188 "start": 18,
189 "end": 69,
190 "type": "FULL"
191 }
192 ]
193 },
194 {
195 "regionTag": "texttospeech_v1_generated_TextToSpeech_SynthesizeSpeech_sync",
196 "title": "texttospeech SynthesizeSpeech Sample",
197 "description": "SynthesizeSpeech synthesizes speech synchronously: receive results after all text input\nhas been processed.",
198 "file": "Client/SynthesizeSpeech/main.go",
199 "language": "GO",
200 "clientMethod": {
201 "shortName": "SynthesizeSpeech",
202 "fullName": "google.cloud.texttospeech.v1.Client.SynthesizeSpeech",
203 "parameters": [
204 {
205 "type": "context.Context",
206 "name": "ctx"
207 },
208 {
209 "type": "texttospeechpb.SynthesizeSpeechRequest",
210 "name": "req"
211 },
212 {
213 "type": "...gax.CallOption",
214 "name": "opts"
215 }
216 ],
217 "resultType": "*texttospeechpb.SynthesizeSpeechResponse",
218 "client": {
219 "shortName": "Client",
220 "fullName": "google.cloud.texttospeech.v1.Client"
221 },
222 "method": {
223 "shortName": "SynthesizeSpeech",
224 "fullName": "google.cloud.texttospeech.v1.TextToSpeech.SynthesizeSpeech",
225 "service": {
226 "shortName": "TextToSpeech",
227 "fullName": "google.cloud.texttospeech.v1.TextToSpeech"
228 }
229 }
230 },
231 "origin": "API_DEFINITION",
232 "segments": [
233 {
234 "start": 18,
235 "end": 53,
236 "type": "FULL"
237 }
238 ]
239 },
240 {
241 "regionTag": "texttospeech_v1_generated_TextToSpeechLongAudioSynthesize_GetOperation_sync",
242 "title": "texttospeech GetOperation Sample",
243 "description": "GetOperation is a utility method from google.longrunning.Operations.",
244 "file": "TextToSpeechLongAudioSynthesizeClient/GetOperation/main.go",
245 "language": "GO",
246 "clientMethod": {
247 "shortName": "GetOperation",
248 "fullName": "google.cloud.texttospeech.v1.TextToSpeechLongAudioSynthesizeClient.GetOperation",
249 "parameters": [
250 {
251 "type": "context.Context",
252 "name": "ctx"
253 },
254 {
255 "type": "longrunningpb.GetOperationRequest",
256 "name": "req"
257 },
258 {
259 "type": "...gax.CallOption",
260 "name": "opts"
261 }
262 ],
263 "resultType": "*longrunningpb.Operation",
264 "client": {
265 "shortName": "TextToSpeechLongAudioSynthesizeClient",
266 "fullName": "google.cloud.texttospeech.v1.TextToSpeechLongAudioSynthesizeClient"
267 },
268 "method": {
269 "shortName": "GetOperation",
270 "fullName": "google.longrunning.Operations.GetOperation",
271 "service": {
272 "shortName": "Operations",
273 "fullName": "google.longrunning.Operations"
274 }
275 }
276 },
277 "origin": "API_DEFINITION",
278 "segments": [
279 {
280 "start": 18,
281 "end": 53,
282 "type": "FULL"
283 }
284 ]
285 },
286 {
287 "regionTag": "texttospeech_v1_generated_TextToSpeechLongAudioSynthesize_ListOperations_sync",
288 "title": "texttospeech ListOperations Sample",
289 "description": "ListOperations is a utility method from google.longrunning.Operations.",
290 "file": "TextToSpeechLongAudioSynthesizeClient/ListOperations/main.go",
291 "language": "GO",
292 "clientMethod": {
293 "shortName": "ListOperations",
294 "fullName": "google.cloud.texttospeech.v1.TextToSpeechLongAudioSynthesizeClient.ListOperations",
295 "parameters": [
296 {
297 "type": "context.Context",
298 "name": "ctx"
299 },
300 {
301 "type": "longrunningpb.ListOperationsRequest",
302 "name": "req"
303 },
304 {
305 "type": "...gax.CallOption",
306 "name": "opts"
307 }
308 ],
309 "resultType": "OperationIterator",
310 "client": {
311 "shortName": "TextToSpeechLongAudioSynthesizeClient",
312 "fullName": "google.cloud.texttospeech.v1.TextToSpeechLongAudioSynthesizeClient"
313 },
314 "method": {
315 "shortName": "ListOperations",
316 "fullName": "google.longrunning.Operations.ListOperations",
317 "service": {
318 "shortName": "Operations",
319 "fullName": "google.longrunning.Operations"
320 }
321 }
322 },
323 "origin": "API_DEFINITION",
324 "segments": [
325 {
326 "start": 18,
327 "end": 66,
328 "type": "FULL"
329 }
330 ]
331 },
332 {
333 "regionTag": "texttospeech_v1_generated_TextToSpeechLongAudioSynthesize_SynthesizeLongAudio_sync",
334 "title": "texttospeech SynthesizeLongAudio Sample",
335 "description": "SynthesizeLongAudio synthesizes long form text asynchronously.",
336 "file": "TextToSpeechLongAudioSynthesizeClient/SynthesizeLongAudio/main.go",
337 "language": "GO",
338 "clientMethod": {
339 "shortName": "SynthesizeLongAudio",
340 "fullName": "google.cloud.texttospeech.v1.TextToSpeechLongAudioSynthesizeClient.SynthesizeLongAudio",
341 "parameters": [
342 {
343 "type": "context.Context",
344 "name": "ctx"
345 },
346 {
347 "type": "texttospeechpb.SynthesizeLongAudioRequest",
348 "name": "req"
349 },
350 {
351 "type": "...gax.CallOption",
352 "name": "opts"
353 }
354 ],
355 "resultType": "SynthesizeLongAudioOperation",
356 "client": {
357 "shortName": "TextToSpeechLongAudioSynthesizeClient",
358 "fullName": "google.cloud.texttospeech.v1.TextToSpeechLongAudioSynthesizeClient"
359 },
360 "method": {
361 "shortName": "SynthesizeLongAudio",
362 "fullName": "google.cloud.texttospeech.v1.TextToSpeechLongAudioSynthesize.SynthesizeLongAudio",
363 "service": {
364 "shortName": "TextToSpeechLongAudioSynthesize",
365 "fullName": "google.cloud.texttospeech.v1.TextToSpeechLongAudioSynthesize"
366 }
367 }
368 },
369 "origin": "API_DEFINITION",
370 "segments": [
371 {
372 "start": 18,
373 "end": 58,
374 "type": "FULL"
375 }
376 ]
377 }
378 ]
379 }