V1/CloudTts/Types.pm untested

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