V1/Resources/Types.pm untested

filter: Statementstmt 0.0% 0 / 418 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 423 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::Dataplex::V1::Resources::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 'State',
11 as (Int | Str);
12  
13 declare 'Lake',
14 as InstanceOf['Google::Cloud::Dataplex::V1::Resources::Lake'];
15  
16 coerce 'Lake',
17 from HashRef, via { 'Google::Cloud::Dataplex::V1::Resources::Lake'->new($_) };
18  
19 declare 'RepeatedLake',
20 as ArrayRef[Lake()];
21  
22 coerce 'RepeatedLake',
23 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Resources::Lake'->new($_) } @$_ ] };
24  
25 declare 'MapStringLake',
26 as HashRef[Lake()];
27  
28 declare 'Metastore',
29 as InstanceOf['Google::Cloud::Dataplex::V1::Resources::Lake::Metastore'];
30  
31 coerce 'Metastore',
32 from HashRef, via { 'Google::Cloud::Dataplex::V1::Resources::Lake::Metastore'->new($_) };
33  
34 declare 'RepeatedMetastore',
35 as ArrayRef[Metastore()];
36  
37 coerce 'RepeatedMetastore',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Resources::Lake::Metastore'->new($_) } @$_ ] };
39  
40 declare 'MapStringMetastore',
41 as HashRef[Metastore()];
42  
43 declare 'MetastoreStatus',
44 as InstanceOf['Google::Cloud::Dataplex::V1::Resources::Lake::MetastoreStatus'];
45  
46 coerce 'MetastoreStatus',
47 from HashRef, via { 'Google::Cloud::Dataplex::V1::Resources::Lake::MetastoreStatus'->new($_) };
48  
49 declare 'RepeatedMetastoreStatus',
50 as ArrayRef[MetastoreStatus()];
51  
52 coerce 'RepeatedMetastoreStatus',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Resources::Lake::MetastoreStatus'->new($_) } @$_ ] };
54  
55 declare 'MapStringMetastoreStatus',
56 as HashRef[MetastoreStatus()];
57  
58 declare 'State',
59 as (Int | Str);
60  
61 declare 'LabelsEntry',
62 as InstanceOf['Google::Cloud::Dataplex::V1::Resources::Lake::LabelsEntry'];
63  
64 coerce 'LabelsEntry',
65 from HashRef, via { 'Google::Cloud::Dataplex::V1::Resources::Lake::LabelsEntry'->new($_) };
66  
67 declare 'RepeatedLabelsEntry',
68 as ArrayRef[LabelsEntry()];
69  
70 coerce 'RepeatedLabelsEntry',
71 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Resources::Lake::LabelsEntry'->new($_) } @$_ ] };
72  
73 declare 'MapStringLabelsEntry',
74 as HashRef[LabelsEntry()];
75  
76 declare 'AssetStatus',
77 as InstanceOf['Google::Cloud::Dataplex::V1::Resources::AssetStatus'];
78  
79 coerce 'AssetStatus',
80 from HashRef, via { 'Google::Cloud::Dataplex::V1::Resources::AssetStatus'->new($_) };
81  
82 declare 'RepeatedAssetStatus',
83 as ArrayRef[AssetStatus()];
84  
85 coerce 'RepeatedAssetStatus',
86 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Resources::AssetStatus'->new($_) } @$_ ] };
87  
88 declare 'MapStringAssetStatus',
89 as HashRef[AssetStatus()];
90  
91 declare 'Zone',
92 as InstanceOf['Google::Cloud::Dataplex::V1::Resources::Zone'];
93  
94 coerce 'Zone',
95 from HashRef, via { 'Google::Cloud::Dataplex::V1::Resources::Zone'->new($_) };
96  
97 declare 'RepeatedZone',
98 as ArrayRef[Zone()];
99  
100 coerce 'RepeatedZone',
101 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Resources::Zone'->new($_) } @$_ ] };
102  
103 declare 'MapStringZone',
104 as HashRef[Zone()];
105  
106 declare 'Type',
107 as (Int | Str);
108  
109 declare 'ResourceSpec',
110 as InstanceOf['Google::Cloud::Dataplex::V1::Resources::Zone::ResourceSpec'];
111  
112 coerce 'ResourceSpec',
113 from HashRef, via { 'Google::Cloud::Dataplex::V1::Resources::Zone::ResourceSpec'->new($_) };
114  
115 declare 'RepeatedResourceSpec',
116 as ArrayRef[ResourceSpec()];
117  
118 coerce 'RepeatedResourceSpec',
119 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Resources::Zone::ResourceSpec'->new($_) } @$_ ] };
120  
121 declare 'MapStringResourceSpec',
122 as HashRef[ResourceSpec()];
123  
124 declare 'LocationType',
125 as (Int | Str);
126  
127 declare 'DiscoverySpec',
128 as InstanceOf['Google::Cloud::Dataplex::V1::Resources::Zone::DiscoverySpec'];
129  
130 coerce 'DiscoverySpec',
131 from HashRef, via { 'Google::Cloud::Dataplex::V1::Resources::Zone::DiscoverySpec'->new($_) };
132  
133 declare 'RepeatedDiscoverySpec',
134 as ArrayRef[DiscoverySpec()];
135  
136 coerce 'RepeatedDiscoverySpec',
137 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Resources::Zone::DiscoverySpec'->new($_) } @$_ ] };
138  
139 declare 'MapStringDiscoverySpec',
140 as HashRef[DiscoverySpec()];
141  
142 declare 'CsvOptions',
143 as InstanceOf['Google::Cloud::Dataplex::V1::Resources::Zone::DiscoverySpec::CsvOptions'];
144  
145 coerce 'CsvOptions',
146 from HashRef, via { 'Google::Cloud::Dataplex::V1::Resources::Zone::DiscoverySpec::CsvOptions'->new($_) };
147  
148 declare 'RepeatedCsvOptions',
149 as ArrayRef[CsvOptions()];
150  
151 coerce 'RepeatedCsvOptions',
152 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Resources::Zone::DiscoverySpec::CsvOptions'->new($_) } @$_ ] };
153  
154 declare 'MapStringCsvOptions',
155 as HashRef[CsvOptions()];
156  
157 declare 'JsonOptions',
158 as InstanceOf['Google::Cloud::Dataplex::V1::Resources::Zone::DiscoverySpec::JsonOptions'];
159  
160 coerce 'JsonOptions',
161 from HashRef, via { 'Google::Cloud::Dataplex::V1::Resources::Zone::DiscoverySpec::JsonOptions'->new($_) };
162  
163 declare 'RepeatedJsonOptions',
164 as ArrayRef[JsonOptions()];
165  
166 coerce 'RepeatedJsonOptions',
167 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Resources::Zone::DiscoverySpec::JsonOptions'->new($_) } @$_ ] };
168  
169 declare 'MapStringJsonOptions',
170 as HashRef[JsonOptions()];
171  
172 declare 'LabelsEntry',
173 as InstanceOf['Google::Cloud::Dataplex::V1::Resources::Zone::LabelsEntry'];
174  
175 coerce 'LabelsEntry',
176 from HashRef, via { 'Google::Cloud::Dataplex::V1::Resources::Zone::LabelsEntry'->new($_) };
177  
178 declare 'RepeatedLabelsEntry',
179 as ArrayRef[LabelsEntry()];
180  
181 coerce 'RepeatedLabelsEntry',
182 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Resources::Zone::LabelsEntry'->new($_) } @$_ ] };
183  
184 declare 'MapStringLabelsEntry',
185 as HashRef[LabelsEntry()];
186  
187 declare 'Action',
188 as InstanceOf['Google::Cloud::Dataplex::V1::Resources::Action'];
189  
190 coerce 'Action',
191 from HashRef, via { 'Google::Cloud::Dataplex::V1::Resources::Action'->new($_) };
192  
193 declare 'RepeatedAction',
194 as ArrayRef[Action()];
195  
196 coerce 'RepeatedAction',
197 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Resources::Action'->new($_) } @$_ ] };
198  
199 declare 'MapStringAction',
200 as HashRef[Action()];
201  
202 declare 'Category',
203 as (Int | Str);
204  
205 declare 'MissingResource',
206 as InstanceOf['Google::Cloud::Dataplex::V1::Resources::Action::MissingResource'];
207  
208 coerce 'MissingResource',
209 from HashRef, via { 'Google::Cloud::Dataplex::V1::Resources::Action::MissingResource'->new($_) };
210  
211 declare 'RepeatedMissingResource',
212 as ArrayRef[MissingResource()];
213  
214 coerce 'RepeatedMissingResource',
215 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Resources::Action::MissingResource'->new($_) } @$_ ] };
216  
217 declare 'MapStringMissingResource',
218 as HashRef[MissingResource()];
219  
220 declare 'UnauthorizedResource',
221 as InstanceOf['Google::Cloud::Dataplex::V1::Resources::Action::UnauthorizedResource'];
222  
223 coerce 'UnauthorizedResource',
224 from HashRef, via { 'Google::Cloud::Dataplex::V1::Resources::Action::UnauthorizedResource'->new($_) };
225  
226 declare 'RepeatedUnauthorizedResource',
227 as ArrayRef[UnauthorizedResource()];
228  
229 coerce 'RepeatedUnauthorizedResource',
230 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Resources::Action::UnauthorizedResource'->new($_) } @$_ ] };
231  
232 declare 'MapStringUnauthorizedResource',
233 as HashRef[UnauthorizedResource()];
234  
235 declare 'FailedSecurityPolicyApply',
236 as InstanceOf['Google::Cloud::Dataplex::V1::Resources::Action::FailedSecurityPolicyApply'];
237  
238 coerce 'FailedSecurityPolicyApply',
239 from HashRef, via { 'Google::Cloud::Dataplex::V1::Resources::Action::FailedSecurityPolicyApply'->new($_) };
240  
241 declare 'RepeatedFailedSecurityPolicyApply',
242 as ArrayRef[FailedSecurityPolicyApply()];
243  
244 coerce 'RepeatedFailedSecurityPolicyApply',
245 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Resources::Action::FailedSecurityPolicyApply'->new($_) } @$_ ] };
246  
247 declare 'MapStringFailedSecurityPolicyApply',
248 as HashRef[FailedSecurityPolicyApply()];
249  
250 declare 'InvalidDataFormat',
251 as InstanceOf['Google::Cloud::Dataplex::V1::Resources::Action::InvalidDataFormat'];
252  
253 coerce 'InvalidDataFormat',
254 from HashRef, via { 'Google::Cloud::Dataplex::V1::Resources::Action::InvalidDataFormat'->new($_) };
255  
256 declare 'RepeatedInvalidDataFormat',
257 as ArrayRef[InvalidDataFormat()];
258  
259 coerce 'RepeatedInvalidDataFormat',
260 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Resources::Action::InvalidDataFormat'->new($_) } @$_ ] };
261  
262 declare 'MapStringInvalidDataFormat',
263 as HashRef[InvalidDataFormat()];
264  
265 declare 'IncompatibleDataSchema',
266 as InstanceOf['Google::Cloud::Dataplex::V1::Resources::Action::IncompatibleDataSchema'];
267  
268 coerce 'IncompatibleDataSchema',
269 from HashRef, via { 'Google::Cloud::Dataplex::V1::Resources::Action::IncompatibleDataSchema'->new($_) };
270  
271 declare 'RepeatedIncompatibleDataSchema',
272 as ArrayRef[IncompatibleDataSchema()];
273  
274 coerce 'RepeatedIncompatibleDataSchema',
275 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Resources::Action::IncompatibleDataSchema'->new($_) } @$_ ] };
276  
277 declare 'MapStringIncompatibleDataSchema',
278 as HashRef[IncompatibleDataSchema()];
279  
280 declare 'SchemaChange',
281 as (Int | Str);
282  
283 declare 'InvalidDataPartition',
284 as InstanceOf['Google::Cloud::Dataplex::V1::Resources::Action::InvalidDataPartition'];
285  
286 coerce 'InvalidDataPartition',
287 from HashRef, via { 'Google::Cloud::Dataplex::V1::Resources::Action::InvalidDataPartition'->new($_) };
288  
289 declare 'RepeatedInvalidDataPartition',
290 as ArrayRef[InvalidDataPartition()];
291  
292 coerce 'RepeatedInvalidDataPartition',
293 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Resources::Action::InvalidDataPartition'->new($_) } @$_ ] };
294  
295 declare 'MapStringInvalidDataPartition',
296 as HashRef[InvalidDataPartition()];
297  
298 declare 'PartitionStructure',
299 as (Int | Str);
300  
301 declare 'MissingData',
302 as InstanceOf['Google::Cloud::Dataplex::V1::Resources::Action::MissingData'];
303  
304 coerce 'MissingData',
305 from HashRef, via { 'Google::Cloud::Dataplex::V1::Resources::Action::MissingData'->new($_) };
306  
307 declare 'RepeatedMissingData',
308 as ArrayRef[MissingData()];
309  
310 coerce 'RepeatedMissingData',
311 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Resources::Action::MissingData'->new($_) } @$_ ] };
312  
313 declare 'MapStringMissingData',
314 as HashRef[MissingData()];
315  
316 declare 'InvalidDataOrganization',
317 as InstanceOf['Google::Cloud::Dataplex::V1::Resources::Action::InvalidDataOrganization'];
318  
319 coerce 'InvalidDataOrganization',
320 from HashRef, via { 'Google::Cloud::Dataplex::V1::Resources::Action::InvalidDataOrganization'->new($_) };
321  
322 declare 'RepeatedInvalidDataOrganization',
323 as ArrayRef[InvalidDataOrganization()];
324  
325 coerce 'RepeatedInvalidDataOrganization',
326 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Resources::Action::InvalidDataOrganization'->new($_) } @$_ ] };
327  
328 declare 'MapStringInvalidDataOrganization',
329 as HashRef[InvalidDataOrganization()];
330  
331 declare 'Asset',
332 as InstanceOf['Google::Cloud::Dataplex::V1::Resources::Asset'];
333  
334 coerce 'Asset',
335 from HashRef, via { 'Google::Cloud::Dataplex::V1::Resources::Asset'->new($_) };
336  
337 declare 'RepeatedAsset',
338 as ArrayRef[Asset()];
339  
340 coerce 'RepeatedAsset',
341 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Resources::Asset'->new($_) } @$_ ] };
342  
343 declare 'MapStringAsset',
344 as HashRef[Asset()];
345  
346 declare 'SecurityStatus',
347 as InstanceOf['Google::Cloud::Dataplex::V1::Resources::Asset::SecurityStatus'];
348  
349 coerce 'SecurityStatus',
350 from HashRef, via { 'Google::Cloud::Dataplex::V1::Resources::Asset::SecurityStatus'->new($_) };
351  
352 declare 'RepeatedSecurityStatus',
353 as ArrayRef[SecurityStatus()];
354  
355 coerce 'RepeatedSecurityStatus',
356 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Resources::Asset::SecurityStatus'->new($_) } @$_ ] };
357  
358 declare 'MapStringSecurityStatus',
359 as HashRef[SecurityStatus()];
360  
361 declare 'State',
362 as (Int | Str);
363  
364 declare 'DiscoverySpec',
365 as InstanceOf['Google::Cloud::Dataplex::V1::Resources::Asset::DiscoverySpec'];
366  
367 coerce 'DiscoverySpec',
368 from HashRef, via { 'Google::Cloud::Dataplex::V1::Resources::Asset::DiscoverySpec'->new($_) };
369  
370 declare 'RepeatedDiscoverySpec',
371 as ArrayRef[DiscoverySpec()];
372  
373 coerce 'RepeatedDiscoverySpec',
374 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Resources::Asset::DiscoverySpec'->new($_) } @$_ ] };
375  
376 declare 'MapStringDiscoverySpec',
377 as HashRef[DiscoverySpec()];
378  
379 declare 'CsvOptions',
380 as InstanceOf['Google::Cloud::Dataplex::V1::Resources::Asset::DiscoverySpec::CsvOptions'];
381  
382 coerce 'CsvOptions',
383 from HashRef, via { 'Google::Cloud::Dataplex::V1::Resources::Asset::DiscoverySpec::CsvOptions'->new($_) };
384  
385 declare 'RepeatedCsvOptions',
386 as ArrayRef[CsvOptions()];
387  
388 coerce 'RepeatedCsvOptions',
389 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Resources::Asset::DiscoverySpec::CsvOptions'->new($_) } @$_ ] };
390  
391 declare 'MapStringCsvOptions',
392 as HashRef[CsvOptions()];
393  
394 declare 'JsonOptions',
395 as InstanceOf['Google::Cloud::Dataplex::V1::Resources::Asset::DiscoverySpec::JsonOptions'];
396  
397 coerce 'JsonOptions',
398 from HashRef, via { 'Google::Cloud::Dataplex::V1::Resources::Asset::DiscoverySpec::JsonOptions'->new($_) };
399  
400 declare 'RepeatedJsonOptions',
401 as ArrayRef[JsonOptions()];
402  
403 coerce 'RepeatedJsonOptions',
404 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Resources::Asset::DiscoverySpec::JsonOptions'->new($_) } @$_ ] };
405  
406 declare 'MapStringJsonOptions',
407 as HashRef[JsonOptions()];
408  
409 declare 'ResourceSpec',
410 as InstanceOf['Google::Cloud::Dataplex::V1::Resources::Asset::ResourceSpec'];
411  
412 coerce 'ResourceSpec',
413 from HashRef, via { 'Google::Cloud::Dataplex::V1::Resources::Asset::ResourceSpec'->new($_) };
414  
415 declare 'RepeatedResourceSpec',
416 as ArrayRef[ResourceSpec()];
417  
418 coerce 'RepeatedResourceSpec',
419 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Resources::Asset::ResourceSpec'->new($_) } @$_ ] };
420  
421 declare 'MapStringResourceSpec',
422 as HashRef[ResourceSpec()];
423  
424 declare 'Type',
425 as (Int | Str);
426  
427 declare 'AccessMode',
428 as (Int | Str);
429  
430 declare 'ResourceStatus',
431 as InstanceOf['Google::Cloud::Dataplex::V1::Resources::Asset::ResourceStatus'];
432  
433 coerce 'ResourceStatus',
434 from HashRef, via { 'Google::Cloud::Dataplex::V1::Resources::Asset::ResourceStatus'->new($_) };
435  
436 declare 'RepeatedResourceStatus',
437 as ArrayRef[ResourceStatus()];
438  
439 coerce 'RepeatedResourceStatus',
440 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Resources::Asset::ResourceStatus'->new($_) } @$_ ] };
441  
442 declare 'MapStringResourceStatus',
443 as HashRef[ResourceStatus()];
444  
445 declare 'State',
446 as (Int | Str);
447  
448 declare 'DiscoveryStatus',
449 as InstanceOf['Google::Cloud::Dataplex::V1::Resources::Asset::DiscoveryStatus'];
450  
451 coerce 'DiscoveryStatus',
452 from HashRef, via { 'Google::Cloud::Dataplex::V1::Resources::Asset::DiscoveryStatus'->new($_) };
453  
454 declare 'RepeatedDiscoveryStatus',
455 as ArrayRef[DiscoveryStatus()];
456  
457 coerce 'RepeatedDiscoveryStatus',
458 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Resources::Asset::DiscoveryStatus'->new($_) } @$_ ] };
459  
460 declare 'MapStringDiscoveryStatus',
461 as HashRef[DiscoveryStatus()];
462  
463 declare 'State',
464 as (Int | Str);
465  
466 declare 'Stats',
467 as InstanceOf['Google::Cloud::Dataplex::V1::Resources::Asset::DiscoveryStatus::Stats'];
468  
469 coerce 'Stats',
470 from HashRef, via { 'Google::Cloud::Dataplex::V1::Resources::Asset::DiscoveryStatus::Stats'->new($_) };
471  
472 declare 'RepeatedStats',
473 as ArrayRef[Stats()];
474  
475 coerce 'RepeatedStats',
476 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Resources::Asset::DiscoveryStatus::Stats'->new($_) } @$_ ] };
477  
478 declare 'MapStringStats',
479 as HashRef[Stats()];
480  
481 declare 'LabelsEntry',
482 as InstanceOf['Google::Cloud::Dataplex::V1::Resources::Asset::LabelsEntry'];
483  
484 coerce 'LabelsEntry',
485 from HashRef, via { 'Google::Cloud::Dataplex::V1::Resources::Asset::LabelsEntry'->new($_) };
486  
487 declare 'RepeatedLabelsEntry',
488 as ArrayRef[LabelsEntry()];
489  
490 coerce 'RepeatedLabelsEntry',
491 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Resources::Asset::LabelsEntry'->new($_) } @$_ ] };
492  
493 declare 'MapStringLabelsEntry',
494 as HashRef[LabelsEntry()];
495  
496 1;
497  
498 __END__