V1/BackupvaultGce/Types.pm untested

filter: Statementstmt 0.0% 0 / 398 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 403 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::Backupdr::V1::BackupvaultGce::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 'KeyRevocationActionType',
11 as (Int | Str);
12  
13 declare 'ComputeInstanceBackupProperties',
14 as InstanceOf['Google::Cloud::Backupdr::V1::BackupvaultGce::ComputeInstanceBackupProperties'];
15  
16 coerce 'ComputeInstanceBackupProperties',
17 from HashRef, via { 'Google::Cloud::Backupdr::V1::BackupvaultGce::ComputeInstanceBackupProperties'->new($_) };
18  
19 declare 'RepeatedComputeInstanceBackupProperties',
20 as ArrayRef[ComputeInstanceBackupProperties()];
21  
22 coerce 'RepeatedComputeInstanceBackupProperties',
23 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::BackupvaultGce::ComputeInstanceBackupProperties'->new($_) } @$_ ] };
24  
25 declare 'MapStringComputeInstanceBackupProperties',
26 as HashRef[ComputeInstanceBackupProperties()];
27  
28 declare 'LabelsEntry',
29 as InstanceOf['Google::Cloud::Backupdr::V1::BackupvaultGce::ComputeInstanceBackupProperties::LabelsEntry'];
30  
31 coerce 'LabelsEntry',
32 from HashRef, via { 'Google::Cloud::Backupdr::V1::BackupvaultGce::ComputeInstanceBackupProperties::LabelsEntry'->new($_) };
33  
34 declare 'RepeatedLabelsEntry',
35 as ArrayRef[LabelsEntry()];
36  
37 coerce 'RepeatedLabelsEntry',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::BackupvaultGce::ComputeInstanceBackupProperties::LabelsEntry'->new($_) } @$_ ] };
39  
40 declare 'MapStringLabelsEntry',
41 as HashRef[LabelsEntry()];
42  
43 declare 'ComputeInstanceRestoreProperties',
44 as InstanceOf['Google::Cloud::Backupdr::V1::BackupvaultGce::ComputeInstanceRestoreProperties'];
45  
46 coerce 'ComputeInstanceRestoreProperties',
47 from HashRef, via { 'Google::Cloud::Backupdr::V1::BackupvaultGce::ComputeInstanceRestoreProperties'->new($_) };
48  
49 declare 'RepeatedComputeInstanceRestoreProperties',
50 as ArrayRef[ComputeInstanceRestoreProperties()];
51  
52 coerce 'RepeatedComputeInstanceRestoreProperties',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::BackupvaultGce::ComputeInstanceRestoreProperties'->new($_) } @$_ ] };
54  
55 declare 'MapStringComputeInstanceRestoreProperties',
56 as HashRef[ComputeInstanceRestoreProperties()];
57  
58 declare 'InstancePrivateIpv6GoogleAccess',
59 as (Int | Str);
60  
61 declare 'LabelsEntry',
62 as InstanceOf['Google::Cloud::Backupdr::V1::BackupvaultGce::ComputeInstanceRestoreProperties::LabelsEntry'];
63  
64 coerce 'LabelsEntry',
65 from HashRef, via { 'Google::Cloud::Backupdr::V1::BackupvaultGce::ComputeInstanceRestoreProperties::LabelsEntry'->new($_) };
66  
67 declare 'RepeatedLabelsEntry',
68 as ArrayRef[LabelsEntry()];
69  
70 coerce 'RepeatedLabelsEntry',
71 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::BackupvaultGce::ComputeInstanceRestoreProperties::LabelsEntry'->new($_) } @$_ ] };
72  
73 declare 'MapStringLabelsEntry',
74 as HashRef[LabelsEntry()];
75  
76 declare 'ComputeInstanceTargetEnvironment',
77 as InstanceOf['Google::Cloud::Backupdr::V1::BackupvaultGce::ComputeInstanceTargetEnvironment'];
78  
79 coerce 'ComputeInstanceTargetEnvironment',
80 from HashRef, via { 'Google::Cloud::Backupdr::V1::BackupvaultGce::ComputeInstanceTargetEnvironment'->new($_) };
81  
82 declare 'RepeatedComputeInstanceTargetEnvironment',
83 as ArrayRef[ComputeInstanceTargetEnvironment()];
84  
85 coerce 'RepeatedComputeInstanceTargetEnvironment',
86 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::BackupvaultGce::ComputeInstanceTargetEnvironment'->new($_) } @$_ ] };
87  
88 declare 'MapStringComputeInstanceTargetEnvironment',
89 as HashRef[ComputeInstanceTargetEnvironment()];
90  
91 declare 'ComputeInstanceDataSourceProperties',
92 as InstanceOf['Google::Cloud::Backupdr::V1::BackupvaultGce::ComputeInstanceDataSourceProperties'];
93  
94 coerce 'ComputeInstanceDataSourceProperties',
95 from HashRef, via { 'Google::Cloud::Backupdr::V1::BackupvaultGce::ComputeInstanceDataSourceProperties'->new($_) };
96  
97 declare 'RepeatedComputeInstanceDataSourceProperties',
98 as ArrayRef[ComputeInstanceDataSourceProperties()];
99  
100 coerce 'RepeatedComputeInstanceDataSourceProperties',
101 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::BackupvaultGce::ComputeInstanceDataSourceProperties'->new($_) } @$_ ] };
102  
103 declare 'MapStringComputeInstanceDataSourceProperties',
104 as HashRef[ComputeInstanceDataSourceProperties()];
105  
106 declare 'AdvancedMachineFeatures',
107 as InstanceOf['Google::Cloud::Backupdr::V1::BackupvaultGce::AdvancedMachineFeatures'];
108  
109 coerce 'AdvancedMachineFeatures',
110 from HashRef, via { 'Google::Cloud::Backupdr::V1::BackupvaultGce::AdvancedMachineFeatures'->new($_) };
111  
112 declare 'RepeatedAdvancedMachineFeatures',
113 as ArrayRef[AdvancedMachineFeatures()];
114  
115 coerce 'RepeatedAdvancedMachineFeatures',
116 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::BackupvaultGce::AdvancedMachineFeatures'->new($_) } @$_ ] };
117  
118 declare 'MapStringAdvancedMachineFeatures',
119 as HashRef[AdvancedMachineFeatures()];
120  
121 declare 'ConfidentialInstanceConfig',
122 as InstanceOf['Google::Cloud::Backupdr::V1::BackupvaultGce::ConfidentialInstanceConfig'];
123  
124 coerce 'ConfidentialInstanceConfig',
125 from HashRef, via { 'Google::Cloud::Backupdr::V1::BackupvaultGce::ConfidentialInstanceConfig'->new($_) };
126  
127 declare 'RepeatedConfidentialInstanceConfig',
128 as ArrayRef[ConfidentialInstanceConfig()];
129  
130 coerce 'RepeatedConfidentialInstanceConfig',
131 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::BackupvaultGce::ConfidentialInstanceConfig'->new($_) } @$_ ] };
132  
133 declare 'MapStringConfidentialInstanceConfig',
134 as HashRef[ConfidentialInstanceConfig()];
135  
136 declare 'DisplayDevice',
137 as InstanceOf['Google::Cloud::Backupdr::V1::BackupvaultGce::DisplayDevice'];
138  
139 coerce 'DisplayDevice',
140 from HashRef, via { 'Google::Cloud::Backupdr::V1::BackupvaultGce::DisplayDevice'->new($_) };
141  
142 declare 'RepeatedDisplayDevice',
143 as ArrayRef[DisplayDevice()];
144  
145 coerce 'RepeatedDisplayDevice',
146 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::BackupvaultGce::DisplayDevice'->new($_) } @$_ ] };
147  
148 declare 'MapStringDisplayDevice',
149 as HashRef[DisplayDevice()];
150  
151 declare 'AcceleratorConfig',
152 as InstanceOf['Google::Cloud::Backupdr::V1::BackupvaultGce::AcceleratorConfig'];
153  
154 coerce 'AcceleratorConfig',
155 from HashRef, via { 'Google::Cloud::Backupdr::V1::BackupvaultGce::AcceleratorConfig'->new($_) };
156  
157 declare 'RepeatedAcceleratorConfig',
158 as ArrayRef[AcceleratorConfig()];
159  
160 coerce 'RepeatedAcceleratorConfig',
161 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::BackupvaultGce::AcceleratorConfig'->new($_) } @$_ ] };
162  
163 declare 'MapStringAcceleratorConfig',
164 as HashRef[AcceleratorConfig()];
165  
166 declare 'CustomerEncryptionKey',
167 as InstanceOf['Google::Cloud::Backupdr::V1::BackupvaultGce::CustomerEncryptionKey'];
168  
169 coerce 'CustomerEncryptionKey',
170 from HashRef, via { 'Google::Cloud::Backupdr::V1::BackupvaultGce::CustomerEncryptionKey'->new($_) };
171  
172 declare 'RepeatedCustomerEncryptionKey',
173 as ArrayRef[CustomerEncryptionKey()];
174  
175 coerce 'RepeatedCustomerEncryptionKey',
176 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::BackupvaultGce::CustomerEncryptionKey'->new($_) } @$_ ] };
177  
178 declare 'MapStringCustomerEncryptionKey',
179 as HashRef[CustomerEncryptionKey()];
180  
181 declare 'Entry',
182 as InstanceOf['Google::Cloud::Backupdr::V1::BackupvaultGce::Entry'];
183  
184 coerce 'Entry',
185 from HashRef, via { 'Google::Cloud::Backupdr::V1::BackupvaultGce::Entry'->new($_) };
186  
187 declare 'RepeatedEntry',
188 as ArrayRef[Entry()];
189  
190 coerce 'RepeatedEntry',
191 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::BackupvaultGce::Entry'->new($_) } @$_ ] };
192  
193 declare 'MapStringEntry',
194 as HashRef[Entry()];
195  
196 declare 'Metadata',
197 as InstanceOf['Google::Cloud::Backupdr::V1::BackupvaultGce::Metadata'];
198  
199 coerce 'Metadata',
200 from HashRef, via { 'Google::Cloud::Backupdr::V1::BackupvaultGce::Metadata'->new($_) };
201  
202 declare 'RepeatedMetadata',
203 as ArrayRef[Metadata()];
204  
205 coerce 'RepeatedMetadata',
206 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::BackupvaultGce::Metadata'->new($_) } @$_ ] };
207  
208 declare 'MapStringMetadata',
209 as HashRef[Metadata()];
210  
211 declare 'NetworkInterface',
212 as InstanceOf['Google::Cloud::Backupdr::V1::BackupvaultGce::NetworkInterface'];
213  
214 coerce 'NetworkInterface',
215 from HashRef, via { 'Google::Cloud::Backupdr::V1::BackupvaultGce::NetworkInterface'->new($_) };
216  
217 declare 'RepeatedNetworkInterface',
218 as ArrayRef[NetworkInterface()];
219  
220 coerce 'RepeatedNetworkInterface',
221 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::BackupvaultGce::NetworkInterface'->new($_) } @$_ ] };
222  
223 declare 'MapStringNetworkInterface',
224 as HashRef[NetworkInterface()];
225  
226 declare 'StackType',
227 as (Int | Str);
228  
229 declare 'Ipv6AccessType',
230 as (Int | Str);
231  
232 declare 'NicType',
233 as (Int | Str);
234  
235 declare 'NetworkPerformanceConfig',
236 as InstanceOf['Google::Cloud::Backupdr::V1::BackupvaultGce::NetworkPerformanceConfig'];
237  
238 coerce 'NetworkPerformanceConfig',
239 from HashRef, via { 'Google::Cloud::Backupdr::V1::BackupvaultGce::NetworkPerformanceConfig'->new($_) };
240  
241 declare 'RepeatedNetworkPerformanceConfig',
242 as ArrayRef[NetworkPerformanceConfig()];
243  
244 coerce 'RepeatedNetworkPerformanceConfig',
245 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::BackupvaultGce::NetworkPerformanceConfig'->new($_) } @$_ ] };
246  
247 declare 'MapStringNetworkPerformanceConfig',
248 as HashRef[NetworkPerformanceConfig()];
249  
250 declare 'Tier',
251 as (Int | Str);
252  
253 declare 'AccessConfig',
254 as InstanceOf['Google::Cloud::Backupdr::V1::BackupvaultGce::AccessConfig'];
255  
256 coerce 'AccessConfig',
257 from HashRef, via { 'Google::Cloud::Backupdr::V1::BackupvaultGce::AccessConfig'->new($_) };
258  
259 declare 'RepeatedAccessConfig',
260 as ArrayRef[AccessConfig()];
261  
262 coerce 'RepeatedAccessConfig',
263 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::BackupvaultGce::AccessConfig'->new($_) } @$_ ] };
264  
265 declare 'MapStringAccessConfig',
266 as HashRef[AccessConfig()];
267  
268 declare 'AccessType',
269 as (Int | Str);
270  
271 declare 'NetworkTier',
272 as (Int | Str);
273  
274 declare 'AliasIpRange',
275 as InstanceOf['Google::Cloud::Backupdr::V1::BackupvaultGce::AliasIpRange'];
276  
277 coerce 'AliasIpRange',
278 from HashRef, via { 'Google::Cloud::Backupdr::V1::BackupvaultGce::AliasIpRange'->new($_) };
279  
280 declare 'RepeatedAliasIpRange',
281 as ArrayRef[AliasIpRange()];
282  
283 coerce 'RepeatedAliasIpRange',
284 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::BackupvaultGce::AliasIpRange'->new($_) } @$_ ] };
285  
286 declare 'MapStringAliasIpRange',
287 as HashRef[AliasIpRange()];
288  
289 declare 'InstanceParams',
290 as InstanceOf['Google::Cloud::Backupdr::V1::BackupvaultGce::InstanceParams'];
291  
292 coerce 'InstanceParams',
293 from HashRef, via { 'Google::Cloud::Backupdr::V1::BackupvaultGce::InstanceParams'->new($_) };
294  
295 declare 'RepeatedInstanceParams',
296 as ArrayRef[InstanceParams()];
297  
298 coerce 'RepeatedInstanceParams',
299 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::BackupvaultGce::InstanceParams'->new($_) } @$_ ] };
300  
301 declare 'MapStringInstanceParams',
302 as HashRef[InstanceParams()];
303  
304 declare 'ResourceManagerTagsEntry',
305 as InstanceOf['Google::Cloud::Backupdr::V1::BackupvaultGce::InstanceParams::ResourceManagerTagsEntry'];
306  
307 coerce 'ResourceManagerTagsEntry',
308 from HashRef, via { 'Google::Cloud::Backupdr::V1::BackupvaultGce::InstanceParams::ResourceManagerTagsEntry'->new($_) };
309  
310 declare 'RepeatedResourceManagerTagsEntry',
311 as ArrayRef[ResourceManagerTagsEntry()];
312  
313 coerce 'RepeatedResourceManagerTagsEntry',
314 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::BackupvaultGce::InstanceParams::ResourceManagerTagsEntry'->new($_) } @$_ ] };
315  
316 declare 'MapStringResourceManagerTagsEntry',
317 as HashRef[ResourceManagerTagsEntry()];
318  
319 declare 'AllocationAffinity',
320 as InstanceOf['Google::Cloud::Backupdr::V1::BackupvaultGce::AllocationAffinity'];
321  
322 coerce 'AllocationAffinity',
323 from HashRef, via { 'Google::Cloud::Backupdr::V1::BackupvaultGce::AllocationAffinity'->new($_) };
324  
325 declare 'RepeatedAllocationAffinity',
326 as ArrayRef[AllocationAffinity()];
327  
328 coerce 'RepeatedAllocationAffinity',
329 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::BackupvaultGce::AllocationAffinity'->new($_) } @$_ ] };
330  
331 declare 'MapStringAllocationAffinity',
332 as HashRef[AllocationAffinity()];
333  
334 declare 'Type',
335 as (Int | Str);
336  
337 declare 'Scheduling',
338 as InstanceOf['Google::Cloud::Backupdr::V1::BackupvaultGce::Scheduling'];
339  
340 coerce 'Scheduling',
341 from HashRef, via { 'Google::Cloud::Backupdr::V1::BackupvaultGce::Scheduling'->new($_) };
342  
343 declare 'RepeatedScheduling',
344 as ArrayRef[Scheduling()];
345  
346 coerce 'RepeatedScheduling',
347 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::BackupvaultGce::Scheduling'->new($_) } @$_ ] };
348  
349 declare 'MapStringScheduling',
350 as HashRef[Scheduling()];
351  
352 declare 'OnHostMaintenance',
353 as (Int | Str);
354  
355 declare 'ProvisioningModel',
356 as (Int | Str);
357  
358 declare 'InstanceTerminationAction',
359 as (Int | Str);
360  
361 declare 'NodeAffinity',
362 as InstanceOf['Google::Cloud::Backupdr::V1::BackupvaultGce::Scheduling::NodeAffinity'];
363  
364 coerce 'NodeAffinity',
365 from HashRef, via { 'Google::Cloud::Backupdr::V1::BackupvaultGce::Scheduling::NodeAffinity'->new($_) };
366  
367 declare 'RepeatedNodeAffinity',
368 as ArrayRef[NodeAffinity()];
369  
370 coerce 'RepeatedNodeAffinity',
371 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::BackupvaultGce::Scheduling::NodeAffinity'->new($_) } @$_ ] };
372  
373 declare 'MapStringNodeAffinity',
374 as HashRef[NodeAffinity()];
375  
376 declare 'Operator',
377 as (Int | Str);
378  
379 declare 'SchedulingDuration',
380 as InstanceOf['Google::Cloud::Backupdr::V1::BackupvaultGce::SchedulingDuration'];
381  
382 coerce 'SchedulingDuration',
383 from HashRef, via { 'Google::Cloud::Backupdr::V1::BackupvaultGce::SchedulingDuration'->new($_) };
384  
385 declare 'RepeatedSchedulingDuration',
386 as ArrayRef[SchedulingDuration()];
387  
388 coerce 'RepeatedSchedulingDuration',
389 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::BackupvaultGce::SchedulingDuration'->new($_) } @$_ ] };
390  
391 declare 'MapStringSchedulingDuration',
392 as HashRef[SchedulingDuration()];
393  
394 declare 'ServiceAccount',
395 as InstanceOf['Google::Cloud::Backupdr::V1::BackupvaultGce::ServiceAccount'];
396  
397 coerce 'ServiceAccount',
398 from HashRef, via { 'Google::Cloud::Backupdr::V1::BackupvaultGce::ServiceAccount'->new($_) };
399  
400 declare 'RepeatedServiceAccount',
401 as ArrayRef[ServiceAccount()];
402  
403 coerce 'RepeatedServiceAccount',
404 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::BackupvaultGce::ServiceAccount'->new($_) } @$_ ] };
405  
406 declare 'MapStringServiceAccount',
407 as HashRef[ServiceAccount()];
408  
409 declare 'Tags',
410 as InstanceOf['Google::Cloud::Backupdr::V1::BackupvaultGce::Tags'];
411  
412 coerce 'Tags',
413 from HashRef, via { 'Google::Cloud::Backupdr::V1::BackupvaultGce::Tags'->new($_) };
414  
415 declare 'RepeatedTags',
416 as ArrayRef[Tags()];
417  
418 coerce 'RepeatedTags',
419 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::BackupvaultGce::Tags'->new($_) } @$_ ] };
420  
421 declare 'MapStringTags',
422 as HashRef[Tags()];
423  
424 declare 'AttachedDisk',
425 as InstanceOf['Google::Cloud::Backupdr::V1::BackupvaultGce::AttachedDisk'];
426  
427 coerce 'AttachedDisk',
428 from HashRef, via { 'Google::Cloud::Backupdr::V1::BackupvaultGce::AttachedDisk'->new($_) };
429  
430 declare 'RepeatedAttachedDisk',
431 as ArrayRef[AttachedDisk()];
432  
433 coerce 'RepeatedAttachedDisk',
434 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::BackupvaultGce::AttachedDisk'->new($_) } @$_ ] };
435  
436 declare 'MapStringAttachedDisk',
437 as HashRef[AttachedDisk()];
438  
439 declare 'DiskType',
440 as (Int | Str);
441  
442 declare 'DiskMode',
443 as (Int | Str);
444  
445 declare 'DiskInterface',
446 as (Int | Str);
447  
448 declare 'DiskSavedState',
449 as (Int | Str);
450  
451 declare 'InitializeParams',
452 as InstanceOf['Google::Cloud::Backupdr::V1::BackupvaultGce::AttachedDisk::InitializeParams'];
453  
454 coerce 'InitializeParams',
455 from HashRef, via { 'Google::Cloud::Backupdr::V1::BackupvaultGce::AttachedDisk::InitializeParams'->new($_) };
456  
457 declare 'RepeatedInitializeParams',
458 as ArrayRef[InitializeParams()];
459  
460 coerce 'RepeatedInitializeParams',
461 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::BackupvaultGce::AttachedDisk::InitializeParams'->new($_) } @$_ ] };
462  
463 declare 'MapStringInitializeParams',
464 as HashRef[InitializeParams()];
465  
466 declare 'GuestOsFeature',
467 as InstanceOf['Google::Cloud::Backupdr::V1::BackupvaultGce::GuestOsFeature'];
468  
469 coerce 'GuestOsFeature',
470 from HashRef, via { 'Google::Cloud::Backupdr::V1::BackupvaultGce::GuestOsFeature'->new($_) };
471  
472 declare 'RepeatedGuestOsFeature',
473 as ArrayRef[GuestOsFeature()];
474  
475 coerce 'RepeatedGuestOsFeature',
476 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::BackupvaultGce::GuestOsFeature'->new($_) } @$_ ] };
477  
478 declare 'MapStringGuestOsFeature',
479 as HashRef[GuestOsFeature()];
480  
481 declare 'FeatureType',
482 as (Int | Str);
483  
484 1;
485  
486 __END__