V1beta1/CloudTts/Types.pm untested

filter: Statementstmt 0.0% 0 / 348 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 353 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Cloud::Texttospeech::V1beta1::CloudTts::Types;
2  
3 use strict;
4 use warnings;
5  
6 use Type::Library -base;
7 use Type::Utils -all;
8 use Types::Standard -types;
9  
10 declare 'SsmlVoiceGender',
11 as (Int | Str);
12  
13 declare 'AudioEncoding',
14 as (Int | Str);
15  
16 declare 'ListVoicesRequest',
17 as InstanceOf['Google::Cloud::Texttospeech::V1beta1::CloudTts::ListVoicesRequest'];
18  
19 coerce 'ListVoicesRequest',
20 from HashRef, via { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::ListVoicesRequest'->new($_) };
21  
22 declare 'RepeatedListVoicesRequest',
23 as ArrayRef[ListVoicesRequest()];
24  
25 coerce 'RepeatedListVoicesRequest',
26 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::ListVoicesRequest'->new($_) } @$_ ] };
27  
28 declare 'MapStringListVoicesRequest',
29 as HashRef[ListVoicesRequest()];
30  
31 declare 'ListVoicesResponse',
32 as InstanceOf['Google::Cloud::Texttospeech::V1beta1::CloudTts::ListVoicesResponse'];
33  
34 coerce 'ListVoicesResponse',
35 from HashRef, via { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::ListVoicesResponse'->new($_) };
36  
37 declare 'RepeatedListVoicesResponse',
38 as ArrayRef[ListVoicesResponse()];
39  
40 coerce 'RepeatedListVoicesResponse',
41 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::ListVoicesResponse'->new($_) } @$_ ] };
42  
43 declare 'MapStringListVoicesResponse',
44 as HashRef[ListVoicesResponse()];
45  
46 declare 'Voice',
47 as InstanceOf['Google::Cloud::Texttospeech::V1beta1::CloudTts::Voice'];
48  
49 coerce 'Voice',
50 from HashRef, via { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::Voice'->new($_) };
51  
52 declare 'RepeatedVoice',
53 as ArrayRef[Voice()];
54  
55 coerce 'RepeatedVoice',
56 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::Voice'->new($_) } @$_ ] };
57  
58 declare 'MapStringVoice',
59 as HashRef[Voice()];
60  
61 declare 'AdvancedVoiceOptions',
62 as InstanceOf['Google::Cloud::Texttospeech::V1beta1::CloudTts::AdvancedVoiceOptions'];
63  
64 coerce 'AdvancedVoiceOptions',
65 from HashRef, via { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::AdvancedVoiceOptions'->new($_) };
66  
67 declare 'RepeatedAdvancedVoiceOptions',
68 as ArrayRef[AdvancedVoiceOptions()];
69  
70 coerce 'RepeatedAdvancedVoiceOptions',
71 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::AdvancedVoiceOptions'->new($_) } @$_ ] };
72  
73 declare 'MapStringAdvancedVoiceOptions',
74 as HashRef[AdvancedVoiceOptions()];
75  
76 declare 'HarmCategory',
77 as (Int | Str);
78  
79 declare 'HarmBlockThreshold',
80 as (Int | Str);
81  
82 declare 'SafetySetting',
83 as InstanceOf['Google::Cloud::Texttospeech::V1beta1::CloudTts::AdvancedVoiceOptions::SafetySetting'];
84  
85 coerce 'SafetySetting',
86 from HashRef, via { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::AdvancedVoiceOptions::SafetySetting'->new($_) };
87  
88 declare 'RepeatedSafetySetting',
89 as ArrayRef[SafetySetting()];
90  
91 coerce 'RepeatedSafetySetting',
92 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::AdvancedVoiceOptions::SafetySetting'->new($_) } @$_ ] };
93  
94 declare 'MapStringSafetySetting',
95 as HashRef[SafetySetting()];
96  
97 declare 'SafetySettings',
98 as InstanceOf['Google::Cloud::Texttospeech::V1beta1::CloudTts::AdvancedVoiceOptions::SafetySettings'];
99  
100 coerce 'SafetySettings',
101 from HashRef, via { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::AdvancedVoiceOptions::SafetySettings'->new($_) };
102  
103 declare 'RepeatedSafetySettings',
104 as ArrayRef[SafetySettings()];
105  
106 coerce 'RepeatedSafetySettings',
107 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::AdvancedVoiceOptions::SafetySettings'->new($_) } @$_ ] };
108  
109 declare 'MapStringSafetySettings',
110 as HashRef[SafetySettings()];
111  
112 declare 'SynthesizeSpeechRequest',
113 as InstanceOf['Google::Cloud::Texttospeech::V1beta1::CloudTts::SynthesizeSpeechRequest'];
114  
115 coerce 'SynthesizeSpeechRequest',
116 from HashRef, via { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::SynthesizeSpeechRequest'->new($_) };
117  
118 declare 'RepeatedSynthesizeSpeechRequest',
119 as ArrayRef[SynthesizeSpeechRequest()];
120  
121 coerce 'RepeatedSynthesizeSpeechRequest',
122 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::SynthesizeSpeechRequest'->new($_) } @$_ ] };
123  
124 declare 'MapStringSynthesizeSpeechRequest',
125 as HashRef[SynthesizeSpeechRequest()];
126  
127 declare 'TimepointType',
128 as (Int | Str);
129  
130 declare 'CustomPronunciationParams',
131 as InstanceOf['Google::Cloud::Texttospeech::V1beta1::CloudTts::CustomPronunciationParams'];
132  
133 coerce 'CustomPronunciationParams',
134 from HashRef, via { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::CustomPronunciationParams'->new($_) };
135  
136 declare 'RepeatedCustomPronunciationParams',
137 as ArrayRef[CustomPronunciationParams()];
138  
139 coerce 'RepeatedCustomPronunciationParams',
140 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::CustomPronunciationParams'->new($_) } @$_ ] };
141  
142 declare 'MapStringCustomPronunciationParams',
143 as HashRef[CustomPronunciationParams()];
144  
145 declare 'PhoneticEncoding',
146 as (Int | Str);
147  
148 declare 'CustomPronunciations',
149 as InstanceOf['Google::Cloud::Texttospeech::V1beta1::CloudTts::CustomPronunciations'];
150  
151 coerce 'CustomPronunciations',
152 from HashRef, via { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::CustomPronunciations'->new($_) };
153  
154 declare 'RepeatedCustomPronunciations',
155 as ArrayRef[CustomPronunciations()];
156  
157 coerce 'RepeatedCustomPronunciations',
158 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::CustomPronunciations'->new($_) } @$_ ] };
159  
160 declare 'MapStringCustomPronunciations',
161 as HashRef[CustomPronunciations()];
162  
163 declare 'MultiSpeakerMarkup',
164 as InstanceOf['Google::Cloud::Texttospeech::V1beta1::CloudTts::MultiSpeakerMarkup'];
165  
166 coerce 'MultiSpeakerMarkup',
167 from HashRef, via { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::MultiSpeakerMarkup'->new($_) };
168  
169 declare 'RepeatedMultiSpeakerMarkup',
170 as ArrayRef[MultiSpeakerMarkup()];
171  
172 coerce 'RepeatedMultiSpeakerMarkup',
173 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::MultiSpeakerMarkup'->new($_) } @$_ ] };
174  
175 declare 'MapStringMultiSpeakerMarkup',
176 as HashRef[MultiSpeakerMarkup()];
177  
178 declare 'Turn',
179 as InstanceOf['Google::Cloud::Texttospeech::V1beta1::CloudTts::MultiSpeakerMarkup::Turn'];
180  
181 coerce 'Turn',
182 from HashRef, via { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::MultiSpeakerMarkup::Turn'->new($_) };
183  
184 declare 'RepeatedTurn',
185 as ArrayRef[Turn()];
186  
187 coerce 'RepeatedTurn',
188 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::MultiSpeakerMarkup::Turn'->new($_) } @$_ ] };
189  
190 declare 'MapStringTurn',
191 as HashRef[Turn()];
192  
193 declare 'MultispeakerPrebuiltVoice',
194 as InstanceOf['Google::Cloud::Texttospeech::V1beta1::CloudTts::MultispeakerPrebuiltVoice'];
195  
196 coerce 'MultispeakerPrebuiltVoice',
197 from HashRef, via { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::MultispeakerPrebuiltVoice'->new($_) };
198  
199 declare 'RepeatedMultispeakerPrebuiltVoice',
200 as ArrayRef[MultispeakerPrebuiltVoice()];
201  
202 coerce 'RepeatedMultispeakerPrebuiltVoice',
203 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::MultispeakerPrebuiltVoice'->new($_) } @$_ ] };
204  
205 declare 'MapStringMultispeakerPrebuiltVoice',
206 as HashRef[MultispeakerPrebuiltVoice()];
207  
208 declare 'MultiSpeakerVoiceConfig',
209 as InstanceOf['Google::Cloud::Texttospeech::V1beta1::CloudTts::MultiSpeakerVoiceConfig'];
210  
211 coerce 'MultiSpeakerVoiceConfig',
212 from HashRef, via { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::MultiSpeakerVoiceConfig'->new($_) };
213  
214 declare 'RepeatedMultiSpeakerVoiceConfig',
215 as ArrayRef[MultiSpeakerVoiceConfig()];
216  
217 coerce 'RepeatedMultiSpeakerVoiceConfig',
218 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::MultiSpeakerVoiceConfig'->new($_) } @$_ ] };
219  
220 declare 'MapStringMultiSpeakerVoiceConfig',
221 as HashRef[MultiSpeakerVoiceConfig()];
222  
223 declare 'SynthesisInput',
224 as InstanceOf['Google::Cloud::Texttospeech::V1beta1::CloudTts::SynthesisInput'];
225  
226 coerce 'SynthesisInput',
227 from HashRef, via { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::SynthesisInput'->new($_) };
228  
229 declare 'RepeatedSynthesisInput',
230 as ArrayRef[SynthesisInput()];
231  
232 coerce 'RepeatedSynthesisInput',
233 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::SynthesisInput'->new($_) } @$_ ] };
234  
235 declare 'MapStringSynthesisInput',
236 as HashRef[SynthesisInput()];
237  
238 declare 'VoiceSelectionParams',
239 as InstanceOf['Google::Cloud::Texttospeech::V1beta1::CloudTts::VoiceSelectionParams'];
240  
241 coerce 'VoiceSelectionParams',
242 from HashRef, via { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::VoiceSelectionParams'->new($_) };
243  
244 declare 'RepeatedVoiceSelectionParams',
245 as ArrayRef[VoiceSelectionParams()];
246  
247 coerce 'RepeatedVoiceSelectionParams',
248 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::VoiceSelectionParams'->new($_) } @$_ ] };
249  
250 declare 'MapStringVoiceSelectionParams',
251 as HashRef[VoiceSelectionParams()];
252  
253 declare 'AudioConfig',
254 as InstanceOf['Google::Cloud::Texttospeech::V1beta1::CloudTts::AudioConfig'];
255  
256 coerce 'AudioConfig',
257 from HashRef, via { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::AudioConfig'->new($_) };
258  
259 declare 'RepeatedAudioConfig',
260 as ArrayRef[AudioConfig()];
261  
262 coerce 'RepeatedAudioConfig',
263 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::AudioConfig'->new($_) } @$_ ] };
264  
265 declare 'MapStringAudioConfig',
266 as HashRef[AudioConfig()];
267  
268 declare 'CustomVoiceParams',
269 as InstanceOf['Google::Cloud::Texttospeech::V1beta1::CloudTts::CustomVoiceParams'];
270  
271 coerce 'CustomVoiceParams',
272 from HashRef, via { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::CustomVoiceParams'->new($_) };
273  
274 declare 'RepeatedCustomVoiceParams',
275 as ArrayRef[CustomVoiceParams()];
276  
277 coerce 'RepeatedCustomVoiceParams',
278 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::CustomVoiceParams'->new($_) } @$_ ] };
279  
280 declare 'MapStringCustomVoiceParams',
281 as HashRef[CustomVoiceParams()];
282  
283 declare 'ReportedUsage',
284 as (Int | Str);
285  
286 declare 'VoiceCloneParams',
287 as InstanceOf['Google::Cloud::Texttospeech::V1beta1::CloudTts::VoiceCloneParams'];
288  
289 coerce 'VoiceCloneParams',
290 from HashRef, via { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::VoiceCloneParams'->new($_) };
291  
292 declare 'RepeatedVoiceCloneParams',
293 as ArrayRef[VoiceCloneParams()];
294  
295 coerce 'RepeatedVoiceCloneParams',
296 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::VoiceCloneParams'->new($_) } @$_ ] };
297  
298 declare 'MapStringVoiceCloneParams',
299 as HashRef[VoiceCloneParams()];
300  
301 declare 'SynthesizeSpeechResponse',
302 as InstanceOf['Google::Cloud::Texttospeech::V1beta1::CloudTts::SynthesizeSpeechResponse'];
303  
304 coerce 'SynthesizeSpeechResponse',
305 from HashRef, via { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::SynthesizeSpeechResponse'->new($_) };
306  
307 declare 'RepeatedSynthesizeSpeechResponse',
308 as ArrayRef[SynthesizeSpeechResponse()];
309  
310 coerce 'RepeatedSynthesizeSpeechResponse',
311 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::SynthesizeSpeechResponse'->new($_) } @$_ ] };
312  
313 declare 'MapStringSynthesizeSpeechResponse',
314 as HashRef[SynthesizeSpeechResponse()];
315  
316 declare 'Timepoint',
317 as InstanceOf['Google::Cloud::Texttospeech::V1beta1::CloudTts::Timepoint'];
318  
319 coerce 'Timepoint',
320 from HashRef, via { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::Timepoint'->new($_) };
321  
322 declare 'RepeatedTimepoint',
323 as ArrayRef[Timepoint()];
324  
325 coerce 'RepeatedTimepoint',
326 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::Timepoint'->new($_) } @$_ ] };
327  
328 declare 'MapStringTimepoint',
329 as HashRef[Timepoint()];
330  
331 declare 'StreamingAudioConfig',
332 as InstanceOf['Google::Cloud::Texttospeech::V1beta1::CloudTts::StreamingAudioConfig'];
333  
334 coerce 'StreamingAudioConfig',
335 from HashRef, via { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::StreamingAudioConfig'->new($_) };
336  
337 declare 'RepeatedStreamingAudioConfig',
338 as ArrayRef[StreamingAudioConfig()];
339  
340 coerce 'RepeatedStreamingAudioConfig',
341 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::StreamingAudioConfig'->new($_) } @$_ ] };
342  
343 declare 'MapStringStreamingAudioConfig',
344 as HashRef[StreamingAudioConfig()];
345  
346 declare 'StreamingSynthesizeConfig',
347 as InstanceOf['Google::Cloud::Texttospeech::V1beta1::CloudTts::StreamingSynthesizeConfig'];
348  
349 coerce 'StreamingSynthesizeConfig',
350 from HashRef, via { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::StreamingSynthesizeConfig'->new($_) };
351  
352 declare 'RepeatedStreamingSynthesizeConfig',
353 as ArrayRef[StreamingSynthesizeConfig()];
354  
355 coerce 'RepeatedStreamingSynthesizeConfig',
356 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::StreamingSynthesizeConfig'->new($_) } @$_ ] };
357  
358 declare 'MapStringStreamingSynthesizeConfig',
359 as HashRef[StreamingSynthesizeConfig()];
360  
361 declare 'StreamingSynthesisInput',
362 as InstanceOf['Google::Cloud::Texttospeech::V1beta1::CloudTts::StreamingSynthesisInput'];
363  
364 coerce 'StreamingSynthesisInput',
365 from HashRef, via { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::StreamingSynthesisInput'->new($_) };
366  
367 declare 'RepeatedStreamingSynthesisInput',
368 as ArrayRef[StreamingSynthesisInput()];
369  
370 coerce 'RepeatedStreamingSynthesisInput',
371 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::StreamingSynthesisInput'->new($_) } @$_ ] };
372  
373 declare 'MapStringStreamingSynthesisInput',
374 as HashRef[StreamingSynthesisInput()];
375  
376 declare 'StreamingSynthesizeRequest',
377 as InstanceOf['Google::Cloud::Texttospeech::V1beta1::CloudTts::StreamingSynthesizeRequest'];
378  
379 coerce 'StreamingSynthesizeRequest',
380 from HashRef, via { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::StreamingSynthesizeRequest'->new($_) };
381  
382 declare 'RepeatedStreamingSynthesizeRequest',
383 as ArrayRef[StreamingSynthesizeRequest()];
384  
385 coerce 'RepeatedStreamingSynthesizeRequest',
386 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::StreamingSynthesizeRequest'->new($_) } @$_ ] };
387  
388 declare 'MapStringStreamingSynthesizeRequest',
389 as HashRef[StreamingSynthesizeRequest()];
390  
391 declare 'StreamingSynthesizeResponse',
392 as InstanceOf['Google::Cloud::Texttospeech::V1beta1::CloudTts::StreamingSynthesizeResponse'];
393  
394 coerce 'StreamingSynthesizeResponse',
395 from HashRef, via { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::StreamingSynthesizeResponse'->new($_) };
396  
397 declare 'RepeatedStreamingSynthesizeResponse',
398 as ArrayRef[StreamingSynthesizeResponse()];
399  
400 coerce 'RepeatedStreamingSynthesizeResponse',
401 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Texttospeech::V1beta1::CloudTts::StreamingSynthesizeResponse'->new($_) } @$_ ] };
402  
403 declare 'MapStringStreamingSynthesizeResponse',
404 as HashRef[StreamingSynthesizeResponse()];
405  
406 1;
407  
408 __END__