V1alpha/SearchService/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::Discoveryengine::V1alpha::SearchService::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 'SearchRequest',
11 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest'];
12  
13 coerce 'SearchRequest',
14 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest'->new($_) };
15  
16 declare 'RepeatedSearchRequest',
17 as ArrayRef[SearchRequest()];
18  
19 coerce 'RepeatedSearchRequest',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest'->new($_) } @$_ ] };
21  
22 declare 'MapStringSearchRequest',
23 as HashRef[SearchRequest()];
24  
25 declare 'RelevanceThreshold',
26 as (Int | Str);
27  
28 declare 'RankingExpressionBackend',
29 as (Int | Str);
30  
31 declare 'ImageQuery',
32 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::ImageQuery'];
33  
34 coerce 'ImageQuery',
35 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::ImageQuery'->new($_) };
36  
37 declare 'RepeatedImageQuery',
38 as ArrayRef[ImageQuery()];
39  
40 coerce 'RepeatedImageQuery',
41 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::ImageQuery'->new($_) } @$_ ] };
42  
43 declare 'MapStringImageQuery',
44 as HashRef[ImageQuery()];
45  
46 declare 'DataStoreSpec',
47 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::DataStoreSpec'];
48  
49 coerce 'DataStoreSpec',
50 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::DataStoreSpec'->new($_) };
51  
52 declare 'RepeatedDataStoreSpec',
53 as ArrayRef[DataStoreSpec()];
54  
55 coerce 'RepeatedDataStoreSpec',
56 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::DataStoreSpec'->new($_) } @$_ ] };
57  
58 declare 'MapStringDataStoreSpec',
59 as HashRef[DataStoreSpec()];
60  
61 declare 'FacetSpec',
62 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::FacetSpec'];
63  
64 coerce 'FacetSpec',
65 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::FacetSpec'->new($_) };
66  
67 declare 'RepeatedFacetSpec',
68 as ArrayRef[FacetSpec()];
69  
70 coerce 'RepeatedFacetSpec',
71 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::FacetSpec'->new($_) } @$_ ] };
72  
73 declare 'MapStringFacetSpec',
74 as HashRef[FacetSpec()];
75  
76 declare 'FacetKey',
77 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::FacetSpec::FacetKey'];
78  
79 coerce 'FacetKey',
80 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::FacetSpec::FacetKey'->new($_) };
81  
82 declare 'RepeatedFacetKey',
83 as ArrayRef[FacetKey()];
84  
85 coerce 'RepeatedFacetKey',
86 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::FacetSpec::FacetKey'->new($_) } @$_ ] };
87  
88 declare 'MapStringFacetKey',
89 as HashRef[FacetKey()];
90  
91 declare 'BoostSpec',
92 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::BoostSpec'];
93  
94 coerce 'BoostSpec',
95 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::BoostSpec'->new($_) };
96  
97 declare 'RepeatedBoostSpec',
98 as ArrayRef[BoostSpec()];
99  
100 coerce 'RepeatedBoostSpec',
101 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::BoostSpec'->new($_) } @$_ ] };
102  
103 declare 'MapStringBoostSpec',
104 as HashRef[BoostSpec()];
105  
106 declare 'ConditionBoostSpec',
107 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::BoostSpec::ConditionBoostSpec'];
108  
109 coerce 'ConditionBoostSpec',
110 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::BoostSpec::ConditionBoostSpec'->new($_) };
111  
112 declare 'RepeatedConditionBoostSpec',
113 as ArrayRef[ConditionBoostSpec()];
114  
115 coerce 'RepeatedConditionBoostSpec',
116 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::BoostSpec::ConditionBoostSpec'->new($_) } @$_ ] };
117  
118 declare 'MapStringConditionBoostSpec',
119 as HashRef[ConditionBoostSpec()];
120  
121 declare 'BoostControlSpec',
122 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::BoostSpec::ConditionBoostSpec::BoostControlSpec'];
123  
124 coerce 'BoostControlSpec',
125 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::BoostSpec::ConditionBoostSpec::BoostControlSpec'->new($_) };
126  
127 declare 'RepeatedBoostControlSpec',
128 as ArrayRef[BoostControlSpec()];
129  
130 coerce 'RepeatedBoostControlSpec',
131 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::BoostSpec::ConditionBoostSpec::BoostControlSpec'->new($_) } @$_ ] };
132  
133 declare 'MapStringBoostControlSpec',
134 as HashRef[BoostControlSpec()];
135  
136 declare 'AttributeType',
137 as (Int | Str);
138  
139 declare 'InterpolationType',
140 as (Int | Str);
141  
142 declare 'ControlPoint',
143 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::BoostSpec::ConditionBoostSpec::BoostControlSpec::ControlPoint'];
144  
145 coerce 'ControlPoint',
146 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::BoostSpec::ConditionBoostSpec::BoostControlSpec::ControlPoint'->new($_) };
147  
148 declare 'RepeatedControlPoint',
149 as ArrayRef[ControlPoint()];
150  
151 coerce 'RepeatedControlPoint',
152 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::BoostSpec::ConditionBoostSpec::BoostControlSpec::ControlPoint'->new($_) } @$_ ] };
153  
154 declare 'MapStringControlPoint',
155 as HashRef[ControlPoint()];
156  
157 declare 'QueryExpansionSpec',
158 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::QueryExpansionSpec'];
159  
160 coerce 'QueryExpansionSpec',
161 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::QueryExpansionSpec'->new($_) };
162  
163 declare 'RepeatedQueryExpansionSpec',
164 as ArrayRef[QueryExpansionSpec()];
165  
166 coerce 'RepeatedQueryExpansionSpec',
167 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::QueryExpansionSpec'->new($_) } @$_ ] };
168  
169 declare 'MapStringQueryExpansionSpec',
170 as HashRef[QueryExpansionSpec()];
171  
172 declare 'Condition',
173 as (Int | Str);
174  
175 declare 'SpellCorrectionSpec',
176 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::SpellCorrectionSpec'];
177  
178 coerce 'SpellCorrectionSpec',
179 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::SpellCorrectionSpec'->new($_) };
180  
181 declare 'RepeatedSpellCorrectionSpec',
182 as ArrayRef[SpellCorrectionSpec()];
183  
184 coerce 'RepeatedSpellCorrectionSpec',
185 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::SpellCorrectionSpec'->new($_) } @$_ ] };
186  
187 declare 'MapStringSpellCorrectionSpec',
188 as HashRef[SpellCorrectionSpec()];
189  
190 declare 'Mode',
191 as (Int | Str);
192  
193 declare 'ContentSearchSpec',
194 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::ContentSearchSpec'];
195  
196 coerce 'ContentSearchSpec',
197 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::ContentSearchSpec'->new($_) };
198  
199 declare 'RepeatedContentSearchSpec',
200 as ArrayRef[ContentSearchSpec()];
201  
202 coerce 'RepeatedContentSearchSpec',
203 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::ContentSearchSpec'->new($_) } @$_ ] };
204  
205 declare 'MapStringContentSearchSpec',
206 as HashRef[ContentSearchSpec()];
207  
208 declare 'SearchResultMode',
209 as (Int | Str);
210  
211 declare 'SnippetSpec',
212 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::ContentSearchSpec::SnippetSpec'];
213  
214 coerce 'SnippetSpec',
215 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::ContentSearchSpec::SnippetSpec'->new($_) };
216  
217 declare 'RepeatedSnippetSpec',
218 as ArrayRef[SnippetSpec()];
219  
220 coerce 'RepeatedSnippetSpec',
221 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::ContentSearchSpec::SnippetSpec'->new($_) } @$_ ] };
222  
223 declare 'MapStringSnippetSpec',
224 as HashRef[SnippetSpec()];
225  
226 declare 'SummarySpec',
227 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::ContentSearchSpec::SummarySpec'];
228  
229 coerce 'SummarySpec',
230 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::ContentSearchSpec::SummarySpec'->new($_) };
231  
232 declare 'RepeatedSummarySpec',
233 as ArrayRef[SummarySpec()];
234  
235 coerce 'RepeatedSummarySpec',
236 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::ContentSearchSpec::SummarySpec'->new($_) } @$_ ] };
237  
238 declare 'MapStringSummarySpec',
239 as HashRef[SummarySpec()];
240  
241 declare 'ModelPromptSpec',
242 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::ContentSearchSpec::SummarySpec::ModelPromptSpec'];
243  
244 coerce 'ModelPromptSpec',
245 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::ContentSearchSpec::SummarySpec::ModelPromptSpec'->new($_) };
246  
247 declare 'RepeatedModelPromptSpec',
248 as ArrayRef[ModelPromptSpec()];
249  
250 coerce 'RepeatedModelPromptSpec',
251 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::ContentSearchSpec::SummarySpec::ModelPromptSpec'->new($_) } @$_ ] };
252  
253 declare 'MapStringModelPromptSpec',
254 as HashRef[ModelPromptSpec()];
255  
256 declare 'ModelSpec',
257 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::ContentSearchSpec::SummarySpec::ModelSpec'];
258  
259 coerce 'ModelSpec',
260 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::ContentSearchSpec::SummarySpec::ModelSpec'->new($_) };
261  
262 declare 'RepeatedModelSpec',
263 as ArrayRef[ModelSpec()];
264  
265 coerce 'RepeatedModelSpec',
266 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::ContentSearchSpec::SummarySpec::ModelSpec'->new($_) } @$_ ] };
267  
268 declare 'MapStringModelSpec',
269 as HashRef[ModelSpec()];
270  
271 declare 'ExtractiveContentSpec',
272 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::ContentSearchSpec::ExtractiveContentSpec'];
273  
274 coerce 'ExtractiveContentSpec',
275 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::ContentSearchSpec::ExtractiveContentSpec'->new($_) };
276  
277 declare 'RepeatedExtractiveContentSpec',
278 as ArrayRef[ExtractiveContentSpec()];
279  
280 coerce 'RepeatedExtractiveContentSpec',
281 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::ContentSearchSpec::ExtractiveContentSpec'->new($_) } @$_ ] };
282  
283 declare 'MapStringExtractiveContentSpec',
284 as HashRef[ExtractiveContentSpec()];
285  
286 declare 'ChunkSpec',
287 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::ContentSearchSpec::ChunkSpec'];
288  
289 coerce 'ChunkSpec',
290 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::ContentSearchSpec::ChunkSpec'->new($_) };
291  
292 declare 'RepeatedChunkSpec',
293 as ArrayRef[ChunkSpec()];
294  
295 coerce 'RepeatedChunkSpec',
296 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::ContentSearchSpec::ChunkSpec'->new($_) } @$_ ] };
297  
298 declare 'MapStringChunkSpec',
299 as HashRef[ChunkSpec()];
300  
301 declare 'EmbeddingSpec',
302 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::EmbeddingSpec'];
303  
304 coerce 'EmbeddingSpec',
305 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::EmbeddingSpec'->new($_) };
306  
307 declare 'RepeatedEmbeddingSpec',
308 as ArrayRef[EmbeddingSpec()];
309  
310 coerce 'RepeatedEmbeddingSpec',
311 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::EmbeddingSpec'->new($_) } @$_ ] };
312  
313 declare 'MapStringEmbeddingSpec',
314 as HashRef[EmbeddingSpec()];
315  
316 declare 'EmbeddingVector',
317 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::EmbeddingSpec::EmbeddingVector'];
318  
319 coerce 'EmbeddingVector',
320 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::EmbeddingSpec::EmbeddingVector'->new($_) };
321  
322 declare 'RepeatedEmbeddingVector',
323 as ArrayRef[EmbeddingVector()];
324  
325 coerce 'RepeatedEmbeddingVector',
326 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::EmbeddingSpec::EmbeddingVector'->new($_) } @$_ ] };
327  
328 declare 'MapStringEmbeddingVector',
329 as HashRef[EmbeddingVector()];
330  
331 declare 'NaturalLanguageQueryUnderstandingSpec',
332 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::NaturalLanguageQueryUnderstandingSpec'];
333  
334 coerce 'NaturalLanguageQueryUnderstandingSpec',
335 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::NaturalLanguageQueryUnderstandingSpec'->new($_) };
336  
337 declare 'RepeatedNaturalLanguageQueryUnderstandingSpec',
338 as ArrayRef[NaturalLanguageQueryUnderstandingSpec()];
339  
340 coerce 'RepeatedNaturalLanguageQueryUnderstandingSpec',
341 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::NaturalLanguageQueryUnderstandingSpec'->new($_) } @$_ ] };
342  
343 declare 'MapStringNaturalLanguageQueryUnderstandingSpec',
344 as HashRef[NaturalLanguageQueryUnderstandingSpec()];
345  
346 declare 'FilterExtractionCondition',
347 as (Int | Str);
348  
349 declare 'SearchAsYouTypeSpec',
350 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::SearchAsYouTypeSpec'];
351  
352 coerce 'SearchAsYouTypeSpec',
353 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::SearchAsYouTypeSpec'->new($_) };
354  
355 declare 'RepeatedSearchAsYouTypeSpec',
356 as ArrayRef[SearchAsYouTypeSpec()];
357  
358 coerce 'RepeatedSearchAsYouTypeSpec',
359 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::SearchAsYouTypeSpec'->new($_) } @$_ ] };
360  
361 declare 'MapStringSearchAsYouTypeSpec',
362 as HashRef[SearchAsYouTypeSpec()];
363  
364 declare 'Condition',
365 as (Int | Str);
366  
367 declare 'SessionSpec',
368 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::SessionSpec'];
369  
370 coerce 'SessionSpec',
371 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::SessionSpec'->new($_) };
372  
373 declare 'RepeatedSessionSpec',
374 as ArrayRef[SessionSpec()];
375  
376 coerce 'RepeatedSessionSpec',
377 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::SessionSpec'->new($_) } @$_ ] };
378  
379 declare 'MapStringSessionSpec',
380 as HashRef[SessionSpec()];
381  
382 declare 'ParamsEntry',
383 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::ParamsEntry'];
384  
385 coerce 'ParamsEntry',
386 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::ParamsEntry'->new($_) };
387  
388 declare 'RepeatedParamsEntry',
389 as ArrayRef[ParamsEntry()];
390  
391 coerce 'RepeatedParamsEntry',
392 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::ParamsEntry'->new($_) } @$_ ] };
393  
394 declare 'MapStringParamsEntry',
395 as HashRef[ParamsEntry()];
396  
397 declare 'UserLabelsEntry',
398 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::UserLabelsEntry'];
399  
400 coerce 'UserLabelsEntry',
401 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::UserLabelsEntry'->new($_) };
402  
403 declare 'RepeatedUserLabelsEntry',
404 as ArrayRef[UserLabelsEntry()];
405  
406 coerce 'RepeatedUserLabelsEntry',
407 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchRequest::UserLabelsEntry'->new($_) } @$_ ] };
408  
409 declare 'MapStringUserLabelsEntry',
410 as HashRef[UserLabelsEntry()];
411  
412 declare 'SearchResponse',
413 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse'];
414  
415 coerce 'SearchResponse',
416 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse'->new($_) };
417  
418 declare 'RepeatedSearchResponse',
419 as ArrayRef[SearchResponse()];
420  
421 coerce 'RepeatedSearchResponse',
422 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse'->new($_) } @$_ ] };
423  
424 declare 'MapStringSearchResponse',
425 as HashRef[SearchResponse()];
426  
427 declare 'SearchResult',
428 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::SearchResult'];
429  
430 coerce 'SearchResult',
431 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::SearchResult'->new($_) };
432  
433 declare 'RepeatedSearchResult',
434 as ArrayRef[SearchResult()];
435  
436 coerce 'RepeatedSearchResult',
437 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::SearchResult'->new($_) } @$_ ] };
438  
439 declare 'MapStringSearchResult',
440 as HashRef[SearchResult()];
441  
442 declare 'ModelScoresEntry',
443 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::SearchResult::ModelScoresEntry'];
444  
445 coerce 'ModelScoresEntry',
446 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::SearchResult::ModelScoresEntry'->new($_) };
447  
448 declare 'RepeatedModelScoresEntry',
449 as ArrayRef[ModelScoresEntry()];
450  
451 coerce 'RepeatedModelScoresEntry',
452 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::SearchResult::ModelScoresEntry'->new($_) } @$_ ] };
453  
454 declare 'MapStringModelScoresEntry',
455 as HashRef[ModelScoresEntry()];
456  
457 declare 'RankSignals',
458 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::SearchResult::RankSignals'];
459  
460 coerce 'RankSignals',
461 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::SearchResult::RankSignals'->new($_) };
462  
463 declare 'RepeatedRankSignals',
464 as ArrayRef[RankSignals()];
465  
466 coerce 'RepeatedRankSignals',
467 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::SearchResult::RankSignals'->new($_) } @$_ ] };
468  
469 declare 'MapStringRankSignals',
470 as HashRef[RankSignals()];
471  
472 declare 'CustomSignal',
473 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::SearchResult::RankSignals::CustomSignal'];
474  
475 coerce 'CustomSignal',
476 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::SearchResult::RankSignals::CustomSignal'->new($_) };
477  
478 declare 'RepeatedCustomSignal',
479 as ArrayRef[CustomSignal()];
480  
481 coerce 'RepeatedCustomSignal',
482 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::SearchResult::RankSignals::CustomSignal'->new($_) } @$_ ] };
483  
484 declare 'MapStringCustomSignal',
485 as HashRef[CustomSignal()];
486  
487 declare 'Facet',
488 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::Facet'];
489  
490 coerce 'Facet',
491 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::Facet'->new($_) };
492  
493 declare 'RepeatedFacet',
494 as ArrayRef[Facet()];
495  
496 coerce 'RepeatedFacet',
497 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::Facet'->new($_) } @$_ ] };
498  
499 declare 'MapStringFacet',
500 as HashRef[Facet()];
501  
502 declare 'FacetValue',
503 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::Facet::FacetValue'];
504  
505 coerce 'FacetValue',
506 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::Facet::FacetValue'->new($_) };
507  
508 declare 'RepeatedFacetValue',
509 as ArrayRef[FacetValue()];
510  
511 coerce 'RepeatedFacetValue',
512 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::Facet::FacetValue'->new($_) } @$_ ] };
513  
514 declare 'MapStringFacetValue',
515 as HashRef[FacetValue()];
516  
517 declare 'GuidedSearchResult',
518 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::GuidedSearchResult'];
519  
520 coerce 'GuidedSearchResult',
521 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::GuidedSearchResult'->new($_) };
522  
523 declare 'RepeatedGuidedSearchResult',
524 as ArrayRef[GuidedSearchResult()];
525  
526 coerce 'RepeatedGuidedSearchResult',
527 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::GuidedSearchResult'->new($_) } @$_ ] };
528  
529 declare 'MapStringGuidedSearchResult',
530 as HashRef[GuidedSearchResult()];
531  
532 declare 'RefinementAttribute',
533 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::GuidedSearchResult::RefinementAttribute'];
534  
535 coerce 'RefinementAttribute',
536 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::GuidedSearchResult::RefinementAttribute'->new($_) };
537  
538 declare 'RepeatedRefinementAttribute',
539 as ArrayRef[RefinementAttribute()];
540  
541 coerce 'RepeatedRefinementAttribute',
542 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::GuidedSearchResult::RefinementAttribute'->new($_) } @$_ ] };
543  
544 declare 'MapStringRefinementAttribute',
545 as HashRef[RefinementAttribute()];
546  
547 declare 'Summary',
548 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::Summary'];
549  
550 coerce 'Summary',
551 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::Summary'->new($_) };
552  
553 declare 'RepeatedSummary',
554 as ArrayRef[Summary()];
555  
556 coerce 'RepeatedSummary',
557 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::Summary'->new($_) } @$_ ] };
558  
559 declare 'MapStringSummary',
560 as HashRef[Summary()];
561  
562 declare 'SummarySkippedReason',
563 as (Int | Str);
564  
565 declare 'SafetyAttributes',
566 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::Summary::SafetyAttributes'];
567  
568 coerce 'SafetyAttributes',
569 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::Summary::SafetyAttributes'->new($_) };
570  
571 declare 'RepeatedSafetyAttributes',
572 as ArrayRef[SafetyAttributes()];
573  
574 coerce 'RepeatedSafetyAttributes',
575 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::Summary::SafetyAttributes'->new($_) } @$_ ] };
576  
577 declare 'MapStringSafetyAttributes',
578 as HashRef[SafetyAttributes()];
579  
580 declare 'CitationMetadata',
581 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::Summary::CitationMetadata'];
582  
583 coerce 'CitationMetadata',
584 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::Summary::CitationMetadata'->new($_) };
585  
586 declare 'RepeatedCitationMetadata',
587 as ArrayRef[CitationMetadata()];
588  
589 coerce 'RepeatedCitationMetadata',
590 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::Summary::CitationMetadata'->new($_) } @$_ ] };
591  
592 declare 'MapStringCitationMetadata',
593 as HashRef[CitationMetadata()];
594  
595 declare 'Citation',
596 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::Summary::Citation'];
597  
598 coerce 'Citation',
599 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::Summary::Citation'->new($_) };
600  
601 declare 'RepeatedCitation',
602 as ArrayRef[Citation()];
603  
604 coerce 'RepeatedCitation',
605 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::Summary::Citation'->new($_) } @$_ ] };
606  
607 declare 'MapStringCitation',
608 as HashRef[Citation()];
609  
610 declare 'CitationSource',
611 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::Summary::CitationSource'];
612  
613 coerce 'CitationSource',
614 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::Summary::CitationSource'->new($_) };
615  
616 declare 'RepeatedCitationSource',
617 as ArrayRef[CitationSource()];
618  
619 coerce 'RepeatedCitationSource',
620 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::Summary::CitationSource'->new($_) } @$_ ] };
621  
622 declare 'MapStringCitationSource',
623 as HashRef[CitationSource()];
624  
625 declare 'Reference',
626 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::Summary::Reference'];
627  
628 coerce 'Reference',
629 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::Summary::Reference'->new($_) };
630  
631 declare 'RepeatedReference',
632 as ArrayRef[Reference()];
633  
634 coerce 'RepeatedReference',
635 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::Summary::Reference'->new($_) } @$_ ] };
636  
637 declare 'MapStringReference',
638 as HashRef[Reference()];
639  
640 declare 'ChunkContent',
641 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::Summary::Reference::ChunkContent'];
642  
643 coerce 'ChunkContent',
644 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::Summary::Reference::ChunkContent'->new($_) };
645  
646 declare 'RepeatedChunkContent',
647 as ArrayRef[ChunkContent()];
648  
649 coerce 'RepeatedChunkContent',
650 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::Summary::Reference::ChunkContent'->new($_) } @$_ ] };
651  
652 declare 'MapStringChunkContent',
653 as HashRef[ChunkContent()];
654  
655 declare 'SummaryWithMetadata',
656 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::Summary::SummaryWithMetadata'];
657  
658 coerce 'SummaryWithMetadata',
659 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::Summary::SummaryWithMetadata'->new($_) };
660  
661 declare 'RepeatedSummaryWithMetadata',
662 as ArrayRef[SummaryWithMetadata()];
663  
664 coerce 'RepeatedSummaryWithMetadata',
665 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::Summary::SummaryWithMetadata'->new($_) } @$_ ] };
666  
667 declare 'MapStringSummaryWithMetadata',
668 as HashRef[SummaryWithMetadata()];
669  
670 declare 'GeoSearchDebugInfo',
671 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::GeoSearchDebugInfo'];
672  
673 coerce 'GeoSearchDebugInfo',
674 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::GeoSearchDebugInfo'->new($_) };
675  
676 declare 'RepeatedGeoSearchDebugInfo',
677 as ArrayRef[GeoSearchDebugInfo()];
678  
679 coerce 'RepeatedGeoSearchDebugInfo',
680 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::GeoSearchDebugInfo'->new($_) } @$_ ] };
681  
682 declare 'MapStringGeoSearchDebugInfo',
683 as HashRef[GeoSearchDebugInfo()];
684  
685 declare 'QueryExpansionInfo',
686 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::QueryExpansionInfo'];
687  
688 coerce 'QueryExpansionInfo',
689 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::QueryExpansionInfo'->new($_) };
690  
691 declare 'RepeatedQueryExpansionInfo',
692 as ArrayRef[QueryExpansionInfo()];
693  
694 coerce 'RepeatedQueryExpansionInfo',
695 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::QueryExpansionInfo'->new($_) } @$_ ] };
696  
697 declare 'MapStringQueryExpansionInfo',
698 as HashRef[QueryExpansionInfo()];
699  
700 declare 'NaturalLanguageQueryUnderstandingInfo',
701 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::NaturalLanguageQueryUnderstandingInfo'];
702  
703 coerce 'NaturalLanguageQueryUnderstandingInfo',
704 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::NaturalLanguageQueryUnderstandingInfo'->new($_) };
705  
706 declare 'RepeatedNaturalLanguageQueryUnderstandingInfo',
707 as ArrayRef[NaturalLanguageQueryUnderstandingInfo()];
708  
709 coerce 'RepeatedNaturalLanguageQueryUnderstandingInfo',
710 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::NaturalLanguageQueryUnderstandingInfo'->new($_) } @$_ ] };
711  
712 declare 'MapStringNaturalLanguageQueryUnderstandingInfo',
713 as HashRef[NaturalLanguageQueryUnderstandingInfo()];
714  
715 declare 'StructuredExtractedFilter',
716 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter'];
717  
718 coerce 'StructuredExtractedFilter',
719 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter'->new($_) };
720  
721 declare 'RepeatedStructuredExtractedFilter',
722 as ArrayRef[StructuredExtractedFilter()];
723  
724 coerce 'RepeatedStructuredExtractedFilter',
725 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter'->new($_) } @$_ ] };
726  
727 declare 'MapStringStructuredExtractedFilter',
728 as HashRef[StructuredExtractedFilter()];
729  
730 declare 'StringConstraint',
731 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::StringConstraint'];
732  
733 coerce 'StringConstraint',
734 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::StringConstraint'->new($_) };
735  
736 declare 'RepeatedStringConstraint',
737 as ArrayRef[StringConstraint()];
738  
739 coerce 'RepeatedStringConstraint',
740 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::StringConstraint'->new($_) } @$_ ] };
741  
742 declare 'MapStringStringConstraint',
743 as HashRef[StringConstraint()];
744  
745 declare 'NumberConstraint',
746 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::NumberConstraint'];
747  
748 coerce 'NumberConstraint',
749 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::NumberConstraint'->new($_) };
750  
751 declare 'RepeatedNumberConstraint',
752 as ArrayRef[NumberConstraint()];
753  
754 coerce 'RepeatedNumberConstraint',
755 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::NumberConstraint'->new($_) } @$_ ] };
756  
757 declare 'MapStringNumberConstraint',
758 as HashRef[NumberConstraint()];
759  
760 declare 'Comparison',
761 as (Int | Str);
762  
763 declare 'GeolocationConstraint',
764 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::GeolocationConstraint'];
765  
766 coerce 'GeolocationConstraint',
767 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::GeolocationConstraint'->new($_) };
768  
769 declare 'RepeatedGeolocationConstraint',
770 as ArrayRef[GeolocationConstraint()];
771  
772 coerce 'RepeatedGeolocationConstraint',
773 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::GeolocationConstraint'->new($_) } @$_ ] };
774  
775 declare 'MapStringGeolocationConstraint',
776 as HashRef[GeolocationConstraint()];
777  
778 declare 'AndExpression',
779 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::AndExpression'];
780  
781 coerce 'AndExpression',
782 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::AndExpression'->new($_) };
783  
784 declare 'RepeatedAndExpression',
785 as ArrayRef[AndExpression()];
786  
787 coerce 'RepeatedAndExpression',
788 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::AndExpression'->new($_) } @$_ ] };
789  
790 declare 'MapStringAndExpression',
791 as HashRef[AndExpression()];
792  
793 declare 'OrExpression',
794 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::OrExpression'];
795  
796 coerce 'OrExpression',
797 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::OrExpression'->new($_) };
798  
799 declare 'RepeatedOrExpression',
800 as ArrayRef[OrExpression()];
801  
802 coerce 'RepeatedOrExpression',
803 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::OrExpression'->new($_) } @$_ ] };
804  
805 declare 'MapStringOrExpression',
806 as HashRef[OrExpression()];
807  
808 declare 'Expression',
809 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::Expression'];
810  
811 coerce 'Expression',
812 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::Expression'->new($_) };
813  
814 declare 'RepeatedExpression',
815 as ArrayRef[Expression()];
816  
817 coerce 'RepeatedExpression',
818 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::Expression'->new($_) } @$_ ] };
819  
820 declare 'MapStringExpression',
821 as HashRef[Expression()];
822  
823 declare 'SessionInfo',
824 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::SessionInfo'];
825  
826 coerce 'SessionInfo',
827 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::SessionInfo'->new($_) };
828  
829 declare 'RepeatedSessionInfo',
830 as ArrayRef[SessionInfo()];
831  
832 coerce 'RepeatedSessionInfo',
833 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::SessionInfo'->new($_) } @$_ ] };
834  
835 declare 'MapStringSessionInfo',
836 as HashRef[SessionInfo()];
837  
838 declare 'OneBoxResult',
839 as InstanceOf['Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::OneBoxResult'];
840  
841 coerce 'OneBoxResult',
842 from HashRef, via { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::OneBoxResult'->new($_) };
843  
844 declare 'RepeatedOneBoxResult',
845 as ArrayRef[OneBoxResult()];
846  
847 coerce 'RepeatedOneBoxResult',
848 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1alpha::SearchService::SearchResponse::OneBoxResult'->new($_) } @$_ ] };
849  
850 declare 'MapStringOneBoxResult',
851 as HashRef[OneBoxResult()];
852  
853 declare 'OneBoxType',
854 as (Int | Str);
855  
856 1;
857  
858 __END__