V1beta/Evaluation/Types.pm untested

filter: Statementstmt 0.0% 0 / 730 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 735 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::V1beta::Evaluation::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 'AggregatedMetrics',
11 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::AggregatedMetrics'];
12  
13 coerce 'AggregatedMetrics',
14 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::AggregatedMetrics'->new($_) };
15  
16 declare 'RepeatedAggregatedMetrics',
17 as ArrayRef[AggregatedMetrics()];
18  
19 coerce 'RepeatedAggregatedMetrics',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::AggregatedMetrics'->new($_) } @$_ ] };
21  
22 declare 'MapStringAggregatedMetrics',
23 as HashRef[AggregatedMetrics()];
24  
25 declare 'ToolMetrics',
26 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::AggregatedMetrics::ToolMetrics'];
27  
28 coerce 'ToolMetrics',
29 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::AggregatedMetrics::ToolMetrics'->new($_) };
30  
31 declare 'RepeatedToolMetrics',
32 as ArrayRef[ToolMetrics()];
33  
34 coerce 'RepeatedToolMetrics',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::AggregatedMetrics::ToolMetrics'->new($_) } @$_ ] };
36  
37 declare 'MapStringToolMetrics',
38 as HashRef[ToolMetrics()];
39  
40 declare 'TurnLatencyMetrics',
41 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::AggregatedMetrics::TurnLatencyMetrics'];
42  
43 coerce 'TurnLatencyMetrics',
44 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::AggregatedMetrics::TurnLatencyMetrics'->new($_) };
45  
46 declare 'RepeatedTurnLatencyMetrics',
47 as ArrayRef[TurnLatencyMetrics()];
48  
49 coerce 'RepeatedTurnLatencyMetrics',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::AggregatedMetrics::TurnLatencyMetrics'->new($_) } @$_ ] };
51  
52 declare 'MapStringTurnLatencyMetrics',
53 as HashRef[TurnLatencyMetrics()];
54  
55 declare 'ToolCallLatencyMetrics',
56 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::AggregatedMetrics::ToolCallLatencyMetrics'];
57  
58 coerce 'ToolCallLatencyMetrics',
59 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::AggregatedMetrics::ToolCallLatencyMetrics'->new($_) };
60  
61 declare 'RepeatedToolCallLatencyMetrics',
62 as ArrayRef[ToolCallLatencyMetrics()];
63  
64 coerce 'RepeatedToolCallLatencyMetrics',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::AggregatedMetrics::ToolCallLatencyMetrics'->new($_) } @$_ ] };
66  
67 declare 'MapStringToolCallLatencyMetrics',
68 as HashRef[ToolCallLatencyMetrics()];
69  
70 declare 'SemanticSimilarityMetrics',
71 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::AggregatedMetrics::SemanticSimilarityMetrics'];
72  
73 coerce 'SemanticSimilarityMetrics',
74 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::AggregatedMetrics::SemanticSimilarityMetrics'->new($_) };
75  
76 declare 'RepeatedSemanticSimilarityMetrics',
77 as ArrayRef[SemanticSimilarityMetrics()];
78  
79 coerce 'RepeatedSemanticSimilarityMetrics',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::AggregatedMetrics::SemanticSimilarityMetrics'->new($_) } @$_ ] };
81  
82 declare 'MapStringSemanticSimilarityMetrics',
83 as HashRef[SemanticSimilarityMetrics()];
84  
85 declare 'HallucinationMetrics',
86 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::AggregatedMetrics::HallucinationMetrics'];
87  
88 coerce 'HallucinationMetrics',
89 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::AggregatedMetrics::HallucinationMetrics'->new($_) };
90  
91 declare 'RepeatedHallucinationMetrics',
92 as ArrayRef[HallucinationMetrics()];
93  
94 coerce 'RepeatedHallucinationMetrics',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::AggregatedMetrics::HallucinationMetrics'->new($_) } @$_ ] };
96  
97 declare 'MapStringHallucinationMetrics',
98 as HashRef[HallucinationMetrics()];
99  
100 declare 'MetricsByAppVersion',
101 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::AggregatedMetrics::MetricsByAppVersion'];
102  
103 coerce 'MetricsByAppVersion',
104 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::AggregatedMetrics::MetricsByAppVersion'->new($_) };
105  
106 declare 'RepeatedMetricsByAppVersion',
107 as ArrayRef[MetricsByAppVersion()];
108  
109 coerce 'RepeatedMetricsByAppVersion',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::AggregatedMetrics::MetricsByAppVersion'->new($_) } @$_ ] };
111  
112 declare 'MapStringMetricsByAppVersion',
113 as HashRef[MetricsByAppVersion()];
114  
115 declare 'MetricsByTurn',
116 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::AggregatedMetrics::MetricsByTurn'];
117  
118 coerce 'MetricsByTurn',
119 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::AggregatedMetrics::MetricsByTurn'->new($_) };
120  
121 declare 'RepeatedMetricsByTurn',
122 as ArrayRef[MetricsByTurn()];
123  
124 coerce 'RepeatedMetricsByTurn',
125 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::AggregatedMetrics::MetricsByTurn'->new($_) } @$_ ] };
126  
127 declare 'MapStringMetricsByTurn',
128 as HashRef[MetricsByTurn()];
129  
130 declare 'Evaluation',
131 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::Evaluation'];
132  
133 coerce 'Evaluation',
134 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::Evaluation'->new($_) };
135  
136 declare 'RepeatedEvaluation',
137 as ArrayRef[Evaluation()];
138  
139 coerce 'RepeatedEvaluation',
140 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::Evaluation'->new($_) } @$_ ] };
141  
142 declare 'MapStringEvaluation',
143 as HashRef[Evaluation()];
144  
145 declare 'GoldenExpectation',
146 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::Evaluation::GoldenExpectation'];
147  
148 coerce 'GoldenExpectation',
149 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::Evaluation::GoldenExpectation'->new($_) };
150  
151 declare 'RepeatedGoldenExpectation',
152 as ArrayRef[GoldenExpectation()];
153  
154 coerce 'RepeatedGoldenExpectation',
155 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::Evaluation::GoldenExpectation'->new($_) } @$_ ] };
156  
157 declare 'MapStringGoldenExpectation',
158 as HashRef[GoldenExpectation()];
159  
160 declare 'Step',
161 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::Evaluation::Step'];
162  
163 coerce 'Step',
164 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::Evaluation::Step'->new($_) };
165  
166 declare 'RepeatedStep',
167 as ArrayRef[Step()];
168  
169 coerce 'RepeatedStep',
170 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::Evaluation::Step'->new($_) } @$_ ] };
171  
172 declare 'MapStringStep',
173 as HashRef[Step()];
174  
175 declare 'GoldenTurn',
176 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::Evaluation::GoldenTurn'];
177  
178 coerce 'GoldenTurn',
179 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::Evaluation::GoldenTurn'->new($_) };
180  
181 declare 'RepeatedGoldenTurn',
182 as ArrayRef[GoldenTurn()];
183  
184 coerce 'RepeatedGoldenTurn',
185 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::Evaluation::GoldenTurn'->new($_) } @$_ ] };
186  
187 declare 'MapStringGoldenTurn',
188 as HashRef[GoldenTurn()];
189  
190 declare 'Golden',
191 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::Evaluation::Golden'];
192  
193 coerce 'Golden',
194 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::Evaluation::Golden'->new($_) };
195  
196 declare 'RepeatedGolden',
197 as ArrayRef[Golden()];
198  
199 coerce 'RepeatedGolden',
200 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::Evaluation::Golden'->new($_) } @$_ ] };
201  
202 declare 'MapStringGolden',
203 as HashRef[Golden()];
204  
205 declare 'ScenarioExpectation',
206 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::Evaluation::ScenarioExpectation'];
207  
208 coerce 'ScenarioExpectation',
209 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::Evaluation::ScenarioExpectation'->new($_) };
210  
211 declare 'RepeatedScenarioExpectation',
212 as ArrayRef[ScenarioExpectation()];
213  
214 coerce 'RepeatedScenarioExpectation',
215 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::Evaluation::ScenarioExpectation'->new($_) } @$_ ] };
216  
217 declare 'MapStringScenarioExpectation',
218 as HashRef[ScenarioExpectation()];
219  
220 declare 'ToolExpectation',
221 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::Evaluation::ScenarioExpectation::ToolExpectation'];
222  
223 coerce 'ToolExpectation',
224 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::Evaluation::ScenarioExpectation::ToolExpectation'->new($_) };
225  
226 declare 'RepeatedToolExpectation',
227 as ArrayRef[ToolExpectation()];
228  
229 coerce 'RepeatedToolExpectation',
230 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::Evaluation::ScenarioExpectation::ToolExpectation'->new($_) } @$_ ] };
231  
232 declare 'MapStringToolExpectation',
233 as HashRef[ToolExpectation()];
234  
235 declare 'Scenario',
236 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::Evaluation::Scenario'];
237  
238 coerce 'Scenario',
239 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::Evaluation::Scenario'->new($_) };
240  
241 declare 'RepeatedScenario',
242 as ArrayRef[Scenario()];
243  
244 coerce 'RepeatedScenario',
245 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::Evaluation::Scenario'->new($_) } @$_ ] };
246  
247 declare 'MapStringScenario',
248 as HashRef[Scenario()];
249  
250 declare 'TaskCompletionBehavior',
251 as (Int | Str);
252  
253 declare 'UserGoalBehavior',
254 as (Int | Str);
255  
256 declare 'UserFact',
257 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::Evaluation::Scenario::UserFact'];
258  
259 coerce 'UserFact',
260 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::Evaluation::Scenario::UserFact'->new($_) };
261  
262 declare 'RepeatedUserFact',
263 as ArrayRef[UserFact()];
264  
265 coerce 'RepeatedUserFact',
266 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::Evaluation::Scenario::UserFact'->new($_) } @$_ ] };
267  
268 declare 'MapStringUserFact',
269 as HashRef[UserFact()];
270  
271 declare 'EvaluationDataset',
272 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::EvaluationDataset'];
273  
274 coerce 'EvaluationDataset',
275 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationDataset'->new($_) };
276  
277 declare 'RepeatedEvaluationDataset',
278 as ArrayRef[EvaluationDataset()];
279  
280 coerce 'RepeatedEvaluationDataset',
281 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationDataset'->new($_) } @$_ ] };
282  
283 declare 'MapStringEvaluationDataset',
284 as HashRef[EvaluationDataset()];
285  
286 declare 'EvaluationResult',
287 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult'];
288  
289 coerce 'EvaluationResult',
290 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult'->new($_) };
291  
292 declare 'RepeatedEvaluationResult',
293 as ArrayRef[EvaluationResult()];
294  
295 coerce 'RepeatedEvaluationResult',
296 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult'->new($_) } @$_ ] };
297  
298 declare 'MapStringEvaluationResult',
299 as HashRef[EvaluationResult()];
300  
301 declare 'Outcome',
302 as (Int | Str);
303  
304 declare 'ExecutionState',
305 as (Int | Str);
306  
307 declare 'OutcomeMetadata',
308 as (Int | Str);
309  
310 declare 'GoldenExpectationOutcome',
311 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::GoldenExpectationOutcome'];
312  
313 coerce 'GoldenExpectationOutcome',
314 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::GoldenExpectationOutcome'->new($_) };
315  
316 declare 'RepeatedGoldenExpectationOutcome',
317 as ArrayRef[GoldenExpectationOutcome()];
318  
319 coerce 'RepeatedGoldenExpectationOutcome',
320 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::GoldenExpectationOutcome'->new($_) } @$_ ] };
321  
322 declare 'MapStringGoldenExpectationOutcome',
323 as HashRef[GoldenExpectationOutcome()];
324  
325 declare 'ToolInvocationResult',
326 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::GoldenExpectationOutcome::ToolInvocationResult'];
327  
328 coerce 'ToolInvocationResult',
329 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::GoldenExpectationOutcome::ToolInvocationResult'->new($_) };
330  
331 declare 'RepeatedToolInvocationResult',
332 as ArrayRef[ToolInvocationResult()];
333  
334 coerce 'RepeatedToolInvocationResult',
335 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::GoldenExpectationOutcome::ToolInvocationResult'->new($_) } @$_ ] };
336  
337 declare 'MapStringToolInvocationResult',
338 as HashRef[ToolInvocationResult()];
339  
340 declare 'EvaluationExpectationResult',
341 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::EvaluationExpectationResult'];
342  
343 coerce 'EvaluationExpectationResult',
344 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::EvaluationExpectationResult'->new($_) };
345  
346 declare 'RepeatedEvaluationExpectationResult',
347 as ArrayRef[EvaluationExpectationResult()];
348  
349 coerce 'RepeatedEvaluationExpectationResult',
350 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::EvaluationExpectationResult'->new($_) } @$_ ] };
351  
352 declare 'MapStringEvaluationExpectationResult',
353 as HashRef[EvaluationExpectationResult()];
354  
355 declare 'GoldenResult',
356 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::GoldenResult'];
357  
358 coerce 'GoldenResult',
359 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::GoldenResult'->new($_) };
360  
361 declare 'RepeatedGoldenResult',
362 as ArrayRef[GoldenResult()];
363  
364 coerce 'RepeatedGoldenResult',
365 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::GoldenResult'->new($_) } @$_ ] };
366  
367 declare 'MapStringGoldenResult',
368 as HashRef[GoldenResult()];
369  
370 declare 'TurnReplayResult',
371 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::GoldenResult::TurnReplayResult'];
372  
373 coerce 'TurnReplayResult',
374 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::GoldenResult::TurnReplayResult'->new($_) };
375  
376 declare 'RepeatedTurnReplayResult',
377 as ArrayRef[TurnReplayResult()];
378  
379 coerce 'RepeatedTurnReplayResult',
380 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::GoldenResult::TurnReplayResult'->new($_) } @$_ ] };
381  
382 declare 'MapStringTurnReplayResult',
383 as HashRef[TurnReplayResult()];
384  
385 declare 'ScenarioRubricOutcome',
386 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::ScenarioRubricOutcome'];
387  
388 coerce 'ScenarioRubricOutcome',
389 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::ScenarioRubricOutcome'->new($_) };
390  
391 declare 'RepeatedScenarioRubricOutcome',
392 as ArrayRef[ScenarioRubricOutcome()];
393  
394 coerce 'RepeatedScenarioRubricOutcome',
395 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::ScenarioRubricOutcome'->new($_) } @$_ ] };
396  
397 declare 'MapStringScenarioRubricOutcome',
398 as HashRef[ScenarioRubricOutcome()];
399  
400 declare 'ScenarioExpectationOutcome',
401 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::ScenarioExpectationOutcome'];
402  
403 coerce 'ScenarioExpectationOutcome',
404 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::ScenarioExpectationOutcome'->new($_) };
405  
406 declare 'RepeatedScenarioExpectationOutcome',
407 as ArrayRef[ScenarioExpectationOutcome()];
408  
409 coerce 'RepeatedScenarioExpectationOutcome',
410 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::ScenarioExpectationOutcome'->new($_) } @$_ ] };
411  
412 declare 'MapStringScenarioExpectationOutcome',
413 as HashRef[ScenarioExpectationOutcome()];
414  
415 declare 'ObservedToolCall',
416 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::ScenarioExpectationOutcome::ObservedToolCall'];
417  
418 coerce 'ObservedToolCall',
419 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::ScenarioExpectationOutcome::ObservedToolCall'->new($_) };
420  
421 declare 'RepeatedObservedToolCall',
422 as ArrayRef[ObservedToolCall()];
423  
424 coerce 'RepeatedObservedToolCall',
425 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::ScenarioExpectationOutcome::ObservedToolCall'->new($_) } @$_ ] };
426  
427 declare 'MapStringObservedToolCall',
428 as HashRef[ObservedToolCall()];
429  
430 declare 'ScenarioResult',
431 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::ScenarioResult'];
432  
433 coerce 'ScenarioResult',
434 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::ScenarioResult'->new($_) };
435  
436 declare 'RepeatedScenarioResult',
437 as ArrayRef[ScenarioResult()];
438  
439 coerce 'RepeatedScenarioResult',
440 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::ScenarioResult'->new($_) } @$_ ] };
441  
442 declare 'MapStringScenarioResult',
443 as HashRef[ScenarioResult()];
444  
445 declare 'SpanLatency',
446 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::SpanLatency'];
447  
448 coerce 'SpanLatency',
449 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::SpanLatency'->new($_) };
450  
451 declare 'RepeatedSpanLatency',
452 as ArrayRef[SpanLatency()];
453  
454 coerce 'RepeatedSpanLatency',
455 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::SpanLatency'->new($_) } @$_ ] };
456  
457 declare 'MapStringSpanLatency',
458 as HashRef[SpanLatency()];
459  
460 declare 'Type',
461 as (Int | Str);
462  
463 declare 'ToolCallLatency',
464 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::ToolCallLatency'];
465  
466 coerce 'ToolCallLatency',
467 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::ToolCallLatency'->new($_) };
468  
469 declare 'RepeatedToolCallLatency',
470 as ArrayRef[ToolCallLatency()];
471  
472 coerce 'RepeatedToolCallLatency',
473 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::ToolCallLatency'->new($_) } @$_ ] };
474  
475 declare 'MapStringToolCallLatency',
476 as HashRef[ToolCallLatency()];
477  
478 declare 'HallucinationResult',
479 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::HallucinationResult'];
480  
481 coerce 'HallucinationResult',
482 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::HallucinationResult'->new($_) };
483  
484 declare 'RepeatedHallucinationResult',
485 as ArrayRef[HallucinationResult()];
486  
487 coerce 'RepeatedHallucinationResult',
488 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::HallucinationResult'->new($_) } @$_ ] };
489  
490 declare 'MapStringHallucinationResult',
491 as HashRef[HallucinationResult()];
492  
493 declare 'UserGoalSatisfactionResult',
494 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::UserGoalSatisfactionResult'];
495  
496 coerce 'UserGoalSatisfactionResult',
497 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::UserGoalSatisfactionResult'->new($_) };
498  
499 declare 'RepeatedUserGoalSatisfactionResult',
500 as ArrayRef[UserGoalSatisfactionResult()];
501  
502 coerce 'RepeatedUserGoalSatisfactionResult',
503 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::UserGoalSatisfactionResult'->new($_) } @$_ ] };
504  
505 declare 'MapStringUserGoalSatisfactionResult',
506 as HashRef[UserGoalSatisfactionResult()];
507  
508 declare 'SemanticSimilarityResult',
509 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::SemanticSimilarityResult'];
510  
511 coerce 'SemanticSimilarityResult',
512 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::SemanticSimilarityResult'->new($_) };
513  
514 declare 'RepeatedSemanticSimilarityResult',
515 as ArrayRef[SemanticSimilarityResult()];
516  
517 coerce 'RepeatedSemanticSimilarityResult',
518 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::SemanticSimilarityResult'->new($_) } @$_ ] };
519  
520 declare 'MapStringSemanticSimilarityResult',
521 as HashRef[SemanticSimilarityResult()];
522  
523 declare 'OverallToolInvocationResult',
524 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::OverallToolInvocationResult'];
525  
526 coerce 'OverallToolInvocationResult',
527 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::OverallToolInvocationResult'->new($_) };
528  
529 declare 'RepeatedOverallToolInvocationResult',
530 as ArrayRef[OverallToolInvocationResult()];
531  
532 coerce 'RepeatedOverallToolInvocationResult',
533 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::OverallToolInvocationResult'->new($_) } @$_ ] };
534  
535 declare 'MapStringOverallToolInvocationResult',
536 as HashRef[OverallToolInvocationResult()];
537  
538 declare 'TaskCompletionResult',
539 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::TaskCompletionResult'];
540  
541 coerce 'TaskCompletionResult',
542 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::TaskCompletionResult'->new($_) };
543  
544 declare 'RepeatedTaskCompletionResult',
545 as ArrayRef[TaskCompletionResult()];
546  
547 coerce 'RepeatedTaskCompletionResult',
548 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::TaskCompletionResult'->new($_) } @$_ ] };
549  
550 declare 'MapStringTaskCompletionResult',
551 as HashRef[TaskCompletionResult()];
552  
553 declare 'EvaluationRun',
554 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::EvaluationRun'];
555  
556 coerce 'EvaluationRun',
557 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationRun'->new($_) };
558  
559 declare 'RepeatedEvaluationRun',
560 as ArrayRef[EvaluationRun()];
561  
562 coerce 'RepeatedEvaluationRun',
563 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationRun'->new($_) } @$_ ] };
564  
565 declare 'MapStringEvaluationRun',
566 as HashRef[EvaluationRun()];
567  
568 declare 'EvaluationType',
569 as (Int | Str);
570  
571 declare 'EvaluationRunState',
572 as (Int | Str);
573  
574 declare 'Progress',
575 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::EvaluationRun::Progress'];
576  
577 coerce 'Progress',
578 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationRun::Progress'->new($_) };
579  
580 declare 'RepeatedProgress',
581 as ArrayRef[Progress()];
582  
583 coerce 'RepeatedProgress',
584 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationRun::Progress'->new($_) } @$_ ] };
585  
586 declare 'MapStringProgress',
587 as HashRef[Progress()];
588  
589 declare 'EvaluationRunSummary',
590 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::EvaluationRun::EvaluationRunSummary'];
591  
592 coerce 'EvaluationRunSummary',
593 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationRun::EvaluationRunSummary'->new($_) };
594  
595 declare 'RepeatedEvaluationRunSummary',
596 as ArrayRef[EvaluationRunSummary()];
597  
598 coerce 'RepeatedEvaluationRunSummary',
599 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationRun::EvaluationRunSummary'->new($_) } @$_ ] };
600  
601 declare 'MapStringEvaluationRunSummary',
602 as HashRef[EvaluationRunSummary()];
603  
604 declare 'EvaluationRunSummariesEntry',
605 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::EvaluationRun::EvaluationRunSummariesEntry'];
606  
607 coerce 'EvaluationRunSummariesEntry',
608 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationRun::EvaluationRunSummariesEntry'->new($_) };
609  
610 declare 'RepeatedEvaluationRunSummariesEntry',
611 as ArrayRef[EvaluationRunSummariesEntry()];
612  
613 coerce 'RepeatedEvaluationRunSummariesEntry',
614 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationRun::EvaluationRunSummariesEntry'->new($_) } @$_ ] };
615  
616 declare 'MapStringEvaluationRunSummariesEntry',
617 as HashRef[EvaluationRunSummariesEntry()];
618  
619 declare 'LatencyReport',
620 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::LatencyReport'];
621  
622 coerce 'LatencyReport',
623 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::LatencyReport'->new($_) };
624  
625 declare 'RepeatedLatencyReport',
626 as ArrayRef[LatencyReport()];
627  
628 coerce 'RepeatedLatencyReport',
629 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::LatencyReport'->new($_) } @$_ ] };
630  
631 declare 'MapStringLatencyReport',
632 as HashRef[LatencyReport()];
633  
634 declare 'LatencyMetrics',
635 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::LatencyReport::LatencyMetrics'];
636  
637 coerce 'LatencyMetrics',
638 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::LatencyReport::LatencyMetrics'->new($_) };
639  
640 declare 'RepeatedLatencyMetrics',
641 as ArrayRef[LatencyMetrics()];
642  
643 coerce 'RepeatedLatencyMetrics',
644 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::LatencyReport::LatencyMetrics'->new($_) } @$_ ] };
645  
646 declare 'MapStringLatencyMetrics',
647 as HashRef[LatencyMetrics()];
648  
649 declare 'ToolLatency',
650 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::LatencyReport::ToolLatency'];
651  
652 coerce 'ToolLatency',
653 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::LatencyReport::ToolLatency'->new($_) };
654  
655 declare 'RepeatedToolLatency',
656 as ArrayRef[ToolLatency()];
657  
658 coerce 'RepeatedToolLatency',
659 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::LatencyReport::ToolLatency'->new($_) } @$_ ] };
660  
661 declare 'MapStringToolLatency',
662 as HashRef[ToolLatency()];
663  
664 declare 'CallbackLatency',
665 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::LatencyReport::CallbackLatency'];
666  
667 coerce 'CallbackLatency',
668 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::LatencyReport::CallbackLatency'->new($_) };
669  
670 declare 'RepeatedCallbackLatency',
671 as ArrayRef[CallbackLatency()];
672  
673 coerce 'RepeatedCallbackLatency',
674 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::LatencyReport::CallbackLatency'->new($_) } @$_ ] };
675  
676 declare 'MapStringCallbackLatency',
677 as HashRef[CallbackLatency()];
678  
679 declare 'GuardrailLatency',
680 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::LatencyReport::GuardrailLatency'];
681  
682 coerce 'GuardrailLatency',
683 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::LatencyReport::GuardrailLatency'->new($_) };
684  
685 declare 'RepeatedGuardrailLatency',
686 as ArrayRef[GuardrailLatency()];
687  
688 coerce 'RepeatedGuardrailLatency',
689 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::LatencyReport::GuardrailLatency'->new($_) } @$_ ] };
690  
691 declare 'MapStringGuardrailLatency',
692 as HashRef[GuardrailLatency()];
693  
694 declare 'LlmCallLatency',
695 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::LatencyReport::LlmCallLatency'];
696  
697 coerce 'LlmCallLatency',
698 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::LatencyReport::LlmCallLatency'->new($_) };
699  
700 declare 'RepeatedLlmCallLatency',
701 as ArrayRef[LlmCallLatency()];
702  
703 coerce 'RepeatedLlmCallLatency',
704 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::LatencyReport::LlmCallLatency'->new($_) } @$_ ] };
705  
706 declare 'MapStringLlmCallLatency',
707 as HashRef[LlmCallLatency()];
708  
709 declare 'EvaluationExpectation',
710 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::EvaluationExpectation'];
711  
712 coerce 'EvaluationExpectation',
713 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationExpectation'->new($_) };
714  
715 declare 'RepeatedEvaluationExpectation',
716 as ArrayRef[EvaluationExpectation()];
717  
718 coerce 'RepeatedEvaluationExpectation',
719 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationExpectation'->new($_) } @$_ ] };
720  
721 declare 'MapStringEvaluationExpectation',
722 as HashRef[EvaluationExpectation()];
723  
724 declare 'LlmCriteria',
725 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::EvaluationExpectation::LlmCriteria'];
726  
727 coerce 'LlmCriteria',
728 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationExpectation::LlmCriteria'->new($_) };
729  
730 declare 'RepeatedLlmCriteria',
731 as ArrayRef[LlmCriteria()];
732  
733 coerce 'RepeatedLlmCriteria',
734 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationExpectation::LlmCriteria'->new($_) } @$_ ] };
735  
736 declare 'MapStringLlmCriteria',
737 as HashRef[LlmCriteria()];
738  
739 declare 'EvaluationConfig',
740 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::EvaluationConfig'];
741  
742 coerce 'EvaluationConfig',
743 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationConfig'->new($_) };
744  
745 declare 'RepeatedEvaluationConfig',
746 as ArrayRef[EvaluationConfig()];
747  
748 coerce 'RepeatedEvaluationConfig',
749 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationConfig'->new($_) } @$_ ] };
750  
751 declare 'MapStringEvaluationConfig',
752 as HashRef[EvaluationConfig()];
753  
754 declare 'EvaluationChannel',
755 as (Int | Str);
756  
757 declare 'EvaluationErrorInfo',
758 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::EvaluationErrorInfo'];
759  
760 coerce 'EvaluationErrorInfo',
761 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationErrorInfo'->new($_) };
762  
763 declare 'RepeatedEvaluationErrorInfo',
764 as ArrayRef[EvaluationErrorInfo()];
765  
766 coerce 'RepeatedEvaluationErrorInfo',
767 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::EvaluationErrorInfo'->new($_) } @$_ ] };
768  
769 declare 'MapStringEvaluationErrorInfo',
770 as HashRef[EvaluationErrorInfo()];
771  
772 declare 'ErrorType',
773 as (Int | Str);
774  
775 declare 'RunEvaluationRequest',
776 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::RunEvaluationRequest'];
777  
778 coerce 'RunEvaluationRequest',
779 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::RunEvaluationRequest'->new($_) };
780  
781 declare 'RepeatedRunEvaluationRequest',
782 as ArrayRef[RunEvaluationRequest()];
783  
784 coerce 'RepeatedRunEvaluationRequest',
785 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::RunEvaluationRequest'->new($_) } @$_ ] };
786  
787 declare 'MapStringRunEvaluationRequest',
788 as HashRef[RunEvaluationRequest()];
789  
790 declare 'ScheduledEvaluationRun',
791 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::ScheduledEvaluationRun'];
792  
793 coerce 'ScheduledEvaluationRun',
794 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::ScheduledEvaluationRun'->new($_) };
795  
796 declare 'RepeatedScheduledEvaluationRun',
797 as ArrayRef[ScheduledEvaluationRun()];
798  
799 coerce 'RepeatedScheduledEvaluationRun',
800 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::ScheduledEvaluationRun'->new($_) } @$_ ] };
801  
802 declare 'MapStringScheduledEvaluationRun',
803 as HashRef[ScheduledEvaluationRun()];
804  
805 declare 'SchedulingConfig',
806 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::ScheduledEvaluationRun::SchedulingConfig'];
807  
808 coerce 'SchedulingConfig',
809 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::ScheduledEvaluationRun::SchedulingConfig'->new($_) };
810  
811 declare 'RepeatedSchedulingConfig',
812 as ArrayRef[SchedulingConfig()];
813  
814 coerce 'RepeatedSchedulingConfig',
815 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::ScheduledEvaluationRun::SchedulingConfig'->new($_) } @$_ ] };
816  
817 declare 'MapStringSchedulingConfig',
818 as HashRef[SchedulingConfig()];
819  
820 declare 'Frequency',
821 as (Int | Str);
822  
823 declare 'PersonaRunConfig',
824 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::PersonaRunConfig'];
825  
826 coerce 'PersonaRunConfig',
827 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::PersonaRunConfig'->new($_) };
828  
829 declare 'RepeatedPersonaRunConfig',
830 as ArrayRef[PersonaRunConfig()];
831  
832 coerce 'RepeatedPersonaRunConfig',
833 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::PersonaRunConfig'->new($_) } @$_ ] };
834  
835 declare 'MapStringPersonaRunConfig',
836 as HashRef[PersonaRunConfig()];
837  
838 declare 'OptimizationConfig',
839 as InstanceOf['Google::Cloud::Ces::V1beta::Evaluation::OptimizationConfig'];
840  
841 coerce 'OptimizationConfig',
842 from HashRef, via { 'Google::Cloud::Ces::V1beta::Evaluation::OptimizationConfig'->new($_) };
843  
844 declare 'RepeatedOptimizationConfig',
845 as ArrayRef[OptimizationConfig()];
846  
847 coerce 'RepeatedOptimizationConfig',
848 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Ces::V1beta::Evaluation::OptimizationConfig'->new($_) } @$_ ] };
849  
850 declare 'MapStringOptimizationConfig',
851 as HashRef[OptimizationConfig()];
852  
853 declare 'OptimizationStatus',
854 as (Int | Str);
855  
856 1;
857  
858 __END__