V1alpha/GenerativeService/Types.pm untested

filter: Statementstmt 0.0% 0 / 594 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 599 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::V1alpha::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::V1alpha::GenerativeService::GenerateContentRequest'];
15  
16 coerce 'GenerateContentRequest',
17 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::GenerateContentRequest'->new($_) };
18  
19 declare 'RepeatedGenerateContentRequest',
20 as ArrayRef[GenerateContentRequest()];
21  
22 coerce 'RepeatedGenerateContentRequest',
23 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::GenerateContentRequest'->new($_) } @$_ ] };
24  
25 declare 'MapStringGenerateContentRequest',
26 as HashRef[GenerateContentRequest()];
27  
28 declare 'PrebuiltVoiceConfig',
29 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::PrebuiltVoiceConfig'];
30  
31 coerce 'PrebuiltVoiceConfig',
32 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::PrebuiltVoiceConfig'->new($_) };
33  
34 declare 'RepeatedPrebuiltVoiceConfig',
35 as ArrayRef[PrebuiltVoiceConfig()];
36  
37 coerce 'RepeatedPrebuiltVoiceConfig',
38 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::PrebuiltVoiceConfig'->new($_) } @$_ ] };
39  
40 declare 'MapStringPrebuiltVoiceConfig',
41 as HashRef[PrebuiltVoiceConfig()];
42  
43 declare 'VoiceConfig',
44 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::VoiceConfig'];
45  
46 coerce 'VoiceConfig',
47 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::VoiceConfig'->new($_) };
48  
49 declare 'RepeatedVoiceConfig',
50 as ArrayRef[VoiceConfig()];
51  
52 coerce 'RepeatedVoiceConfig',
53 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::VoiceConfig'->new($_) } @$_ ] };
54  
55 declare 'MapStringVoiceConfig',
56 as HashRef[VoiceConfig()];
57  
58 declare 'SpeechConfig',
59 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::SpeechConfig'];
60  
61 coerce 'SpeechConfig',
62 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::SpeechConfig'->new($_) };
63  
64 declare 'RepeatedSpeechConfig',
65 as ArrayRef[SpeechConfig()];
66  
67 coerce 'RepeatedSpeechConfig',
68 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::SpeechConfig'->new($_) } @$_ ] };
69  
70 declare 'MapStringSpeechConfig',
71 as HashRef[SpeechConfig()];
72  
73 declare 'GenerationConfig',
74 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::GenerationConfig'];
75  
76 coerce 'GenerationConfig',
77 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::GenerationConfig'->new($_) };
78  
79 declare 'RepeatedGenerationConfig',
80 as ArrayRef[GenerationConfig()];
81  
82 coerce 'RepeatedGenerationConfig',
83 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::GenerationConfig'->new($_) } @$_ ] };
84  
85 declare 'MapStringGenerationConfig',
86 as HashRef[GenerationConfig()];
87  
88 declare 'Modality',
89 as (Int | Str);
90  
91 declare 'SemanticRetrieverConfig',
92 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::SemanticRetrieverConfig'];
93  
94 coerce 'SemanticRetrieverConfig',
95 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::SemanticRetrieverConfig'->new($_) };
96  
97 declare 'RepeatedSemanticRetrieverConfig',
98 as ArrayRef[SemanticRetrieverConfig()];
99  
100 coerce 'RepeatedSemanticRetrieverConfig',
101 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::SemanticRetrieverConfig'->new($_) } @$_ ] };
102  
103 declare 'MapStringSemanticRetrieverConfig',
104 as HashRef[SemanticRetrieverConfig()];
105  
106 declare 'GenerateContentResponse',
107 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::GenerateContentResponse'];
108  
109 coerce 'GenerateContentResponse',
110 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::GenerateContentResponse'->new($_) };
111  
112 declare 'RepeatedGenerateContentResponse',
113 as ArrayRef[GenerateContentResponse()];
114  
115 coerce 'RepeatedGenerateContentResponse',
116 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::GenerateContentResponse'->new($_) } @$_ ] };
117  
118 declare 'MapStringGenerateContentResponse',
119 as HashRef[GenerateContentResponse()];
120  
121 declare 'PromptFeedback',
122 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::GenerateContentResponse::PromptFeedback'];
123  
124 coerce 'PromptFeedback',
125 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::GenerateContentResponse::PromptFeedback'->new($_) };
126  
127 declare 'RepeatedPromptFeedback',
128 as ArrayRef[PromptFeedback()];
129  
130 coerce 'RepeatedPromptFeedback',
131 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::GenerateContentResponse::PromptFeedback'->new($_) } @$_ ] };
132  
133 declare 'MapStringPromptFeedback',
134 as HashRef[PromptFeedback()];
135  
136 declare 'BlockReason',
137 as (Int | Str);
138  
139 declare 'UsageMetadata',
140 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::GenerateContentResponse::UsageMetadata'];
141  
142 coerce 'UsageMetadata',
143 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::GenerateContentResponse::UsageMetadata'->new($_) };
144  
145 declare 'RepeatedUsageMetadata',
146 as ArrayRef[UsageMetadata()];
147  
148 coerce 'RepeatedUsageMetadata',
149 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::GenerateContentResponse::UsageMetadata'->new($_) } @$_ ] };
150  
151 declare 'MapStringUsageMetadata',
152 as HashRef[UsageMetadata()];
153  
154 declare 'Candidate',
155 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::Candidate'];
156  
157 coerce 'Candidate',
158 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::Candidate'->new($_) };
159  
160 declare 'RepeatedCandidate',
161 as ArrayRef[Candidate()];
162  
163 coerce 'RepeatedCandidate',
164 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::Candidate'->new($_) } @$_ ] };
165  
166 declare 'MapStringCandidate',
167 as HashRef[Candidate()];
168  
169 declare 'FinishReason',
170 as (Int | Str);
171  
172 declare 'LogprobsResult',
173 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::LogprobsResult'];
174  
175 coerce 'LogprobsResult',
176 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::LogprobsResult'->new($_) };
177  
178 declare 'RepeatedLogprobsResult',
179 as ArrayRef[LogprobsResult()];
180  
181 coerce 'RepeatedLogprobsResult',
182 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::LogprobsResult'->new($_) } @$_ ] };
183  
184 declare 'MapStringLogprobsResult',
185 as HashRef[LogprobsResult()];
186  
187 declare 'Candidate',
188 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::LogprobsResult::Candidate'];
189  
190 coerce 'Candidate',
191 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::LogprobsResult::Candidate'->new($_) };
192  
193 declare 'RepeatedCandidate',
194 as ArrayRef[Candidate()];
195  
196 coerce 'RepeatedCandidate',
197 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::LogprobsResult::Candidate'->new($_) } @$_ ] };
198  
199 declare 'MapStringCandidate',
200 as HashRef[Candidate()];
201  
202 declare 'TopCandidates',
203 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::LogprobsResult::TopCandidates'];
204  
205 coerce 'TopCandidates',
206 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::LogprobsResult::TopCandidates'->new($_) };
207  
208 declare 'RepeatedTopCandidates',
209 as ArrayRef[TopCandidates()];
210  
211 coerce 'RepeatedTopCandidates',
212 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::LogprobsResult::TopCandidates'->new($_) } @$_ ] };
213  
214 declare 'MapStringTopCandidates',
215 as HashRef[TopCandidates()];
216  
217 declare 'AttributionSourceId',
218 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::AttributionSourceId'];
219  
220 coerce 'AttributionSourceId',
221 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::AttributionSourceId'->new($_) };
222  
223 declare 'RepeatedAttributionSourceId',
224 as ArrayRef[AttributionSourceId()];
225  
226 coerce 'RepeatedAttributionSourceId',
227 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::AttributionSourceId'->new($_) } @$_ ] };
228  
229 declare 'MapStringAttributionSourceId',
230 as HashRef[AttributionSourceId()];
231  
232 declare 'GroundingPassageId',
233 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::AttributionSourceId::GroundingPassageId'];
234  
235 coerce 'GroundingPassageId',
236 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::AttributionSourceId::GroundingPassageId'->new($_) };
237  
238 declare 'RepeatedGroundingPassageId',
239 as ArrayRef[GroundingPassageId()];
240  
241 coerce 'RepeatedGroundingPassageId',
242 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::AttributionSourceId::GroundingPassageId'->new($_) } @$_ ] };
243  
244 declare 'MapStringGroundingPassageId',
245 as HashRef[GroundingPassageId()];
246  
247 declare 'SemanticRetrieverChunk',
248 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::AttributionSourceId::SemanticRetrieverChunk'];
249  
250 coerce 'SemanticRetrieverChunk',
251 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::AttributionSourceId::SemanticRetrieverChunk'->new($_) };
252  
253 declare 'RepeatedSemanticRetrieverChunk',
254 as ArrayRef[SemanticRetrieverChunk()];
255  
256 coerce 'RepeatedSemanticRetrieverChunk',
257 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::AttributionSourceId::SemanticRetrieverChunk'->new($_) } @$_ ] };
258  
259 declare 'MapStringSemanticRetrieverChunk',
260 as HashRef[SemanticRetrieverChunk()];
261  
262 declare 'GroundingAttribution',
263 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::GroundingAttribution'];
264  
265 coerce 'GroundingAttribution',
266 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::GroundingAttribution'->new($_) };
267  
268 declare 'RepeatedGroundingAttribution',
269 as ArrayRef[GroundingAttribution()];
270  
271 coerce 'RepeatedGroundingAttribution',
272 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::GroundingAttribution'->new($_) } @$_ ] };
273  
274 declare 'MapStringGroundingAttribution',
275 as HashRef[GroundingAttribution()];
276  
277 declare 'RetrievalMetadata',
278 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::RetrievalMetadata'];
279  
280 coerce 'RetrievalMetadata',
281 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::RetrievalMetadata'->new($_) };
282  
283 declare 'RepeatedRetrievalMetadata',
284 as ArrayRef[RetrievalMetadata()];
285  
286 coerce 'RepeatedRetrievalMetadata',
287 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::RetrievalMetadata'->new($_) } @$_ ] };
288  
289 declare 'MapStringRetrievalMetadata',
290 as HashRef[RetrievalMetadata()];
291  
292 declare 'GroundingMetadata',
293 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::GroundingMetadata'];
294  
295 coerce 'GroundingMetadata',
296 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::GroundingMetadata'->new($_) };
297  
298 declare 'RepeatedGroundingMetadata',
299 as ArrayRef[GroundingMetadata()];
300  
301 coerce 'RepeatedGroundingMetadata',
302 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::GroundingMetadata'->new($_) } @$_ ] };
303  
304 declare 'MapStringGroundingMetadata',
305 as HashRef[GroundingMetadata()];
306  
307 declare 'SearchEntryPoint',
308 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::SearchEntryPoint'];
309  
310 coerce 'SearchEntryPoint',
311 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::SearchEntryPoint'->new($_) };
312  
313 declare 'RepeatedSearchEntryPoint',
314 as ArrayRef[SearchEntryPoint()];
315  
316 coerce 'RepeatedSearchEntryPoint',
317 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::SearchEntryPoint'->new($_) } @$_ ] };
318  
319 declare 'MapStringSearchEntryPoint',
320 as HashRef[SearchEntryPoint()];
321  
322 declare 'GroundingChunk',
323 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::GroundingChunk'];
324  
325 coerce 'GroundingChunk',
326 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::GroundingChunk'->new($_) };
327  
328 declare 'RepeatedGroundingChunk',
329 as ArrayRef[GroundingChunk()];
330  
331 coerce 'RepeatedGroundingChunk',
332 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::GroundingChunk'->new($_) } @$_ ] };
333  
334 declare 'MapStringGroundingChunk',
335 as HashRef[GroundingChunk()];
336  
337 declare 'Web',
338 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::GroundingChunk::Web'];
339  
340 coerce 'Web',
341 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::GroundingChunk::Web'->new($_) };
342  
343 declare 'RepeatedWeb',
344 as ArrayRef[Web()];
345  
346 coerce 'RepeatedWeb',
347 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::GroundingChunk::Web'->new($_) } @$_ ] };
348  
349 declare 'MapStringWeb',
350 as HashRef[Web()];
351  
352 declare 'Segment',
353 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::Segment'];
354  
355 coerce 'Segment',
356 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::Segment'->new($_) };
357  
358 declare 'RepeatedSegment',
359 as ArrayRef[Segment()];
360  
361 coerce 'RepeatedSegment',
362 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::Segment'->new($_) } @$_ ] };
363  
364 declare 'MapStringSegment',
365 as HashRef[Segment()];
366  
367 declare 'GroundingSupport',
368 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::GroundingSupport'];
369  
370 coerce 'GroundingSupport',
371 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::GroundingSupport'->new($_) };
372  
373 declare 'RepeatedGroundingSupport',
374 as ArrayRef[GroundingSupport()];
375  
376 coerce 'RepeatedGroundingSupport',
377 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::GroundingSupport'->new($_) } @$_ ] };
378  
379 declare 'MapStringGroundingSupport',
380 as HashRef[GroundingSupport()];
381  
382 declare 'GenerateAnswerRequest',
383 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::GenerateAnswerRequest'];
384  
385 coerce 'GenerateAnswerRequest',
386 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::GenerateAnswerRequest'->new($_) };
387  
388 declare 'RepeatedGenerateAnswerRequest',
389 as ArrayRef[GenerateAnswerRequest()];
390  
391 coerce 'RepeatedGenerateAnswerRequest',
392 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::GenerateAnswerRequest'->new($_) } @$_ ] };
393  
394 declare 'MapStringGenerateAnswerRequest',
395 as HashRef[GenerateAnswerRequest()];
396  
397 declare 'AnswerStyle',
398 as (Int | Str);
399  
400 declare 'GenerateAnswerResponse',
401 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::GenerateAnswerResponse'];
402  
403 coerce 'GenerateAnswerResponse',
404 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::GenerateAnswerResponse'->new($_) };
405  
406 declare 'RepeatedGenerateAnswerResponse',
407 as ArrayRef[GenerateAnswerResponse()];
408  
409 coerce 'RepeatedGenerateAnswerResponse',
410 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::GenerateAnswerResponse'->new($_) } @$_ ] };
411  
412 declare 'MapStringGenerateAnswerResponse',
413 as HashRef[GenerateAnswerResponse()];
414  
415 declare 'InputFeedback',
416 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::GenerateAnswerResponse::InputFeedback'];
417  
418 coerce 'InputFeedback',
419 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::GenerateAnswerResponse::InputFeedback'->new($_) };
420  
421 declare 'RepeatedInputFeedback',
422 as ArrayRef[InputFeedback()];
423  
424 coerce 'RepeatedInputFeedback',
425 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::GenerateAnswerResponse::InputFeedback'->new($_) } @$_ ] };
426  
427 declare 'MapStringInputFeedback',
428 as HashRef[InputFeedback()];
429  
430 declare 'BlockReason',
431 as (Int | Str);
432  
433 declare 'EmbedContentRequest',
434 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::EmbedContentRequest'];
435  
436 coerce 'EmbedContentRequest',
437 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::EmbedContentRequest'->new($_) };
438  
439 declare 'RepeatedEmbedContentRequest',
440 as ArrayRef[EmbedContentRequest()];
441  
442 coerce 'RepeatedEmbedContentRequest',
443 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::EmbedContentRequest'->new($_) } @$_ ] };
444  
445 declare 'MapStringEmbedContentRequest',
446 as HashRef[EmbedContentRequest()];
447  
448 declare 'ContentEmbedding',
449 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::ContentEmbedding'];
450  
451 coerce 'ContentEmbedding',
452 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::ContentEmbedding'->new($_) };
453  
454 declare 'RepeatedContentEmbedding',
455 as ArrayRef[ContentEmbedding()];
456  
457 coerce 'RepeatedContentEmbedding',
458 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::ContentEmbedding'->new($_) } @$_ ] };
459  
460 declare 'MapStringContentEmbedding',
461 as HashRef[ContentEmbedding()];
462  
463 declare 'EmbedContentResponse',
464 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::EmbedContentResponse'];
465  
466 coerce 'EmbedContentResponse',
467 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::EmbedContentResponse'->new($_) };
468  
469 declare 'RepeatedEmbedContentResponse',
470 as ArrayRef[EmbedContentResponse()];
471  
472 coerce 'RepeatedEmbedContentResponse',
473 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::EmbedContentResponse'->new($_) } @$_ ] };
474  
475 declare 'MapStringEmbedContentResponse',
476 as HashRef[EmbedContentResponse()];
477  
478 declare 'BatchEmbedContentsRequest',
479 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::BatchEmbedContentsRequest'];
480  
481 coerce 'BatchEmbedContentsRequest',
482 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::BatchEmbedContentsRequest'->new($_) };
483  
484 declare 'RepeatedBatchEmbedContentsRequest',
485 as ArrayRef[BatchEmbedContentsRequest()];
486  
487 coerce 'RepeatedBatchEmbedContentsRequest',
488 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::BatchEmbedContentsRequest'->new($_) } @$_ ] };
489  
490 declare 'MapStringBatchEmbedContentsRequest',
491 as HashRef[BatchEmbedContentsRequest()];
492  
493 declare 'BatchEmbedContentsResponse',
494 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::BatchEmbedContentsResponse'];
495  
496 coerce 'BatchEmbedContentsResponse',
497 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::BatchEmbedContentsResponse'->new($_) };
498  
499 declare 'RepeatedBatchEmbedContentsResponse',
500 as ArrayRef[BatchEmbedContentsResponse()];
501  
502 coerce 'RepeatedBatchEmbedContentsResponse',
503 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::BatchEmbedContentsResponse'->new($_) } @$_ ] };
504  
505 declare 'MapStringBatchEmbedContentsResponse',
506 as HashRef[BatchEmbedContentsResponse()];
507  
508 declare 'CountTokensRequest',
509 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::CountTokensRequest'];
510  
511 coerce 'CountTokensRequest',
512 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::CountTokensRequest'->new($_) };
513  
514 declare 'RepeatedCountTokensRequest',
515 as ArrayRef[CountTokensRequest()];
516  
517 coerce 'RepeatedCountTokensRequest',
518 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::CountTokensRequest'->new($_) } @$_ ] };
519  
520 declare 'MapStringCountTokensRequest',
521 as HashRef[CountTokensRequest()];
522  
523 declare 'CountTokensResponse',
524 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::CountTokensResponse'];
525  
526 coerce 'CountTokensResponse',
527 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::CountTokensResponse'->new($_) };
528  
529 declare 'RepeatedCountTokensResponse',
530 as ArrayRef[CountTokensResponse()];
531  
532 coerce 'RepeatedCountTokensResponse',
533 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::CountTokensResponse'->new($_) } @$_ ] };
534  
535 declare 'MapStringCountTokensResponse',
536 as HashRef[CountTokensResponse()];
537  
538 declare 'BidiGenerateContentSetup',
539 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::BidiGenerateContentSetup'];
540  
541 coerce 'BidiGenerateContentSetup',
542 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::BidiGenerateContentSetup'->new($_) };
543  
544 declare 'RepeatedBidiGenerateContentSetup',
545 as ArrayRef[BidiGenerateContentSetup()];
546  
547 coerce 'RepeatedBidiGenerateContentSetup',
548 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::BidiGenerateContentSetup'->new($_) } @$_ ] };
549  
550 declare 'MapStringBidiGenerateContentSetup',
551 as HashRef[BidiGenerateContentSetup()];
552  
553 declare 'BidiGenerateContentClientContent',
554 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::BidiGenerateContentClientContent'];
555  
556 coerce 'BidiGenerateContentClientContent',
557 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::BidiGenerateContentClientContent'->new($_) };
558  
559 declare 'RepeatedBidiGenerateContentClientContent',
560 as ArrayRef[BidiGenerateContentClientContent()];
561  
562 coerce 'RepeatedBidiGenerateContentClientContent',
563 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::BidiGenerateContentClientContent'->new($_) } @$_ ] };
564  
565 declare 'MapStringBidiGenerateContentClientContent',
566 as HashRef[BidiGenerateContentClientContent()];
567  
568 declare 'BidiGenerateContentRealtimeInput',
569 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::BidiGenerateContentRealtimeInput'];
570  
571 coerce 'BidiGenerateContentRealtimeInput',
572 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::BidiGenerateContentRealtimeInput'->new($_) };
573  
574 declare 'RepeatedBidiGenerateContentRealtimeInput',
575 as ArrayRef[BidiGenerateContentRealtimeInput()];
576  
577 coerce 'RepeatedBidiGenerateContentRealtimeInput',
578 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::BidiGenerateContentRealtimeInput'->new($_) } @$_ ] };
579  
580 declare 'MapStringBidiGenerateContentRealtimeInput',
581 as HashRef[BidiGenerateContentRealtimeInput()];
582  
583 declare 'BidiGenerateContentToolResponse',
584 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::BidiGenerateContentToolResponse'];
585  
586 coerce 'BidiGenerateContentToolResponse',
587 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::BidiGenerateContentToolResponse'->new($_) };
588  
589 declare 'RepeatedBidiGenerateContentToolResponse',
590 as ArrayRef[BidiGenerateContentToolResponse()];
591  
592 coerce 'RepeatedBidiGenerateContentToolResponse',
593 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::BidiGenerateContentToolResponse'->new($_) } @$_ ] };
594  
595 declare 'MapStringBidiGenerateContentToolResponse',
596 as HashRef[BidiGenerateContentToolResponse()];
597  
598 declare 'BidiGenerateContentClientMessage',
599 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::BidiGenerateContentClientMessage'];
600  
601 coerce 'BidiGenerateContentClientMessage',
602 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::BidiGenerateContentClientMessage'->new($_) };
603  
604 declare 'RepeatedBidiGenerateContentClientMessage',
605 as ArrayRef[BidiGenerateContentClientMessage()];
606  
607 coerce 'RepeatedBidiGenerateContentClientMessage',
608 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::BidiGenerateContentClientMessage'->new($_) } @$_ ] };
609  
610 declare 'MapStringBidiGenerateContentClientMessage',
611 as HashRef[BidiGenerateContentClientMessage()];
612  
613 declare 'BidiGenerateContentSetupComplete',
614 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::BidiGenerateContentSetupComplete'];
615  
616 coerce 'BidiGenerateContentSetupComplete',
617 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::BidiGenerateContentSetupComplete'->new($_) };
618  
619 declare 'RepeatedBidiGenerateContentSetupComplete',
620 as ArrayRef[BidiGenerateContentSetupComplete()];
621  
622 coerce 'RepeatedBidiGenerateContentSetupComplete',
623 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::BidiGenerateContentSetupComplete'->new($_) } @$_ ] };
624  
625 declare 'MapStringBidiGenerateContentSetupComplete',
626 as HashRef[BidiGenerateContentSetupComplete()];
627  
628 declare 'BidiGenerateContentServerContent',
629 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::BidiGenerateContentServerContent'];
630  
631 coerce 'BidiGenerateContentServerContent',
632 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::BidiGenerateContentServerContent'->new($_) };
633  
634 declare 'RepeatedBidiGenerateContentServerContent',
635 as ArrayRef[BidiGenerateContentServerContent()];
636  
637 coerce 'RepeatedBidiGenerateContentServerContent',
638 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::BidiGenerateContentServerContent'->new($_) } @$_ ] };
639  
640 declare 'MapStringBidiGenerateContentServerContent',
641 as HashRef[BidiGenerateContentServerContent()];
642  
643 declare 'BidiGenerateContentToolCall',
644 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::BidiGenerateContentToolCall'];
645  
646 coerce 'BidiGenerateContentToolCall',
647 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::BidiGenerateContentToolCall'->new($_) };
648  
649 declare 'RepeatedBidiGenerateContentToolCall',
650 as ArrayRef[BidiGenerateContentToolCall()];
651  
652 coerce 'RepeatedBidiGenerateContentToolCall',
653 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::BidiGenerateContentToolCall'->new($_) } @$_ ] };
654  
655 declare 'MapStringBidiGenerateContentToolCall',
656 as HashRef[BidiGenerateContentToolCall()];
657  
658 declare 'BidiGenerateContentToolCallCancellation',
659 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::BidiGenerateContentToolCallCancellation'];
660  
661 coerce 'BidiGenerateContentToolCallCancellation',
662 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::BidiGenerateContentToolCallCancellation'->new($_) };
663  
664 declare 'RepeatedBidiGenerateContentToolCallCancellation',
665 as ArrayRef[BidiGenerateContentToolCallCancellation()];
666  
667 coerce 'RepeatedBidiGenerateContentToolCallCancellation',
668 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::BidiGenerateContentToolCallCancellation'->new($_) } @$_ ] };
669  
670 declare 'MapStringBidiGenerateContentToolCallCancellation',
671 as HashRef[BidiGenerateContentToolCallCancellation()];
672  
673 declare 'BidiGenerateContentServerMessage',
674 as InstanceOf['Google::Ai::Generativelanguage::V1alpha::GenerativeService::BidiGenerateContentServerMessage'];
675  
676 coerce 'BidiGenerateContentServerMessage',
677 from HashRef, via { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::BidiGenerateContentServerMessage'->new($_) };
678  
679 declare 'RepeatedBidiGenerateContentServerMessage',
680 as ArrayRef[BidiGenerateContentServerMessage()];
681  
682 coerce 'RepeatedBidiGenerateContentServerMessage',
683 from ArrayRef[HashRef], via { [ map { 'Google::Ai::Generativelanguage::V1alpha::GenerativeService::BidiGenerateContentServerMessage'->new($_) } @$_ ] };
684  
685 declare 'MapStringBidiGenerateContentServerMessage',
686 as HashRef[BidiGenerateContentServerMessage()];
687  
688 1;
689  
690 __END__