V1beta/GenerativeService/Types.pm untested

filter: Statementstmt 0.0% 0 / 886 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 891 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Ai::Generativelanguage::V1beta::GenerativeService::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 'TaskType',
11 as (Int | Str);
12  
13 declare 'GenerateContentRequest',
14 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::GenerateContentRequest'];
15  
16 coerce 'GenerateContentRequest',
17 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GenerateContentRequest'->new($_) };
18  
19 declare 'RepeatedGenerateContentRequest',
20 as ArrayRef[GenerateContentRequest()];
21  
22 coerce 'RepeatedGenerateContentRequest',
23 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GenerateContentRequest'->new($_) } @$_ ] };
24  
25 declare 'MapStringGenerateContentRequest',
26 as HashRef[GenerateContentRequest()];
27  
28 declare 'PrebuiltVoiceConfig',
29 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::PrebuiltVoiceConfig'];
30  
31 coerce 'PrebuiltVoiceConfig',
32 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::PrebuiltVoiceConfig'->new($_) };
33  
34 declare 'RepeatedPrebuiltVoiceConfig',
35 as ArrayRef[PrebuiltVoiceConfig()];
36  
37 coerce 'RepeatedPrebuiltVoiceConfig',
38 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::PrebuiltVoiceConfig'->new($_) } @$_ ] };
39  
40 declare 'MapStringPrebuiltVoiceConfig',
41 as HashRef[PrebuiltVoiceConfig()];
42  
43 declare 'VoiceConfig',
44 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::VoiceConfig'];
45  
46 coerce 'VoiceConfig',
47 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::VoiceConfig'->new($_) };
48  
49 declare 'RepeatedVoiceConfig',
50 as ArrayRef[VoiceConfig()];
51  
52 coerce 'RepeatedVoiceConfig',
53 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::VoiceConfig'->new($_) } @$_ ] };
54  
55 declare 'MapStringVoiceConfig',
56 as HashRef[VoiceConfig()];
57  
58 declare 'SpeakerVoiceConfig',
59 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::SpeakerVoiceConfig'];
60  
61 coerce 'SpeakerVoiceConfig',
62 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::SpeakerVoiceConfig'->new($_) };
63  
64 declare 'RepeatedSpeakerVoiceConfig',
65 as ArrayRef[SpeakerVoiceConfig()];
66  
67 coerce 'RepeatedSpeakerVoiceConfig',
68 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::SpeakerVoiceConfig'->new($_) } @$_ ] };
69  
70 declare 'MapStringSpeakerVoiceConfig',
71 as HashRef[SpeakerVoiceConfig()];
72  
73 declare 'MultiSpeakerVoiceConfig',
74 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::MultiSpeakerVoiceConfig'];
75  
76 coerce 'MultiSpeakerVoiceConfig',
77 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::MultiSpeakerVoiceConfig'->new($_) };
78  
79 declare 'RepeatedMultiSpeakerVoiceConfig',
80 as ArrayRef[MultiSpeakerVoiceConfig()];
81  
82 coerce 'RepeatedMultiSpeakerVoiceConfig',
83 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::MultiSpeakerVoiceConfig'->new($_) } @$_ ] };
84  
85 declare 'MapStringMultiSpeakerVoiceConfig',
86 as HashRef[MultiSpeakerVoiceConfig()];
87  
88 declare 'SpeechConfig',
89 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::SpeechConfig'];
90  
91 coerce 'SpeechConfig',
92 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::SpeechConfig'->new($_) };
93  
94 declare 'RepeatedSpeechConfig',
95 as ArrayRef[SpeechConfig()];
96  
97 coerce 'RepeatedSpeechConfig',
98 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::SpeechConfig'->new($_) } @$_ ] };
99  
100 declare 'MapStringSpeechConfig',
101 as HashRef[SpeechConfig()];
102  
103 declare 'ThinkingConfig',
104 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::ThinkingConfig'];
105  
106 coerce 'ThinkingConfig',
107 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::ThinkingConfig'->new($_) };
108  
109 declare 'RepeatedThinkingConfig',
110 as ArrayRef[ThinkingConfig()];
111  
112 coerce 'RepeatedThinkingConfig',
113 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::ThinkingConfig'->new($_) } @$_ ] };
114  
115 declare 'MapStringThinkingConfig',
116 as HashRef[ThinkingConfig()];
117  
118 declare 'ImageConfig',
119 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::ImageConfig'];
120  
121 coerce 'ImageConfig',
122 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::ImageConfig'->new($_) };
123  
124 declare 'RepeatedImageConfig',
125 as ArrayRef[ImageConfig()];
126  
127 coerce 'RepeatedImageConfig',
128 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::ImageConfig'->new($_) } @$_ ] };
129  
130 declare 'MapStringImageConfig',
131 as HashRef[ImageConfig()];
132  
133 declare 'GenerationConfig',
134 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::GenerationConfig'];
135  
136 coerce 'GenerationConfig',
137 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GenerationConfig'->new($_) };
138  
139 declare 'RepeatedGenerationConfig',
140 as ArrayRef[GenerationConfig()];
141  
142 coerce 'RepeatedGenerationConfig',
143 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GenerationConfig'->new($_) } @$_ ] };
144  
145 declare 'MapStringGenerationConfig',
146 as HashRef[GenerationConfig()];
147  
148 declare 'Modality',
149 as (Int | Str);
150  
151 declare 'MediaResolution',
152 as (Int | Str);
153  
154 declare 'SemanticRetrieverConfig',
155 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::SemanticRetrieverConfig'];
156  
157 coerce 'SemanticRetrieverConfig',
158 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::SemanticRetrieverConfig'->new($_) };
159  
160 declare 'RepeatedSemanticRetrieverConfig',
161 as ArrayRef[SemanticRetrieverConfig()];
162  
163 coerce 'RepeatedSemanticRetrieverConfig',
164 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::SemanticRetrieverConfig'->new($_) } @$_ ] };
165  
166 declare 'MapStringSemanticRetrieverConfig',
167 as HashRef[SemanticRetrieverConfig()];
168  
169 declare 'GenerateContentResponse',
170 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::GenerateContentResponse'];
171  
172 coerce 'GenerateContentResponse',
173 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GenerateContentResponse'->new($_) };
174  
175 declare 'RepeatedGenerateContentResponse',
176 as ArrayRef[GenerateContentResponse()];
177  
178 coerce 'RepeatedGenerateContentResponse',
179 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GenerateContentResponse'->new($_) } @$_ ] };
180  
181 declare 'MapStringGenerateContentResponse',
182 as HashRef[GenerateContentResponse()];
183  
184 declare 'PromptFeedback',
185 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::GenerateContentResponse::PromptFeedback'];
186  
187 coerce 'PromptFeedback',
188 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GenerateContentResponse::PromptFeedback'->new($_) };
189  
190 declare 'RepeatedPromptFeedback',
191 as ArrayRef[PromptFeedback()];
192  
193 coerce 'RepeatedPromptFeedback',
194 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GenerateContentResponse::PromptFeedback'->new($_) } @$_ ] };
195  
196 declare 'MapStringPromptFeedback',
197 as HashRef[PromptFeedback()];
198  
199 declare 'BlockReason',
200 as (Int | Str);
201  
202 declare 'UsageMetadata',
203 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::GenerateContentResponse::UsageMetadata'];
204  
205 coerce 'UsageMetadata',
206 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GenerateContentResponse::UsageMetadata'->new($_) };
207  
208 declare 'RepeatedUsageMetadata',
209 as ArrayRef[UsageMetadata()];
210  
211 coerce 'RepeatedUsageMetadata',
212 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GenerateContentResponse::UsageMetadata'->new($_) } @$_ ] };
213  
214 declare 'MapStringUsageMetadata',
215 as HashRef[UsageMetadata()];
216  
217 declare 'Candidate',
218 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::Candidate'];
219  
220 coerce 'Candidate',
221 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::Candidate'->new($_) };
222  
223 declare 'RepeatedCandidate',
224 as ArrayRef[Candidate()];
225  
226 coerce 'RepeatedCandidate',
227 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::Candidate'->new($_) } @$_ ] };
228  
229 declare 'MapStringCandidate',
230 as HashRef[Candidate()];
231  
232 declare 'FinishReason',
233 as (Int | Str);
234  
235 declare 'UrlContextMetadata',
236 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::UrlContextMetadata'];
237  
238 coerce 'UrlContextMetadata',
239 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::UrlContextMetadata'->new($_) };
240  
241 declare 'RepeatedUrlContextMetadata',
242 as ArrayRef[UrlContextMetadata()];
243  
244 coerce 'RepeatedUrlContextMetadata',
245 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::UrlContextMetadata'->new($_) } @$_ ] };
246  
247 declare 'MapStringUrlContextMetadata',
248 as HashRef[UrlContextMetadata()];
249  
250 declare 'UrlMetadata',
251 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::UrlMetadata'];
252  
253 coerce 'UrlMetadata',
254 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::UrlMetadata'->new($_) };
255  
256 declare 'RepeatedUrlMetadata',
257 as ArrayRef[UrlMetadata()];
258  
259 coerce 'RepeatedUrlMetadata',
260 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::UrlMetadata'->new($_) } @$_ ] };
261  
262 declare 'MapStringUrlMetadata',
263 as HashRef[UrlMetadata()];
264  
265 declare 'UrlRetrievalStatus',
266 as (Int | Str);
267  
268 declare 'LogprobsResult',
269 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::LogprobsResult'];
270  
271 coerce 'LogprobsResult',
272 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::LogprobsResult'->new($_) };
273  
274 declare 'RepeatedLogprobsResult',
275 as ArrayRef[LogprobsResult()];
276  
277 coerce 'RepeatedLogprobsResult',
278 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::LogprobsResult'->new($_) } @$_ ] };
279  
280 declare 'MapStringLogprobsResult',
281 as HashRef[LogprobsResult()];
282  
283 declare 'Candidate',
284 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::LogprobsResult::Candidate'];
285  
286 coerce 'Candidate',
287 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::LogprobsResult::Candidate'->new($_) };
288  
289 declare 'RepeatedCandidate',
290 as ArrayRef[Candidate()];
291  
292 coerce 'RepeatedCandidate',
293 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::LogprobsResult::Candidate'->new($_) } @$_ ] };
294  
295 declare 'MapStringCandidate',
296 as HashRef[Candidate()];
297  
298 declare 'TopCandidates',
299 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::LogprobsResult::TopCandidates'];
300  
301 coerce 'TopCandidates',
302 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::LogprobsResult::TopCandidates'->new($_) };
303  
304 declare 'RepeatedTopCandidates',
305 as ArrayRef[TopCandidates()];
306  
307 coerce 'RepeatedTopCandidates',
308 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::LogprobsResult::TopCandidates'->new($_) } @$_ ] };
309  
310 declare 'MapStringTopCandidates',
311 as HashRef[TopCandidates()];
312  
313 declare 'AttributionSourceId',
314 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::AttributionSourceId'];
315  
316 coerce 'AttributionSourceId',
317 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::AttributionSourceId'->new($_) };
318  
319 declare 'RepeatedAttributionSourceId',
320 as ArrayRef[AttributionSourceId()];
321  
322 coerce 'RepeatedAttributionSourceId',
323 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::AttributionSourceId'->new($_) } @$_ ] };
324  
325 declare 'MapStringAttributionSourceId',
326 as HashRef[AttributionSourceId()];
327  
328 declare 'GroundingPassageId',
329 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::AttributionSourceId::GroundingPassageId'];
330  
331 coerce 'GroundingPassageId',
332 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::AttributionSourceId::GroundingPassageId'->new($_) };
333  
334 declare 'RepeatedGroundingPassageId',
335 as ArrayRef[GroundingPassageId()];
336  
337 coerce 'RepeatedGroundingPassageId',
338 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::AttributionSourceId::GroundingPassageId'->new($_) } @$_ ] };
339  
340 declare 'MapStringGroundingPassageId',
341 as HashRef[GroundingPassageId()];
342  
343 declare 'SemanticRetrieverChunk',
344 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::AttributionSourceId::SemanticRetrieverChunk'];
345  
346 coerce 'SemanticRetrieverChunk',
347 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::AttributionSourceId::SemanticRetrieverChunk'->new($_) };
348  
349 declare 'RepeatedSemanticRetrieverChunk',
350 as ArrayRef[SemanticRetrieverChunk()];
351  
352 coerce 'RepeatedSemanticRetrieverChunk',
353 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::AttributionSourceId::SemanticRetrieverChunk'->new($_) } @$_ ] };
354  
355 declare 'MapStringSemanticRetrieverChunk',
356 as HashRef[SemanticRetrieverChunk()];
357  
358 declare 'GroundingAttribution',
359 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::GroundingAttribution'];
360  
361 coerce 'GroundingAttribution',
362 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GroundingAttribution'->new($_) };
363  
364 declare 'RepeatedGroundingAttribution',
365 as ArrayRef[GroundingAttribution()];
366  
367 coerce 'RepeatedGroundingAttribution',
368 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GroundingAttribution'->new($_) } @$_ ] };
369  
370 declare 'MapStringGroundingAttribution',
371 as HashRef[GroundingAttribution()];
372  
373 declare 'RetrievalMetadata',
374 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::RetrievalMetadata'];
375  
376 coerce 'RetrievalMetadata',
377 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::RetrievalMetadata'->new($_) };
378  
379 declare 'RepeatedRetrievalMetadata',
380 as ArrayRef[RetrievalMetadata()];
381  
382 coerce 'RepeatedRetrievalMetadata',
383 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::RetrievalMetadata'->new($_) } @$_ ] };
384  
385 declare 'MapStringRetrievalMetadata',
386 as HashRef[RetrievalMetadata()];
387  
388 declare 'GroundingMetadata',
389 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::GroundingMetadata'];
390  
391 coerce 'GroundingMetadata',
392 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GroundingMetadata'->new($_) };
393  
394 declare 'RepeatedGroundingMetadata',
395 as ArrayRef[GroundingMetadata()];
396  
397 coerce 'RepeatedGroundingMetadata',
398 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GroundingMetadata'->new($_) } @$_ ] };
399  
400 declare 'MapStringGroundingMetadata',
401 as HashRef[GroundingMetadata()];
402  
403 declare 'SearchEntryPoint',
404 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::SearchEntryPoint'];
405  
406 coerce 'SearchEntryPoint',
407 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::SearchEntryPoint'->new($_) };
408  
409 declare 'RepeatedSearchEntryPoint',
410 as ArrayRef[SearchEntryPoint()];
411  
412 coerce 'RepeatedSearchEntryPoint',
413 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::SearchEntryPoint'->new($_) } @$_ ] };
414  
415 declare 'MapStringSearchEntryPoint',
416 as HashRef[SearchEntryPoint()];
417  
418 declare 'GroundingChunk',
419 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::GroundingChunk'];
420  
421 coerce 'GroundingChunk',
422 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GroundingChunk'->new($_) };
423  
424 declare 'RepeatedGroundingChunk',
425 as ArrayRef[GroundingChunk()];
426  
427 coerce 'RepeatedGroundingChunk',
428 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GroundingChunk'->new($_) } @$_ ] };
429  
430 declare 'MapStringGroundingChunk',
431 as HashRef[GroundingChunk()];
432  
433 declare 'Web',
434 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::GroundingChunk::Web'];
435  
436 coerce 'Web',
437 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GroundingChunk::Web'->new($_) };
438  
439 declare 'RepeatedWeb',
440 as ArrayRef[Web()];
441  
442 coerce 'RepeatedWeb',
443 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GroundingChunk::Web'->new($_) } @$_ ] };
444  
445 declare 'MapStringWeb',
446 as HashRef[Web()];
447  
448 declare 'RetrievedContext',
449 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::GroundingChunk::RetrievedContext'];
450  
451 coerce 'RetrievedContext',
452 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GroundingChunk::RetrievedContext'->new($_) };
453  
454 declare 'RepeatedRetrievedContext',
455 as ArrayRef[RetrievedContext()];
456  
457 coerce 'RepeatedRetrievedContext',
458 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GroundingChunk::RetrievedContext'->new($_) } @$_ ] };
459  
460 declare 'MapStringRetrievedContext',
461 as HashRef[RetrievedContext()];
462  
463 declare 'Maps',
464 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::GroundingChunk::Maps'];
465  
466 coerce 'Maps',
467 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GroundingChunk::Maps'->new($_) };
468  
469 declare 'RepeatedMaps',
470 as ArrayRef[Maps()];
471  
472 coerce 'RepeatedMaps',
473 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GroundingChunk::Maps'->new($_) } @$_ ] };
474  
475 declare 'MapStringMaps',
476 as HashRef[Maps()];
477  
478 declare 'PlaceAnswerSources',
479 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::GroundingChunk::Maps::PlaceAnswerSources'];
480  
481 coerce 'PlaceAnswerSources',
482 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GroundingChunk::Maps::PlaceAnswerSources'->new($_) };
483  
484 declare 'RepeatedPlaceAnswerSources',
485 as ArrayRef[PlaceAnswerSources()];
486  
487 coerce 'RepeatedPlaceAnswerSources',
488 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GroundingChunk::Maps::PlaceAnswerSources'->new($_) } @$_ ] };
489  
490 declare 'MapStringPlaceAnswerSources',
491 as HashRef[PlaceAnswerSources()];
492  
493 declare 'ReviewSnippet',
494 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::GroundingChunk::Maps::PlaceAnswerSources::ReviewSnippet'];
495  
496 coerce 'ReviewSnippet',
497 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GroundingChunk::Maps::PlaceAnswerSources::ReviewSnippet'->new($_) };
498  
499 declare 'RepeatedReviewSnippet',
500 as ArrayRef[ReviewSnippet()];
501  
502 coerce 'RepeatedReviewSnippet',
503 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GroundingChunk::Maps::PlaceAnswerSources::ReviewSnippet'->new($_) } @$_ ] };
504  
505 declare 'MapStringReviewSnippet',
506 as HashRef[ReviewSnippet()];
507  
508 declare 'Segment',
509 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::Segment'];
510  
511 coerce 'Segment',
512 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::Segment'->new($_) };
513  
514 declare 'RepeatedSegment',
515 as ArrayRef[Segment()];
516  
517 coerce 'RepeatedSegment',
518 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::Segment'->new($_) } @$_ ] };
519  
520 declare 'MapStringSegment',
521 as HashRef[Segment()];
522  
523 declare 'GroundingSupport',
524 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::GroundingSupport'];
525  
526 coerce 'GroundingSupport',
527 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GroundingSupport'->new($_) };
528  
529 declare 'RepeatedGroundingSupport',
530 as ArrayRef[GroundingSupport()];
531  
532 coerce 'RepeatedGroundingSupport',
533 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GroundingSupport'->new($_) } @$_ ] };
534  
535 declare 'MapStringGroundingSupport',
536 as HashRef[GroundingSupport()];
537  
538 declare 'GenerateAnswerRequest',
539 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::GenerateAnswerRequest'];
540  
541 coerce 'GenerateAnswerRequest',
542 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GenerateAnswerRequest'->new($_) };
543  
544 declare 'RepeatedGenerateAnswerRequest',
545 as ArrayRef[GenerateAnswerRequest()];
546  
547 coerce 'RepeatedGenerateAnswerRequest',
548 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GenerateAnswerRequest'->new($_) } @$_ ] };
549  
550 declare 'MapStringGenerateAnswerRequest',
551 as HashRef[GenerateAnswerRequest()];
552  
553 declare 'AnswerStyle',
554 as (Int | Str);
555  
556 declare 'GenerateAnswerResponse',
557 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::GenerateAnswerResponse'];
558  
559 coerce 'GenerateAnswerResponse',
560 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GenerateAnswerResponse'->new($_) };
561  
562 declare 'RepeatedGenerateAnswerResponse',
563 as ArrayRef[GenerateAnswerResponse()];
564  
565 coerce 'RepeatedGenerateAnswerResponse',
566 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GenerateAnswerResponse'->new($_) } @$_ ] };
567  
568 declare 'MapStringGenerateAnswerResponse',
569 as HashRef[GenerateAnswerResponse()];
570  
571 declare 'InputFeedback',
572 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::GenerateAnswerResponse::InputFeedback'];
573  
574 coerce 'InputFeedback',
575 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GenerateAnswerResponse::InputFeedback'->new($_) };
576  
577 declare 'RepeatedInputFeedback',
578 as ArrayRef[InputFeedback()];
579  
580 coerce 'RepeatedInputFeedback',
581 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GenerateAnswerResponse::InputFeedback'->new($_) } @$_ ] };
582  
583 declare 'MapStringInputFeedback',
584 as HashRef[InputFeedback()];
585  
586 declare 'BlockReason',
587 as (Int | Str);
588  
589 declare 'EmbedContentRequest',
590 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::EmbedContentRequest'];
591  
592 coerce 'EmbedContentRequest',
593 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::EmbedContentRequest'->new($_) };
594  
595 declare 'RepeatedEmbedContentRequest',
596 as ArrayRef[EmbedContentRequest()];
597  
598 coerce 'RepeatedEmbedContentRequest',
599 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::EmbedContentRequest'->new($_) } @$_ ] };
600  
601 declare 'MapStringEmbedContentRequest',
602 as HashRef[EmbedContentRequest()];
603  
604 declare 'ContentEmbedding',
605 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::ContentEmbedding'];
606  
607 coerce 'ContentEmbedding',
608 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::ContentEmbedding'->new($_) };
609  
610 declare 'RepeatedContentEmbedding',
611 as ArrayRef[ContentEmbedding()];
612  
613 coerce 'RepeatedContentEmbedding',
614 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::ContentEmbedding'->new($_) } @$_ ] };
615  
616 declare 'MapStringContentEmbedding',
617 as HashRef[ContentEmbedding()];
618  
619 declare 'EmbedContentResponse',
620 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::EmbedContentResponse'];
621  
622 coerce 'EmbedContentResponse',
623 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::EmbedContentResponse'->new($_) };
624  
625 declare 'RepeatedEmbedContentResponse',
626 as ArrayRef[EmbedContentResponse()];
627  
628 coerce 'RepeatedEmbedContentResponse',
629 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::EmbedContentResponse'->new($_) } @$_ ] };
630  
631 declare 'MapStringEmbedContentResponse',
632 as HashRef[EmbedContentResponse()];
633  
634 declare 'BatchEmbedContentsRequest',
635 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::BatchEmbedContentsRequest'];
636  
637 coerce 'BatchEmbedContentsRequest',
638 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::BatchEmbedContentsRequest'->new($_) };
639  
640 declare 'RepeatedBatchEmbedContentsRequest',
641 as ArrayRef[BatchEmbedContentsRequest()];
642  
643 coerce 'RepeatedBatchEmbedContentsRequest',
644 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::BatchEmbedContentsRequest'->new($_) } @$_ ] };
645  
646 declare 'MapStringBatchEmbedContentsRequest',
647 as HashRef[BatchEmbedContentsRequest()];
648  
649 declare 'BatchEmbedContentsResponse',
650 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::BatchEmbedContentsResponse'];
651  
652 coerce 'BatchEmbedContentsResponse',
653 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::BatchEmbedContentsResponse'->new($_) };
654  
655 declare 'RepeatedBatchEmbedContentsResponse',
656 as ArrayRef[BatchEmbedContentsResponse()];
657  
658 coerce 'RepeatedBatchEmbedContentsResponse',
659 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::BatchEmbedContentsResponse'->new($_) } @$_ ] };
660  
661 declare 'MapStringBatchEmbedContentsResponse',
662 as HashRef[BatchEmbedContentsResponse()];
663  
664 declare 'CountTokensRequest',
665 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::CountTokensRequest'];
666  
667 coerce 'CountTokensRequest',
668 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::CountTokensRequest'->new($_) };
669  
670 declare 'RepeatedCountTokensRequest',
671 as ArrayRef[CountTokensRequest()];
672  
673 coerce 'RepeatedCountTokensRequest',
674 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::CountTokensRequest'->new($_) } @$_ ] };
675  
676 declare 'MapStringCountTokensRequest',
677 as HashRef[CountTokensRequest()];
678  
679 declare 'CountTokensResponse',
680 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::CountTokensResponse'];
681  
682 coerce 'CountTokensResponse',
683 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::CountTokensResponse'->new($_) };
684  
685 declare 'RepeatedCountTokensResponse',
686 as ArrayRef[CountTokensResponse()];
687  
688 coerce 'RepeatedCountTokensResponse',
689 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::CountTokensResponse'->new($_) } @$_ ] };
690  
691 declare 'MapStringCountTokensResponse',
692 as HashRef[CountTokensResponse()];
693  
694 declare 'RealtimeInputConfig',
695 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::RealtimeInputConfig'];
696  
697 coerce 'RealtimeInputConfig',
698 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::RealtimeInputConfig'->new($_) };
699  
700 declare 'RepeatedRealtimeInputConfig',
701 as ArrayRef[RealtimeInputConfig()];
702  
703 coerce 'RepeatedRealtimeInputConfig',
704 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::RealtimeInputConfig'->new($_) } @$_ ] };
705  
706 declare 'MapStringRealtimeInputConfig',
707 as HashRef[RealtimeInputConfig()];
708  
709 declare 'ActivityHandling',
710 as (Int | Str);
711  
712 declare 'TurnCoverage',
713 as (Int | Str);
714  
715 declare 'AutomaticActivityDetection',
716 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::RealtimeInputConfig::AutomaticActivityDetection'];
717  
718 coerce 'AutomaticActivityDetection',
719 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::RealtimeInputConfig::AutomaticActivityDetection'->new($_) };
720  
721 declare 'RepeatedAutomaticActivityDetection',
722 as ArrayRef[AutomaticActivityDetection()];
723  
724 coerce 'RepeatedAutomaticActivityDetection',
725 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::RealtimeInputConfig::AutomaticActivityDetection'->new($_) } @$_ ] };
726  
727 declare 'MapStringAutomaticActivityDetection',
728 as HashRef[AutomaticActivityDetection()];
729  
730 declare 'StartSensitivity',
731 as (Int | Str);
732  
733 declare 'EndSensitivity',
734 as (Int | Str);
735  
736 declare 'SessionResumptionConfig',
737 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::SessionResumptionConfig'];
738  
739 coerce 'SessionResumptionConfig',
740 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::SessionResumptionConfig'->new($_) };
741  
742 declare 'RepeatedSessionResumptionConfig',
743 as ArrayRef[SessionResumptionConfig()];
744  
745 coerce 'RepeatedSessionResumptionConfig',
746 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::SessionResumptionConfig'->new($_) } @$_ ] };
747  
748 declare 'MapStringSessionResumptionConfig',
749 as HashRef[SessionResumptionConfig()];
750  
751 declare 'ContextWindowCompressionConfig',
752 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::ContextWindowCompressionConfig'];
753  
754 coerce 'ContextWindowCompressionConfig',
755 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::ContextWindowCompressionConfig'->new($_) };
756  
757 declare 'RepeatedContextWindowCompressionConfig',
758 as ArrayRef[ContextWindowCompressionConfig()];
759  
760 coerce 'RepeatedContextWindowCompressionConfig',
761 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::ContextWindowCompressionConfig'->new($_) } @$_ ] };
762  
763 declare 'MapStringContextWindowCompressionConfig',
764 as HashRef[ContextWindowCompressionConfig()];
765  
766 declare 'SlidingWindow',
767 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::ContextWindowCompressionConfig::SlidingWindow'];
768  
769 coerce 'SlidingWindow',
770 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::ContextWindowCompressionConfig::SlidingWindow'->new($_) };
771  
772 declare 'RepeatedSlidingWindow',
773 as ArrayRef[SlidingWindow()];
774  
775 coerce 'RepeatedSlidingWindow',
776 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::ContextWindowCompressionConfig::SlidingWindow'->new($_) } @$_ ] };
777  
778 declare 'MapStringSlidingWindow',
779 as HashRef[SlidingWindow()];
780  
781 declare 'AudioTranscriptionConfig',
782 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::AudioTranscriptionConfig'];
783  
784 coerce 'AudioTranscriptionConfig',
785 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::AudioTranscriptionConfig'->new($_) };
786  
787 declare 'RepeatedAudioTranscriptionConfig',
788 as ArrayRef[AudioTranscriptionConfig()];
789  
790 coerce 'RepeatedAudioTranscriptionConfig',
791 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::AudioTranscriptionConfig'->new($_) } @$_ ] };
792  
793 declare 'MapStringAudioTranscriptionConfig',
794 as HashRef[AudioTranscriptionConfig()];
795  
796 declare 'BidiGenerateContentSetup',
797 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentSetup'];
798  
799 coerce 'BidiGenerateContentSetup',
800 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentSetup'->new($_) };
801  
802 declare 'RepeatedBidiGenerateContentSetup',
803 as ArrayRef[BidiGenerateContentSetup()];
804  
805 coerce 'RepeatedBidiGenerateContentSetup',
806 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentSetup'->new($_) } @$_ ] };
807  
808 declare 'MapStringBidiGenerateContentSetup',
809 as HashRef[BidiGenerateContentSetup()];
810  
811 declare 'BidiGenerateContentClientContent',
812 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentClientContent'];
813  
814 coerce 'BidiGenerateContentClientContent',
815 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentClientContent'->new($_) };
816  
817 declare 'RepeatedBidiGenerateContentClientContent',
818 as ArrayRef[BidiGenerateContentClientContent()];
819  
820 coerce 'RepeatedBidiGenerateContentClientContent',
821 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentClientContent'->new($_) } @$_ ] };
822  
823 declare 'MapStringBidiGenerateContentClientContent',
824 as HashRef[BidiGenerateContentClientContent()];
825  
826 declare 'BidiGenerateContentRealtimeInput',
827 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentRealtimeInput'];
828  
829 coerce 'BidiGenerateContentRealtimeInput',
830 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentRealtimeInput'->new($_) };
831  
832 declare 'RepeatedBidiGenerateContentRealtimeInput',
833 as ArrayRef[BidiGenerateContentRealtimeInput()];
834  
835 coerce 'RepeatedBidiGenerateContentRealtimeInput',
836 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentRealtimeInput'->new($_) } @$_ ] };
837  
838 declare 'MapStringBidiGenerateContentRealtimeInput',
839 as HashRef[BidiGenerateContentRealtimeInput()];
840  
841 declare 'ActivityStart',
842 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentRealtimeInput::ActivityStart'];
843  
844 coerce 'ActivityStart',
845 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentRealtimeInput::ActivityStart'->new($_) };
846  
847 declare 'RepeatedActivityStart',
848 as ArrayRef[ActivityStart()];
849  
850 coerce 'RepeatedActivityStart',
851 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentRealtimeInput::ActivityStart'->new($_) } @$_ ] };
852  
853 declare 'MapStringActivityStart',
854 as HashRef[ActivityStart()];
855  
856 declare 'ActivityEnd',
857 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentRealtimeInput::ActivityEnd'];
858  
859 coerce 'ActivityEnd',
860 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentRealtimeInput::ActivityEnd'->new($_) };
861  
862 declare 'RepeatedActivityEnd',
863 as ArrayRef[ActivityEnd()];
864  
865 coerce 'RepeatedActivityEnd',
866 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentRealtimeInput::ActivityEnd'->new($_) } @$_ ] };
867  
868 declare 'MapStringActivityEnd',
869 as HashRef[ActivityEnd()];
870  
871 declare 'BidiGenerateContentToolResponse',
872 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentToolResponse'];
873  
874 coerce 'BidiGenerateContentToolResponse',
875 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentToolResponse'->new($_) };
876  
877 declare 'RepeatedBidiGenerateContentToolResponse',
878 as ArrayRef[BidiGenerateContentToolResponse()];
879  
880 coerce 'RepeatedBidiGenerateContentToolResponse',
881 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentToolResponse'->new($_) } @$_ ] };
882  
883 declare 'MapStringBidiGenerateContentToolResponse',
884 as HashRef[BidiGenerateContentToolResponse()];
885  
886 declare 'BidiGenerateContentClientMessage',
887 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentClientMessage'];
888  
889 coerce 'BidiGenerateContentClientMessage',
890 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentClientMessage'->new($_) };
891  
892 declare 'RepeatedBidiGenerateContentClientMessage',
893 as ArrayRef[BidiGenerateContentClientMessage()];
894  
895 coerce 'RepeatedBidiGenerateContentClientMessage',
896 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentClientMessage'->new($_) } @$_ ] };
897  
898 declare 'MapStringBidiGenerateContentClientMessage',
899 as HashRef[BidiGenerateContentClientMessage()];
900  
901 declare 'BidiGenerateContentSetupComplete',
902 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentSetupComplete'];
903  
904 coerce 'BidiGenerateContentSetupComplete',
905 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentSetupComplete'->new($_) };
906  
907 declare 'RepeatedBidiGenerateContentSetupComplete',
908 as ArrayRef[BidiGenerateContentSetupComplete()];
909  
910 coerce 'RepeatedBidiGenerateContentSetupComplete',
911 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentSetupComplete'->new($_) } @$_ ] };
912  
913 declare 'MapStringBidiGenerateContentSetupComplete',
914 as HashRef[BidiGenerateContentSetupComplete()];
915  
916 declare 'BidiGenerateContentServerContent',
917 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentServerContent'];
918  
919 coerce 'BidiGenerateContentServerContent',
920 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentServerContent'->new($_) };
921  
922 declare 'RepeatedBidiGenerateContentServerContent',
923 as ArrayRef[BidiGenerateContentServerContent()];
924  
925 coerce 'RepeatedBidiGenerateContentServerContent',
926 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentServerContent'->new($_) } @$_ ] };
927  
928 declare 'MapStringBidiGenerateContentServerContent',
929 as HashRef[BidiGenerateContentServerContent()];
930  
931 declare 'BidiGenerateContentToolCall',
932 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentToolCall'];
933  
934 coerce 'BidiGenerateContentToolCall',
935 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentToolCall'->new($_) };
936  
937 declare 'RepeatedBidiGenerateContentToolCall',
938 as ArrayRef[BidiGenerateContentToolCall()];
939  
940 coerce 'RepeatedBidiGenerateContentToolCall',
941 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentToolCall'->new($_) } @$_ ] };
942  
943 declare 'MapStringBidiGenerateContentToolCall',
944 as HashRef[BidiGenerateContentToolCall()];
945  
946 declare 'BidiGenerateContentToolCallCancellation',
947 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentToolCallCancellation'];
948  
949 coerce 'BidiGenerateContentToolCallCancellation',
950 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentToolCallCancellation'->new($_) };
951  
952 declare 'RepeatedBidiGenerateContentToolCallCancellation',
953 as ArrayRef[BidiGenerateContentToolCallCancellation()];
954  
955 coerce 'RepeatedBidiGenerateContentToolCallCancellation',
956 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentToolCallCancellation'->new($_) } @$_ ] };
957  
958 declare 'MapStringBidiGenerateContentToolCallCancellation',
959 as HashRef[BidiGenerateContentToolCallCancellation()];
960  
961 declare 'GoAway',
962 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::GoAway'];
963  
964 coerce 'GoAway',
965 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GoAway'->new($_) };
966  
967 declare 'RepeatedGoAway',
968 as ArrayRef[GoAway()];
969  
970 coerce 'RepeatedGoAway',
971 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::GoAway'->new($_) } @$_ ] };
972  
973 declare 'MapStringGoAway',
974 as HashRef[GoAway()];
975  
976 declare 'SessionResumptionUpdate',
977 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::SessionResumptionUpdate'];
978  
979 coerce 'SessionResumptionUpdate',
980 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::SessionResumptionUpdate'->new($_) };
981  
982 declare 'RepeatedSessionResumptionUpdate',
983 as ArrayRef[SessionResumptionUpdate()];
984  
985 coerce 'RepeatedSessionResumptionUpdate',
986 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::SessionResumptionUpdate'->new($_) } @$_ ] };
987  
988 declare 'MapStringSessionResumptionUpdate',
989 as HashRef[SessionResumptionUpdate()];
990  
991 declare 'BidiGenerateContentTranscription',
992 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentTranscription'];
993  
994 coerce 'BidiGenerateContentTranscription',
995 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentTranscription'->new($_) };
996  
997 declare 'RepeatedBidiGenerateContentTranscription',
998 as ArrayRef[BidiGenerateContentTranscription()];
999  
1000 coerce 'RepeatedBidiGenerateContentTranscription',
1001 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentTranscription'->new($_) } @$_ ] };
1002  
1003 declare 'MapStringBidiGenerateContentTranscription',
1004 as HashRef[BidiGenerateContentTranscription()];
1005  
1006 declare 'BidiGenerateContentServerMessage',
1007 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentServerMessage'];
1008  
1009 coerce 'BidiGenerateContentServerMessage',
1010 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentServerMessage'->new($_) };
1011  
1012 declare 'RepeatedBidiGenerateContentServerMessage',
1013 as ArrayRef[BidiGenerateContentServerMessage()];
1014  
1015 coerce 'RepeatedBidiGenerateContentServerMessage',
1016 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::BidiGenerateContentServerMessage'->new($_) } @$_ ] };
1017  
1018 declare 'MapStringBidiGenerateContentServerMessage',
1019 as HashRef[BidiGenerateContentServerMessage()];
1020  
1021 declare 'UsageMetadata',
1022 as InstanceOf['Google::Ai::Generativelanguage::V1beta::GenerativeService::UsageMetadata'];
1023  
1024 coerce 'UsageMetadata',
1025 from HashRef, via { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::UsageMetadata'->new($_) };
1026  
1027 declare 'RepeatedUsageMetadata',
1028 as ArrayRef[UsageMetadata()];
1029  
1030 coerce 'RepeatedUsageMetadata',
1031 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1beta::GenerativeService::UsageMetadata'->new($_) } @$_ ] };
1032  
1033 declare 'MapStringUsageMetadata',
1034 as HashRef[UsageMetadata()];
1035  
1036 1;
1037  
1038 __END__