V1beta/GuestPolicies/Types.pm untested

filter: Statementstmt 0.0% 0 / 320 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 325 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::Osconfig::Agentendpoint::V1beta::GuestPolicies::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 'DesiredState',
11 as (Int | Str);
12  
13 declare 'Package',
14 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::Package'];
15  
16 coerce 'Package',
17 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::Package'->new($_) };
18  
19 declare 'RepeatedPackage',
20 as ArrayRef[Package()];
21  
22 coerce 'RepeatedPackage',
23 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::Package'->new($_) } @$_ ] };
24  
25 declare 'MapStringPackage',
26 as HashRef[Package()];
27  
28 declare 'Manager',
29 as (Int | Str);
30  
31 declare 'AptRepository',
32 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::AptRepository'];
33  
34 coerce 'AptRepository',
35 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::AptRepository'->new($_) };
36  
37 declare 'RepeatedAptRepository',
38 as ArrayRef[AptRepository()];
39  
40 coerce 'RepeatedAptRepository',
41 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::AptRepository'->new($_) } @$_ ] };
42  
43 declare 'MapStringAptRepository',
44 as HashRef[AptRepository()];
45  
46 declare 'ArchiveType',
47 as (Int | Str);
48  
49 declare 'YumRepository',
50 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::YumRepository'];
51  
52 coerce 'YumRepository',
53 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::YumRepository'->new($_) };
54  
55 declare 'RepeatedYumRepository',
56 as ArrayRef[YumRepository()];
57  
58 coerce 'RepeatedYumRepository',
59 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::YumRepository'->new($_) } @$_ ] };
60  
61 declare 'MapStringYumRepository',
62 as HashRef[YumRepository()];
63  
64 declare 'ZypperRepository',
65 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::ZypperRepository'];
66  
67 coerce 'ZypperRepository',
68 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::ZypperRepository'->new($_) };
69  
70 declare 'RepeatedZypperRepository',
71 as ArrayRef[ZypperRepository()];
72  
73 coerce 'RepeatedZypperRepository',
74 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::ZypperRepository'->new($_) } @$_ ] };
75  
76 declare 'MapStringZypperRepository',
77 as HashRef[ZypperRepository()];
78  
79 declare 'GooRepository',
80 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::GooRepository'];
81  
82 coerce 'GooRepository',
83 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::GooRepository'->new($_) };
84  
85 declare 'RepeatedGooRepository',
86 as ArrayRef[GooRepository()];
87  
88 coerce 'RepeatedGooRepository',
89 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::GooRepository'->new($_) } @$_ ] };
90  
91 declare 'MapStringGooRepository',
92 as HashRef[GooRepository()];
93  
94 declare 'PackageRepository',
95 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::PackageRepository'];
96  
97 coerce 'PackageRepository',
98 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::PackageRepository'->new($_) };
99  
100 declare 'RepeatedPackageRepository',
101 as ArrayRef[PackageRepository()];
102  
103 coerce 'RepeatedPackageRepository',
104 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::PackageRepository'->new($_) } @$_ ] };
105  
106 declare 'MapStringPackageRepository',
107 as HashRef[PackageRepository()];
108  
109 declare 'SoftwareRecipe',
110 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe'];
111  
112 coerce 'SoftwareRecipe',
113 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe'->new($_) };
114  
115 declare 'RepeatedSoftwareRecipe',
116 as ArrayRef[SoftwareRecipe()];
117  
118 coerce 'RepeatedSoftwareRecipe',
119 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe'->new($_) } @$_ ] };
120  
121 declare 'MapStringSoftwareRecipe',
122 as HashRef[SoftwareRecipe()];
123  
124 declare 'Artifact',
125 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Artifact'];
126  
127 coerce 'Artifact',
128 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Artifact'->new($_) };
129  
130 declare 'RepeatedArtifact',
131 as ArrayRef[Artifact()];
132  
133 coerce 'RepeatedArtifact',
134 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Artifact'->new($_) } @$_ ] };
135  
136 declare 'MapStringArtifact',
137 as HashRef[Artifact()];
138  
139 declare 'Remote',
140 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Artifact::Remote'];
141  
142 coerce 'Remote',
143 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Artifact::Remote'->new($_) };
144  
145 declare 'RepeatedRemote',
146 as ArrayRef[Remote()];
147  
148 coerce 'RepeatedRemote',
149 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Artifact::Remote'->new($_) } @$_ ] };
150  
151 declare 'MapStringRemote',
152 as HashRef[Remote()];
153  
154 declare 'Gcs',
155 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Artifact::Gcs'];
156  
157 coerce 'Gcs',
158 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Artifact::Gcs'->new($_) };
159  
160 declare 'RepeatedGcs',
161 as ArrayRef[Gcs()];
162  
163 coerce 'RepeatedGcs',
164 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Artifact::Gcs'->new($_) } @$_ ] };
165  
166 declare 'MapStringGcs',
167 as HashRef[Gcs()];
168  
169 declare 'Step',
170 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Step'];
171  
172 coerce 'Step',
173 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Step'->new($_) };
174  
175 declare 'RepeatedStep',
176 as ArrayRef[Step()];
177  
178 coerce 'RepeatedStep',
179 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Step'->new($_) } @$_ ] };
180  
181 declare 'MapStringStep',
182 as HashRef[Step()];
183  
184 declare 'CopyFile',
185 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Step::CopyFile'];
186  
187 coerce 'CopyFile',
188 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Step::CopyFile'->new($_) };
189  
190 declare 'RepeatedCopyFile',
191 as ArrayRef[CopyFile()];
192  
193 coerce 'RepeatedCopyFile',
194 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Step::CopyFile'->new($_) } @$_ ] };
195  
196 declare 'MapStringCopyFile',
197 as HashRef[CopyFile()];
198  
199 declare 'ExtractArchive',
200 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Step::ExtractArchive'];
201  
202 coerce 'ExtractArchive',
203 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Step::ExtractArchive'->new($_) };
204  
205 declare 'RepeatedExtractArchive',
206 as ArrayRef[ExtractArchive()];
207  
208 coerce 'RepeatedExtractArchive',
209 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Step::ExtractArchive'->new($_) } @$_ ] };
210  
211 declare 'MapStringExtractArchive',
212 as HashRef[ExtractArchive()];
213  
214 declare 'ArchiveType',
215 as (Int | Str);
216  
217 declare 'InstallMsi',
218 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Step::InstallMsi'];
219  
220 coerce 'InstallMsi',
221 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Step::InstallMsi'->new($_) };
222  
223 declare 'RepeatedInstallMsi',
224 as ArrayRef[InstallMsi()];
225  
226 coerce 'RepeatedInstallMsi',
227 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Step::InstallMsi'->new($_) } @$_ ] };
228  
229 declare 'MapStringInstallMsi',
230 as HashRef[InstallMsi()];
231  
232 declare 'InstallDpkg',
233 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Step::InstallDpkg'];
234  
235 coerce 'InstallDpkg',
236 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Step::InstallDpkg'->new($_) };
237  
238 declare 'RepeatedInstallDpkg',
239 as ArrayRef[InstallDpkg()];
240  
241 coerce 'RepeatedInstallDpkg',
242 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Step::InstallDpkg'->new($_) } @$_ ] };
243  
244 declare 'MapStringInstallDpkg',
245 as HashRef[InstallDpkg()];
246  
247 declare 'InstallRpm',
248 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Step::InstallRpm'];
249  
250 coerce 'InstallRpm',
251 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Step::InstallRpm'->new($_) };
252  
253 declare 'RepeatedInstallRpm',
254 as ArrayRef[InstallRpm()];
255  
256 coerce 'RepeatedInstallRpm',
257 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Step::InstallRpm'->new($_) } @$_ ] };
258  
259 declare 'MapStringInstallRpm',
260 as HashRef[InstallRpm()];
261  
262 declare 'ExecFile',
263 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Step::ExecFile'];
264  
265 coerce 'ExecFile',
266 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Step::ExecFile'->new($_) };
267  
268 declare 'RepeatedExecFile',
269 as ArrayRef[ExecFile()];
270  
271 coerce 'RepeatedExecFile',
272 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Step::ExecFile'->new($_) } @$_ ] };
273  
274 declare 'MapStringExecFile',
275 as HashRef[ExecFile()];
276  
277 declare 'RunScript',
278 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Step::RunScript'];
279  
280 coerce 'RunScript',
281 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Step::RunScript'->new($_) };
282  
283 declare 'RepeatedRunScript',
284 as ArrayRef[RunScript()];
285  
286 coerce 'RepeatedRunScript',
287 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::SoftwareRecipe::Step::RunScript'->new($_) } @$_ ] };
288  
289 declare 'MapStringRunScript',
290 as HashRef[RunScript()];
291  
292 declare 'Interpreter',
293 as (Int | Str);
294  
295 declare 'LookupEffectiveGuestPolicyRequest',
296 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::LookupEffectiveGuestPolicyRequest'];
297  
298 coerce 'LookupEffectiveGuestPolicyRequest',
299 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::LookupEffectiveGuestPolicyRequest'->new($_) };
300  
301 declare 'RepeatedLookupEffectiveGuestPolicyRequest',
302 as ArrayRef[LookupEffectiveGuestPolicyRequest()];
303  
304 coerce 'RepeatedLookupEffectiveGuestPolicyRequest',
305 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::LookupEffectiveGuestPolicyRequest'->new($_) } @$_ ] };
306  
307 declare 'MapStringLookupEffectiveGuestPolicyRequest',
308 as HashRef[LookupEffectiveGuestPolicyRequest()];
309  
310 declare 'EffectiveGuestPolicy',
311 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::EffectiveGuestPolicy'];
312  
313 coerce 'EffectiveGuestPolicy',
314 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::EffectiveGuestPolicy'->new($_) };
315  
316 declare 'RepeatedEffectiveGuestPolicy',
317 as ArrayRef[EffectiveGuestPolicy()];
318  
319 coerce 'RepeatedEffectiveGuestPolicy',
320 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::EffectiveGuestPolicy'->new($_) } @$_ ] };
321  
322 declare 'MapStringEffectiveGuestPolicy',
323 as HashRef[EffectiveGuestPolicy()];
324  
325 declare 'SourcedPackage',
326 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::EffectiveGuestPolicy::SourcedPackage'];
327  
328 coerce 'SourcedPackage',
329 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::EffectiveGuestPolicy::SourcedPackage'->new($_) };
330  
331 declare 'RepeatedSourcedPackage',
332 as ArrayRef[SourcedPackage()];
333  
334 coerce 'RepeatedSourcedPackage',
335 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::EffectiveGuestPolicy::SourcedPackage'->new($_) } @$_ ] };
336  
337 declare 'MapStringSourcedPackage',
338 as HashRef[SourcedPackage()];
339  
340 declare 'SourcedPackageRepository',
341 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::EffectiveGuestPolicy::SourcedPackageRepository'];
342  
343 coerce 'SourcedPackageRepository',
344 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::EffectiveGuestPolicy::SourcedPackageRepository'->new($_) };
345  
346 declare 'RepeatedSourcedPackageRepository',
347 as ArrayRef[SourcedPackageRepository()];
348  
349 coerce 'RepeatedSourcedPackageRepository',
350 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::EffectiveGuestPolicy::SourcedPackageRepository'->new($_) } @$_ ] };
351  
352 declare 'MapStringSourcedPackageRepository',
353 as HashRef[SourcedPackageRepository()];
354  
355 declare 'SourcedSoftwareRecipe',
356 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::EffectiveGuestPolicy::SourcedSoftwareRecipe'];
357  
358 coerce 'SourcedSoftwareRecipe',
359 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::EffectiveGuestPolicy::SourcedSoftwareRecipe'->new($_) };
360  
361 declare 'RepeatedSourcedSoftwareRecipe',
362 as ArrayRef[SourcedSoftwareRecipe()];
363  
364 coerce 'RepeatedSourcedSoftwareRecipe',
365 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::GuestPolicies::EffectiveGuestPolicy::SourcedSoftwareRecipe'->new($_) } @$_ ] };
366  
367 declare 'MapStringSourcedSoftwareRecipe',
368 as HashRef[SourcedSoftwareRecipe()];
369  
370 1;
371  
372 __END__