V1alpha/Context/Types.pm untested

filter: Statementstmt 0.0% 0 / 369 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 374 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::Geminidataanalytics::V1alpha::Context::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 'Context',
11 as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Context::Context'];
12  
13 coerce 'Context',
14 from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::Context'->new($_) };
15  
16 declare 'RepeatedContext',
17 as ArrayRef[Context()];
18  
19 coerce 'RepeatedContext',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::Context'->new($_) } @$_ ] };
21  
22 declare 'MapStringContext',
23 as HashRef[Context()];
24  
25 declare 'SchemaRelationship',
26 as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Context::Context::SchemaRelationship'];
27  
28 coerce 'SchemaRelationship',
29 from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::Context::SchemaRelationship'->new($_) };
30  
31 declare 'RepeatedSchemaRelationship',
32 as ArrayRef[SchemaRelationship()];
33  
34 coerce 'RepeatedSchemaRelationship',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::Context::SchemaRelationship'->new($_) } @$_ ] };
36  
37 declare 'MapStringSchemaRelationship',
38 as HashRef[SchemaRelationship()];
39  
40 declare 'Source',
41 as (Int | Str);
42  
43 declare 'SchemaPaths',
44 as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Context::Context::SchemaRelationship::SchemaPaths'];
45  
46 coerce 'SchemaPaths',
47 from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::Context::SchemaRelationship::SchemaPaths'->new($_) };
48  
49 declare 'RepeatedSchemaPaths',
50 as ArrayRef[SchemaPaths()];
51  
52 coerce 'RepeatedSchemaPaths',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::Context::SchemaRelationship::SchemaPaths'->new($_) } @$_ ] };
54  
55 declare 'MapStringSchemaPaths',
56 as HashRef[SchemaPaths()];
57  
58 declare 'UserFunctions',
59 as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Context::UserFunctions'];
60  
61 coerce 'UserFunctions',
62 from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::UserFunctions'->new($_) };
63  
64 declare 'RepeatedUserFunctions',
65 as ArrayRef[UserFunctions()];
66  
67 coerce 'RepeatedUserFunctions',
68 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::UserFunctions'->new($_) } @$_ ] };
69  
70 declare 'MapStringUserFunctions',
71 as HashRef[UserFunctions()];
72  
73 declare 'BigQueryRoutine',
74 as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Context::BigQueryRoutine'];
75  
76 coerce 'BigQueryRoutine',
77 from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::BigQueryRoutine'->new($_) };
78  
79 declare 'RepeatedBigQueryRoutine',
80 as ArrayRef[BigQueryRoutine()];
81  
82 coerce 'RepeatedBigQueryRoutine',
83 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::BigQueryRoutine'->new($_) } @$_ ] };
84  
85 declare 'MapStringBigQueryRoutine',
86 as HashRef[BigQueryRoutine()];
87  
88 declare 'BigQueryRoutineReference',
89 as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Context::BigQueryRoutineReference'];
90  
91 coerce 'BigQueryRoutineReference',
92 from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::BigQueryRoutineReference'->new($_) };
93  
94 declare 'RepeatedBigQueryRoutineReference',
95 as ArrayRef[BigQueryRoutineReference()];
96  
97 coerce 'RepeatedBigQueryRoutineReference',
98 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::BigQueryRoutineReference'->new($_) } @$_ ] };
99  
100 declare 'MapStringBigQueryRoutineReference',
101 as HashRef[BigQueryRoutineReference()];
102  
103 declare 'ExampleQuery',
104 as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Context::ExampleQuery'];
105  
106 coerce 'ExampleQuery',
107 from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::ExampleQuery'->new($_) };
108  
109 declare 'RepeatedExampleQuery',
110 as ArrayRef[ExampleQuery()];
111  
112 coerce 'RepeatedExampleQuery',
113 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::ExampleQuery'->new($_) } @$_ ] };
114  
115 declare 'MapStringExampleQuery',
116 as HashRef[ExampleQuery()];
117  
118 declare 'QueryParameter',
119 as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Context::QueryParameter'];
120  
121 coerce 'QueryParameter',
122 from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::QueryParameter'->new($_) };
123  
124 declare 'RepeatedQueryParameter',
125 as ArrayRef[QueryParameter()];
126  
127 coerce 'RepeatedQueryParameter',
128 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::QueryParameter'->new($_) } @$_ ] };
129  
130 declare 'MapStringQueryParameter',
131 as HashRef[QueryParameter()];
132  
133 declare 'MatchedQuery',
134 as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Context::MatchedQuery'];
135  
136 coerce 'MatchedQuery',
137 from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::MatchedQuery'->new($_) };
138  
139 declare 'RepeatedMatchedQuery',
140 as ArrayRef[MatchedQuery()];
141  
142 coerce 'RepeatedMatchedQuery',
143 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::MatchedQuery'->new($_) } @$_ ] };
144  
145 declare 'MapStringMatchedQuery',
146 as HashRef[MatchedQuery()];
147  
148 declare 'QueryParameterValues',
149 as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Context::QueryParameterValues'];
150  
151 coerce 'QueryParameterValues',
152 from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::QueryParameterValues'->new($_) };
153  
154 declare 'RepeatedQueryParameterValues',
155 as ArrayRef[QueryParameterValues()];
156  
157 coerce 'RepeatedQueryParameterValues',
158 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::QueryParameterValues'->new($_) } @$_ ] };
159  
160 declare 'MapStringQueryParameterValues',
161 as HashRef[QueryParameterValues()];
162  
163 declare 'LookerGoldenQuery',
164 as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Context::LookerGoldenQuery'];
165  
166 coerce 'LookerGoldenQuery',
167 from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::LookerGoldenQuery'->new($_) };
168  
169 declare 'RepeatedLookerGoldenQuery',
170 as ArrayRef[LookerGoldenQuery()];
171  
172 coerce 'RepeatedLookerGoldenQuery',
173 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::LookerGoldenQuery'->new($_) } @$_ ] };
174  
175 declare 'MapStringLookerGoldenQuery',
176 as HashRef[LookerGoldenQuery()];
177  
178 declare 'DynamicField',
179 as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Context::DynamicField'];
180  
181 coerce 'DynamicField',
182 from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::DynamicField'->new($_) };
183  
184 declare 'RepeatedDynamicField',
185 as ArrayRef[DynamicField()];
186  
187 coerce 'RepeatedDynamicField',
188 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::DynamicField'->new($_) } @$_ ] };
189  
190 declare 'MapStringDynamicField',
191 as HashRef[DynamicField()];
192  
193 declare 'LookerQuery',
194 as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Context::LookerQuery'];
195  
196 coerce 'LookerQuery',
197 from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::LookerQuery'->new($_) };
198  
199 declare 'RepeatedLookerQuery',
200 as ArrayRef[LookerQuery()];
201  
202 coerce 'RepeatedLookerQuery',
203 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::LookerQuery'->new($_) } @$_ ] };
204  
205 declare 'MapStringLookerQuery',
206 as HashRef[LookerQuery()];
207  
208 declare 'Filter',
209 as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Context::LookerQuery::Filter'];
210  
211 coerce 'Filter',
212 from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::LookerQuery::Filter'->new($_) };
213  
214 declare 'RepeatedFilter',
215 as ArrayRef[Filter()];
216  
217 coerce 'RepeatedFilter',
218 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::LookerQuery::Filter'->new($_) } @$_ ] };
219  
220 declare 'MapStringFilter',
221 as HashRef[Filter()];
222  
223 declare 'GlossaryTerm',
224 as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Context::GlossaryTerm'];
225  
226 coerce 'GlossaryTerm',
227 from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::GlossaryTerm'->new($_) };
228  
229 declare 'RepeatedGlossaryTerm',
230 as ArrayRef[GlossaryTerm()];
231  
232 coerce 'RepeatedGlossaryTerm',
233 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::GlossaryTerm'->new($_) } @$_ ] };
234  
235 declare 'MapStringGlossaryTerm',
236 as HashRef[GlossaryTerm()];
237  
238 declare 'ConversationOptions',
239 as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Context::ConversationOptions'];
240  
241 coerce 'ConversationOptions',
242 from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::ConversationOptions'->new($_) };
243  
244 declare 'RepeatedConversationOptions',
245 as ArrayRef[ConversationOptions()];
246  
247 coerce 'RepeatedConversationOptions',
248 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::ConversationOptions'->new($_) } @$_ ] };
249  
250 declare 'MapStringConversationOptions',
251 as HashRef[ConversationOptions()];
252  
253 declare 'Model',
254 as (Int | Str);
255  
256 declare 'DatasourceOptions',
257 as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Context::DatasourceOptions'];
258  
259 coerce 'DatasourceOptions',
260 from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::DatasourceOptions'->new($_) };
261  
262 declare 'RepeatedDatasourceOptions',
263 as ArrayRef[DatasourceOptions()];
264  
265 coerce 'RepeatedDatasourceOptions',
266 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::DatasourceOptions'->new($_) } @$_ ] };
267  
268 declare 'MapStringDatasourceOptions',
269 as HashRef[DatasourceOptions()];
270  
271 declare 'ChartOptions',
272 as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Context::ChartOptions'];
273  
274 coerce 'ChartOptions',
275 from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::ChartOptions'->new($_) };
276  
277 declare 'RepeatedChartOptions',
278 as ArrayRef[ChartOptions()];
279  
280 coerce 'RepeatedChartOptions',
281 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::ChartOptions'->new($_) } @$_ ] };
282  
283 declare 'MapStringChartOptions',
284 as HashRef[ChartOptions()];
285  
286 declare 'ImageOptions',
287 as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Context::ChartOptions::ImageOptions'];
288  
289 coerce 'ImageOptions',
290 from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::ChartOptions::ImageOptions'->new($_) };
291  
292 declare 'RepeatedImageOptions',
293 as ArrayRef[ImageOptions()];
294  
295 coerce 'RepeatedImageOptions',
296 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::ChartOptions::ImageOptions'->new($_) } @$_ ] };
297  
298 declare 'MapStringImageOptions',
299 as HashRef[ImageOptions()];
300  
301 declare 'NoImage',
302 as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Context::ChartOptions::ImageOptions::NoImage'];
303  
304 coerce 'NoImage',
305 from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::ChartOptions::ImageOptions::NoImage'->new($_) };
306  
307 declare 'RepeatedNoImage',
308 as ArrayRef[NoImage()];
309  
310 coerce 'RepeatedNoImage',
311 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::ChartOptions::ImageOptions::NoImage'->new($_) } @$_ ] };
312  
313 declare 'MapStringNoImage',
314 as HashRef[NoImage()];
315  
316 declare 'SvgOptions',
317 as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Context::ChartOptions::ImageOptions::SvgOptions'];
318  
319 coerce 'SvgOptions',
320 from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::ChartOptions::ImageOptions::SvgOptions'->new($_) };
321  
322 declare 'RepeatedSvgOptions',
323 as ArrayRef[SvgOptions()];
324  
325 coerce 'RepeatedSvgOptions',
326 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::ChartOptions::ImageOptions::SvgOptions'->new($_) } @$_ ] };
327  
328 declare 'MapStringSvgOptions',
329 as HashRef[SvgOptions()];
330  
331 declare 'AnalysisOptions',
332 as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Context::AnalysisOptions'];
333  
334 coerce 'AnalysisOptions',
335 from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::AnalysisOptions'->new($_) };
336  
337 declare 'RepeatedAnalysisOptions',
338 as ArrayRef[AnalysisOptions()];
339  
340 coerce 'RepeatedAnalysisOptions',
341 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::AnalysisOptions'->new($_) } @$_ ] };
342  
343 declare 'MapStringAnalysisOptions',
344 as HashRef[AnalysisOptions()];
345  
346 declare 'Python',
347 as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Context::AnalysisOptions::Python'];
348  
349 coerce 'Python',
350 from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::AnalysisOptions::Python'->new($_) };
351  
352 declare 'RepeatedPython',
353 as ArrayRef[Python()];
354  
355 coerce 'RepeatedPython',
356 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::AnalysisOptions::Python'->new($_) } @$_ ] };
357  
358 declare 'MapStringPython',
359 as HashRef[Python()];
360  
361 declare 'Citation',
362 as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Context::Citation'];
363  
364 coerce 'Citation',
365 from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::Citation'->new($_) };
366  
367 declare 'RepeatedCitation',
368 as ArrayRef[Citation()];
369  
370 coerce 'RepeatedCitation',
371 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::Citation'->new($_) } @$_ ] };
372  
373 declare 'MapStringCitation',
374 as HashRef[Citation()];
375  
376 declare 'CitationSource',
377 as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Context::CitationSource'];
378  
379 coerce 'CitationSource',
380 from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::CitationSource'->new($_) };
381  
382 declare 'RepeatedCitationSource',
383 as ArrayRef[CitationSource()];
384  
385 coerce 'RepeatedCitationSource',
386 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::CitationSource'->new($_) } @$_ ] };
387  
388 declare 'MapStringCitationSource',
389 as HashRef[CitationSource()];
390  
391 declare 'CitationAnchor',
392 as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Context::CitationAnchor'];
393  
394 coerce 'CitationAnchor',
395 from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::CitationAnchor'->new($_) };
396  
397 declare 'RepeatedCitationAnchor',
398 as ArrayRef[CitationAnchor()];
399  
400 coerce 'RepeatedCitationAnchor',
401 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::CitationAnchor'->new($_) } @$_ ] };
402  
403 declare 'MapStringCitationAnchor',
404 as HashRef[CitationAnchor()];
405  
406 declare 'TextMessageCitationAnchor',
407 as InstanceOf['Google::Cloud::Geminidataanalytics::V1alpha::Context::CitationAnchor::TextMessageCitationAnchor'];
408  
409 coerce 'TextMessageCitationAnchor',
410 from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::CitationAnchor::TextMessageCitationAnchor'->new($_) };
411  
412 declare 'RepeatedTextMessageCitationAnchor',
413 as ArrayRef[TextMessageCitationAnchor()];
414  
415 coerce 'RepeatedTextMessageCitationAnchor',
416 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1alpha::Context::CitationAnchor::TextMessageCitationAnchor'->new($_) } @$_ ] };
417  
418 declare 'MapStringTextMessageCitationAnchor',
419 as HashRef[TextMessageCitationAnchor()];
420  
421 1;
422  
423 __END__