V1/App/Types.pm untested

filter: Statementstmt 0.0% 0 / 400 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 405 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::Ces::V1::App::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 'App',
11 as InstanceOf['Google::Cloud::Ces::V1::App::App'];
12  
13 coerce 'App',
14 from HashRef, via { 'Google::Cloud::Ces::V1::App::App'->new($_) };
15  
16 declare 'RepeatedApp',
17 as ArrayRef[App()];
18  
19 coerce 'RepeatedApp',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::App::App'->new($_) } @$_ ] };
21  
22 declare 'MapStringApp',
23 as HashRef[App()];
24  
25 declare 'ToolExecutionMode',
26 as (Int | Str);
27  
28 declare 'VariableDeclaration',
29 as InstanceOf['Google::Cloud::Ces::V1::App::App::VariableDeclaration'];
30  
31 coerce 'VariableDeclaration',
32 from HashRef, via { 'Google::Cloud::Ces::V1::App::App::VariableDeclaration'->new($_) };
33  
34 declare 'RepeatedVariableDeclaration',
35 as ArrayRef[VariableDeclaration()];
36  
37 coerce 'RepeatedVariableDeclaration',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::App::App::VariableDeclaration'->new($_) } @$_ ] };
39  
40 declare 'MapStringVariableDeclaration',
41 as HashRef[VariableDeclaration()];
42  
43 declare 'MetadataEntry',
44 as InstanceOf['Google::Cloud::Ces::V1::App::App::MetadataEntry'];
45  
46 coerce 'MetadataEntry',
47 from HashRef, via { 'Google::Cloud::Ces::V1::App::App::MetadataEntry'->new($_) };
48  
49 declare 'RepeatedMetadataEntry',
50 as ArrayRef[MetadataEntry()];
51  
52 coerce 'RepeatedMetadataEntry',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::App::App::MetadataEntry'->new($_) } @$_ ] };
54  
55 declare 'MapStringMetadataEntry',
56 as HashRef[MetadataEntry()];
57  
58 declare 'TimeZoneSettings',
59 as InstanceOf['Google::Cloud::Ces::V1::App::TimeZoneSettings'];
60  
61 coerce 'TimeZoneSettings',
62 from HashRef, via { 'Google::Cloud::Ces::V1::App::TimeZoneSettings'->new($_) };
63  
64 declare 'RepeatedTimeZoneSettings',
65 as ArrayRef[TimeZoneSettings()];
66  
67 coerce 'RepeatedTimeZoneSettings',
68 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::App::TimeZoneSettings'->new($_) } @$_ ] };
69  
70 declare 'MapStringTimeZoneSettings',
71 as HashRef[TimeZoneSettings()];
72  
73 declare 'LanguageSettings',
74 as InstanceOf['Google::Cloud::Ces::V1::App::LanguageSettings'];
75  
76 coerce 'LanguageSettings',
77 from HashRef, via { 'Google::Cloud::Ces::V1::App::LanguageSettings'->new($_) };
78  
79 declare 'RepeatedLanguageSettings',
80 as ArrayRef[LanguageSettings()];
81  
82 coerce 'RepeatedLanguageSettings',
83 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::App::LanguageSettings'->new($_) } @$_ ] };
84  
85 declare 'MapStringLanguageSettings',
86 as HashRef[LanguageSettings()];
87  
88 declare 'AudioProcessingConfig',
89 as InstanceOf['Google::Cloud::Ces::V1::App::AudioProcessingConfig'];
90  
91 coerce 'AudioProcessingConfig',
92 from HashRef, via { 'Google::Cloud::Ces::V1::App::AudioProcessingConfig'->new($_) };
93  
94 declare 'RepeatedAudioProcessingConfig',
95 as ArrayRef[AudioProcessingConfig()];
96  
97 coerce 'RepeatedAudioProcessingConfig',
98 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::App::AudioProcessingConfig'->new($_) } @$_ ] };
99  
100 declare 'MapStringAudioProcessingConfig',
101 as HashRef[AudioProcessingConfig()];
102  
103 declare 'SynthesizeSpeechConfigsEntry',
104 as InstanceOf['Google::Cloud::Ces::V1::App::AudioProcessingConfig::SynthesizeSpeechConfigsEntry'];
105  
106 coerce 'SynthesizeSpeechConfigsEntry',
107 from HashRef, via { 'Google::Cloud::Ces::V1::App::AudioProcessingConfig::SynthesizeSpeechConfigsEntry'->new($_) };
108  
109 declare 'RepeatedSynthesizeSpeechConfigsEntry',
110 as ArrayRef[SynthesizeSpeechConfigsEntry()];
111  
112 coerce 'RepeatedSynthesizeSpeechConfigsEntry',
113 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::App::AudioProcessingConfig::SynthesizeSpeechConfigsEntry'->new($_) } @$_ ] };
114  
115 declare 'MapStringSynthesizeSpeechConfigsEntry',
116 as HashRef[SynthesizeSpeechConfigsEntry()];
117  
118 declare 'AmbientSoundConfig',
119 as InstanceOf['Google::Cloud::Ces::V1::App::AmbientSoundConfig'];
120  
121 coerce 'AmbientSoundConfig',
122 from HashRef, via { 'Google::Cloud::Ces::V1::App::AmbientSoundConfig'->new($_) };
123  
124 declare 'RepeatedAmbientSoundConfig',
125 as ArrayRef[AmbientSoundConfig()];
126  
127 coerce 'RepeatedAmbientSoundConfig',
128 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::App::AmbientSoundConfig'->new($_) } @$_ ] };
129  
130 declare 'MapStringAmbientSoundConfig',
131 as HashRef[AmbientSoundConfig()];
132  
133 declare 'PrebuiltAmbientNoise',
134 as (Int | Str);
135  
136 declare 'BargeInConfig',
137 as InstanceOf['Google::Cloud::Ces::V1::App::BargeInConfig'];
138  
139 coerce 'BargeInConfig',
140 from HashRef, via { 'Google::Cloud::Ces::V1::App::BargeInConfig'->new($_) };
141  
142 declare 'RepeatedBargeInConfig',
143 as ArrayRef[BargeInConfig()];
144  
145 coerce 'RepeatedBargeInConfig',
146 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::App::BargeInConfig'->new($_) } @$_ ] };
147  
148 declare 'MapStringBargeInConfig',
149 as HashRef[BargeInConfig()];
150  
151 declare 'SynthesizeSpeechConfig',
152 as InstanceOf['Google::Cloud::Ces::V1::App::SynthesizeSpeechConfig'];
153  
154 coerce 'SynthesizeSpeechConfig',
155 from HashRef, via { 'Google::Cloud::Ces::V1::App::SynthesizeSpeechConfig'->new($_) };
156  
157 declare 'RepeatedSynthesizeSpeechConfig',
158 as ArrayRef[SynthesizeSpeechConfig()];
159  
160 coerce 'RepeatedSynthesizeSpeechConfig',
161 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::App::SynthesizeSpeechConfig'->new($_) } @$_ ] };
162  
163 declare 'MapStringSynthesizeSpeechConfig',
164 as HashRef[SynthesizeSpeechConfig()];
165  
166 declare 'MetricAnalysisSettings',
167 as InstanceOf['Google::Cloud::Ces::V1::App::MetricAnalysisSettings'];
168  
169 coerce 'MetricAnalysisSettings',
170 from HashRef, via { 'Google::Cloud::Ces::V1::App::MetricAnalysisSettings'->new($_) };
171  
172 declare 'RepeatedMetricAnalysisSettings',
173 as ArrayRef[MetricAnalysisSettings()];
174  
175 coerce 'RepeatedMetricAnalysisSettings',
176 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::App::MetricAnalysisSettings'->new($_) } @$_ ] };
177  
178 declare 'MapStringMetricAnalysisSettings',
179 as HashRef[MetricAnalysisSettings()];
180  
181 declare 'LoggingSettings',
182 as InstanceOf['Google::Cloud::Ces::V1::App::LoggingSettings'];
183  
184 coerce 'LoggingSettings',
185 from HashRef, via { 'Google::Cloud::Ces::V1::App::LoggingSettings'->new($_) };
186  
187 declare 'RepeatedLoggingSettings',
188 as ArrayRef[LoggingSettings()];
189  
190 coerce 'RepeatedLoggingSettings',
191 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::App::LoggingSettings'->new($_) } @$_ ] };
192  
193 declare 'MapStringLoggingSettings',
194 as HashRef[LoggingSettings()];
195  
196 declare 'ErrorHandlingSettings',
197 as InstanceOf['Google::Cloud::Ces::V1::App::ErrorHandlingSettings'];
198  
199 coerce 'ErrorHandlingSettings',
200 from HashRef, via { 'Google::Cloud::Ces::V1::App::ErrorHandlingSettings'->new($_) };
201  
202 declare 'RepeatedErrorHandlingSettings',
203 as ArrayRef[ErrorHandlingSettings()];
204  
205 coerce 'RepeatedErrorHandlingSettings',
206 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::App::ErrorHandlingSettings'->new($_) } @$_ ] };
207  
208 declare 'MapStringErrorHandlingSettings',
209 as HashRef[ErrorHandlingSettings()];
210  
211 declare 'ErrorHandlingStrategy',
212 as (Int | Str);
213  
214 declare 'FallbackResponseConfig',
215 as InstanceOf['Google::Cloud::Ces::V1::App::ErrorHandlingSettings::FallbackResponseConfig'];
216  
217 coerce 'FallbackResponseConfig',
218 from HashRef, via { 'Google::Cloud::Ces::V1::App::ErrorHandlingSettings::FallbackResponseConfig'->new($_) };
219  
220 declare 'RepeatedFallbackResponseConfig',
221 as ArrayRef[FallbackResponseConfig()];
222  
223 coerce 'RepeatedFallbackResponseConfig',
224 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::App::ErrorHandlingSettings::FallbackResponseConfig'->new($_) } @$_ ] };
225  
226 declare 'MapStringFallbackResponseConfig',
227 as HashRef[FallbackResponseConfig()];
228  
229 declare 'CustomFallbackMessagesEntry',
230 as InstanceOf['Google::Cloud::Ces::V1::App::ErrorHandlingSettings::FallbackResponseConfig::CustomFallbackMessagesEntry'];
231  
232 coerce 'CustomFallbackMessagesEntry',
233 from HashRef, via { 'Google::Cloud::Ces::V1::App::ErrorHandlingSettings::FallbackResponseConfig::CustomFallbackMessagesEntry'->new($_) };
234  
235 declare 'RepeatedCustomFallbackMessagesEntry',
236 as ArrayRef[CustomFallbackMessagesEntry()];
237  
238 coerce 'RepeatedCustomFallbackMessagesEntry',
239 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::App::ErrorHandlingSettings::FallbackResponseConfig::CustomFallbackMessagesEntry'->new($_) } @$_ ] };
240  
241 declare 'MapStringCustomFallbackMessagesEntry',
242 as HashRef[CustomFallbackMessagesEntry()];
243  
244 declare 'EndSessionConfig',
245 as InstanceOf['Google::Cloud::Ces::V1::App::ErrorHandlingSettings::EndSessionConfig'];
246  
247 coerce 'EndSessionConfig',
248 from HashRef, via { 'Google::Cloud::Ces::V1::App::ErrorHandlingSettings::EndSessionConfig'->new($_) };
249  
250 declare 'RepeatedEndSessionConfig',
251 as ArrayRef[EndSessionConfig()];
252  
253 coerce 'RepeatedEndSessionConfig',
254 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::App::ErrorHandlingSettings::EndSessionConfig'->new($_) } @$_ ] };
255  
256 declare 'MapStringEndSessionConfig',
257 as HashRef[EndSessionConfig()];
258  
259 declare 'EvaluationMetricsThresholds',
260 as InstanceOf['Google::Cloud::Ces::V1::App::EvaluationMetricsThresholds'];
261  
262 coerce 'EvaluationMetricsThresholds',
263 from HashRef, via { 'Google::Cloud::Ces::V1::App::EvaluationMetricsThresholds'->new($_) };
264  
265 declare 'RepeatedEvaluationMetricsThresholds',
266 as ArrayRef[EvaluationMetricsThresholds()];
267  
268 coerce 'RepeatedEvaluationMetricsThresholds',
269 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::App::EvaluationMetricsThresholds'->new($_) } @$_ ] };
270  
271 declare 'MapStringEvaluationMetricsThresholds',
272 as HashRef[EvaluationMetricsThresholds()];
273  
274 declare 'HallucinationMetricBehavior',
275 as (Int | Str);
276  
277 declare 'GoldenEvaluationMetricsThresholds',
278 as InstanceOf['Google::Cloud::Ces::V1::App::EvaluationMetricsThresholds::GoldenEvaluationMetricsThresholds'];
279  
280 coerce 'GoldenEvaluationMetricsThresholds',
281 from HashRef, via { 'Google::Cloud::Ces::V1::App::EvaluationMetricsThresholds::GoldenEvaluationMetricsThresholds'->new($_) };
282  
283 declare 'RepeatedGoldenEvaluationMetricsThresholds',
284 as ArrayRef[GoldenEvaluationMetricsThresholds()];
285  
286 coerce 'RepeatedGoldenEvaluationMetricsThresholds',
287 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::App::EvaluationMetricsThresholds::GoldenEvaluationMetricsThresholds'->new($_) } @$_ ] };
288  
289 declare 'MapStringGoldenEvaluationMetricsThresholds',
290 as HashRef[GoldenEvaluationMetricsThresholds()];
291  
292 declare 'TurnLevelMetricsThresholds',
293 as InstanceOf['Google::Cloud::Ces::V1::App::EvaluationMetricsThresholds::GoldenEvaluationMetricsThresholds::TurnLevelMetricsThresholds'];
294  
295 coerce 'TurnLevelMetricsThresholds',
296 from HashRef, via { 'Google::Cloud::Ces::V1::App::EvaluationMetricsThresholds::GoldenEvaluationMetricsThresholds::TurnLevelMetricsThresholds'->new($_) };
297  
298 declare 'RepeatedTurnLevelMetricsThresholds',
299 as ArrayRef[TurnLevelMetricsThresholds()];
300  
301 coerce 'RepeatedTurnLevelMetricsThresholds',
302 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::App::EvaluationMetricsThresholds::GoldenEvaluationMetricsThresholds::TurnLevelMetricsThresholds'->new($_) } @$_ ] };
303  
304 declare 'MapStringTurnLevelMetricsThresholds',
305 as HashRef[TurnLevelMetricsThresholds()];
306  
307 declare 'SemanticSimilarityChannel',
308 as (Int | Str);
309  
310 declare 'ExpectationLevelMetricsThresholds',
311 as InstanceOf['Google::Cloud::Ces::V1::App::EvaluationMetricsThresholds::GoldenEvaluationMetricsThresholds::ExpectationLevelMetricsThresholds'];
312  
313 coerce 'ExpectationLevelMetricsThresholds',
314 from HashRef, via { 'Google::Cloud::Ces::V1::App::EvaluationMetricsThresholds::GoldenEvaluationMetricsThresholds::ExpectationLevelMetricsThresholds'->new($_) };
315  
316 declare 'RepeatedExpectationLevelMetricsThresholds',
317 as ArrayRef[ExpectationLevelMetricsThresholds()];
318  
319 coerce 'RepeatedExpectationLevelMetricsThresholds',
320 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::App::EvaluationMetricsThresholds::GoldenEvaluationMetricsThresholds::ExpectationLevelMetricsThresholds'->new($_) } @$_ ] };
321  
322 declare 'MapStringExpectationLevelMetricsThresholds',
323 as HashRef[ExpectationLevelMetricsThresholds()];
324  
325 declare 'ToolMatchingSettings',
326 as InstanceOf['Google::Cloud::Ces::V1::App::EvaluationMetricsThresholds::ToolMatchingSettings'];
327  
328 coerce 'ToolMatchingSettings',
329 from HashRef, via { 'Google::Cloud::Ces::V1::App::EvaluationMetricsThresholds::ToolMatchingSettings'->new($_) };
330  
331 declare 'RepeatedToolMatchingSettings',
332 as ArrayRef[ToolMatchingSettings()];
333  
334 coerce 'RepeatedToolMatchingSettings',
335 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::App::EvaluationMetricsThresholds::ToolMatchingSettings'->new($_) } @$_ ] };
336  
337 declare 'MapStringToolMatchingSettings',
338 as HashRef[ToolMatchingSettings()];
339  
340 declare 'ExtraToolCallBehavior',
341 as (Int | Str);
342  
343 declare 'ClientCertificateSettings',
344 as InstanceOf['Google::Cloud::Ces::V1::App::ClientCertificateSettings'];
345  
346 coerce 'ClientCertificateSettings',
347 from HashRef, via { 'Google::Cloud::Ces::V1::App::ClientCertificateSettings'->new($_) };
348  
349 declare 'RepeatedClientCertificateSettings',
350 as ArrayRef[ClientCertificateSettings()];
351  
352 coerce 'RepeatedClientCertificateSettings',
353 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::App::ClientCertificateSettings'->new($_) } @$_ ] };
354  
355 declare 'MapStringClientCertificateSettings',
356 as HashRef[ClientCertificateSettings()];
357  
358 declare 'VpcScSettings',
359 as InstanceOf['Google::Cloud::Ces::V1::App::VpcScSettings'];
360  
361 coerce 'VpcScSettings',
362 from HashRef, via { 'Google::Cloud::Ces::V1::App::VpcScSettings'->new($_) };
363  
364 declare 'RepeatedVpcScSettings',
365 as ArrayRef[VpcScSettings()];
366  
367 coerce 'RepeatedVpcScSettings',
368 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::App::VpcScSettings'->new($_) } @$_ ] };
369  
370 declare 'MapStringVpcScSettings',
371 as HashRef[VpcScSettings()];
372  
373 declare 'ConversationLoggingSettings',
374 as InstanceOf['Google::Cloud::Ces::V1::App::ConversationLoggingSettings'];
375  
376 coerce 'ConversationLoggingSettings',
377 from HashRef, via { 'Google::Cloud::Ces::V1::App::ConversationLoggingSettings'->new($_) };
378  
379 declare 'RepeatedConversationLoggingSettings',
380 as ArrayRef[ConversationLoggingSettings()];
381  
382 coerce 'RepeatedConversationLoggingSettings',
383 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::App::ConversationLoggingSettings'->new($_) } @$_ ] };
384  
385 declare 'MapStringConversationLoggingSettings',
386 as HashRef[ConversationLoggingSettings()];
387  
388 declare 'CloudLoggingSettings',
389 as InstanceOf['Google::Cloud::Ces::V1::App::CloudLoggingSettings'];
390  
391 coerce 'CloudLoggingSettings',
392 from HashRef, via { 'Google::Cloud::Ces::V1::App::CloudLoggingSettings'->new($_) };
393  
394 declare 'RepeatedCloudLoggingSettings',
395 as ArrayRef[CloudLoggingSettings()];
396  
397 coerce 'RepeatedCloudLoggingSettings',
398 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::App::CloudLoggingSettings'->new($_) } @$_ ] };
399  
400 declare 'MapStringCloudLoggingSettings',
401 as HashRef[CloudLoggingSettings()];
402  
403 declare 'AudioRecordingConfig',
404 as InstanceOf['Google::Cloud::Ces::V1::App::AudioRecordingConfig'];
405  
406 coerce 'AudioRecordingConfig',
407 from HashRef, via { 'Google::Cloud::Ces::V1::App::AudioRecordingConfig'->new($_) };
408  
409 declare 'RepeatedAudioRecordingConfig',
410 as ArrayRef[AudioRecordingConfig()];
411  
412 coerce 'RepeatedAudioRecordingConfig',
413 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::App::AudioRecordingConfig'->new($_) } @$_ ] };
414  
415 declare 'MapStringAudioRecordingConfig',
416 as HashRef[AudioRecordingConfig()];
417  
418 declare 'RedactionConfig',
419 as InstanceOf['Google::Cloud::Ces::V1::App::RedactionConfig'];
420  
421 coerce 'RedactionConfig',
422 from HashRef, via { 'Google::Cloud::Ces::V1::App::RedactionConfig'->new($_) };
423  
424 declare 'RepeatedRedactionConfig',
425 as ArrayRef[RedactionConfig()];
426  
427 coerce 'RepeatedRedactionConfig',
428 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::App::RedactionConfig'->new($_) } @$_ ] };
429  
430 declare 'MapStringRedactionConfig',
431 as HashRef[RedactionConfig()];
432  
433 declare 'DataStoreSettings',
434 as InstanceOf['Google::Cloud::Ces::V1::App::DataStoreSettings'];
435  
436 coerce 'DataStoreSettings',
437 from HashRef, via { 'Google::Cloud::Ces::V1::App::DataStoreSettings'->new($_) };
438  
439 declare 'RepeatedDataStoreSettings',
440 as ArrayRef[DataStoreSettings()];
441  
442 coerce 'RepeatedDataStoreSettings',
443 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::App::DataStoreSettings'->new($_) } @$_ ] };
444  
445 declare 'MapStringDataStoreSettings',
446 as HashRef[DataStoreSettings()];
447  
448 declare 'Engine',
449 as InstanceOf['Google::Cloud::Ces::V1::App::DataStoreSettings::Engine'];
450  
451 coerce 'Engine',
452 from HashRef, via { 'Google::Cloud::Ces::V1::App::DataStoreSettings::Engine'->new($_) };
453  
454 declare 'RepeatedEngine',
455 as ArrayRef[Engine()];
456  
457 coerce 'RepeatedEngine',
458 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1::App::DataStoreSettings::Engine'->new($_) } @$_ ] };
459  
460 declare 'MapStringEngine',
461 as HashRef[Engine()];
462  
463 declare 'Type',
464 as (Int | Str);
465  
466 1;
467  
468 __END__