V3beta/Troubleshooter/Types.pm untested

filter: Statementstmt 0.0% 0 / 348 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 353 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::Policytroubleshooter::Iam::V3beta::Troubleshooter::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 'AllowAccessState',
11 as (Int | Str);
12  
13 declare 'DenyAccessState',
14 as (Int | Str);
15  
16 declare 'RolePermissionInclusionState',
17 as (Int | Str);
18  
19 declare 'PermissionPatternMatchingState',
20 as (Int | Str);
21  
22 declare 'MembershipMatchingState',
23 as (Int | Str);
24  
25 declare 'HeuristicRelevance',
26 as (Int | Str);
27  
28 declare 'TroubleshootIamPolicyRequest',
29 as InstanceOf['Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::TroubleshootIamPolicyRequest'];
30  
31 coerce 'TroubleshootIamPolicyRequest',
32 from HashRef, via { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::TroubleshootIamPolicyRequest'->new($_) };
33  
34 declare 'RepeatedTroubleshootIamPolicyRequest',
35 as ArrayRef[TroubleshootIamPolicyRequest()];
36  
37 coerce 'RepeatedTroubleshootIamPolicyRequest',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::TroubleshootIamPolicyRequest'->new($_) } @$_ ] };
39  
40 declare 'MapStringTroubleshootIamPolicyRequest',
41 as HashRef[TroubleshootIamPolicyRequest()];
42  
43 declare 'TroubleshootIamPolicyResponse',
44 as InstanceOf['Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::TroubleshootIamPolicyResponse'];
45  
46 coerce 'TroubleshootIamPolicyResponse',
47 from HashRef, via { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::TroubleshootIamPolicyResponse'->new($_) };
48  
49 declare 'RepeatedTroubleshootIamPolicyResponse',
50 as ArrayRef[TroubleshootIamPolicyResponse()];
51  
52 coerce 'RepeatedTroubleshootIamPolicyResponse',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::TroubleshootIamPolicyResponse'->new($_) } @$_ ] };
54  
55 declare 'MapStringTroubleshootIamPolicyResponse',
56 as HashRef[TroubleshootIamPolicyResponse()];
57  
58 declare 'OverallAccessState',
59 as (Int | Str);
60  
61 declare 'AccessTuple',
62 as InstanceOf['Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::AccessTuple'];
63  
64 coerce 'AccessTuple',
65 from HashRef, via { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::AccessTuple'->new($_) };
66  
67 declare 'RepeatedAccessTuple',
68 as ArrayRef[AccessTuple()];
69  
70 coerce 'RepeatedAccessTuple',
71 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::AccessTuple'->new($_) } @$_ ] };
72  
73 declare 'MapStringAccessTuple',
74 as HashRef[AccessTuple()];
75  
76 declare 'ConditionContext',
77 as InstanceOf['Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::ConditionContext'];
78  
79 coerce 'ConditionContext',
80 from HashRef, via { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::ConditionContext'->new($_) };
81  
82 declare 'RepeatedConditionContext',
83 as ArrayRef[ConditionContext()];
84  
85 coerce 'RepeatedConditionContext',
86 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::ConditionContext'->new($_) } @$_ ] };
87  
88 declare 'MapStringConditionContext',
89 as HashRef[ConditionContext()];
90  
91 declare 'Resource',
92 as InstanceOf['Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::ConditionContext::Resource'];
93  
94 coerce 'Resource',
95 from HashRef, via { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::ConditionContext::Resource'->new($_) };
96  
97 declare 'RepeatedResource',
98 as ArrayRef[Resource()];
99  
100 coerce 'RepeatedResource',
101 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::ConditionContext::Resource'->new($_) } @$_ ] };
102  
103 declare 'MapStringResource',
104 as HashRef[Resource()];
105  
106 declare 'Peer',
107 as InstanceOf['Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::ConditionContext::Peer'];
108  
109 coerce 'Peer',
110 from HashRef, via { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::ConditionContext::Peer'->new($_) };
111  
112 declare 'RepeatedPeer',
113 as ArrayRef[Peer()];
114  
115 coerce 'RepeatedPeer',
116 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::ConditionContext::Peer'->new($_) } @$_ ] };
117  
118 declare 'MapStringPeer',
119 as HashRef[Peer()];
120  
121 declare 'Request',
122 as InstanceOf['Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::ConditionContext::Request'];
123  
124 coerce 'Request',
125 from HashRef, via { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::ConditionContext::Request'->new($_) };
126  
127 declare 'RepeatedRequest',
128 as ArrayRef[Request()];
129  
130 coerce 'RepeatedRequest',
131 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::ConditionContext::Request'->new($_) } @$_ ] };
132  
133 declare 'MapStringRequest',
134 as HashRef[Request()];
135  
136 declare 'EffectiveTag',
137 as InstanceOf['Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::ConditionContext::EffectiveTag'];
138  
139 coerce 'EffectiveTag',
140 from HashRef, via { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::ConditionContext::EffectiveTag'->new($_) };
141  
142 declare 'RepeatedEffectiveTag',
143 as ArrayRef[EffectiveTag()];
144  
145 coerce 'RepeatedEffectiveTag',
146 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::ConditionContext::EffectiveTag'->new($_) } @$_ ] };
147  
148 declare 'MapStringEffectiveTag',
149 as HashRef[EffectiveTag()];
150  
151 declare 'AllowPolicyExplanation',
152 as InstanceOf['Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::AllowPolicyExplanation'];
153  
154 coerce 'AllowPolicyExplanation',
155 from HashRef, via { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::AllowPolicyExplanation'->new($_) };
156  
157 declare 'RepeatedAllowPolicyExplanation',
158 as ArrayRef[AllowPolicyExplanation()];
159  
160 coerce 'RepeatedAllowPolicyExplanation',
161 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::AllowPolicyExplanation'->new($_) } @$_ ] };
162  
163 declare 'MapStringAllowPolicyExplanation',
164 as HashRef[AllowPolicyExplanation()];
165  
166 declare 'ExplainedAllowPolicy',
167 as InstanceOf['Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::ExplainedAllowPolicy'];
168  
169 coerce 'ExplainedAllowPolicy',
170 from HashRef, via { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::ExplainedAllowPolicy'->new($_) };
171  
172 declare 'RepeatedExplainedAllowPolicy',
173 as ArrayRef[ExplainedAllowPolicy()];
174  
175 coerce 'RepeatedExplainedAllowPolicy',
176 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::ExplainedAllowPolicy'->new($_) } @$_ ] };
177  
178 declare 'MapStringExplainedAllowPolicy',
179 as HashRef[ExplainedAllowPolicy()];
180  
181 declare 'AllowBindingExplanation',
182 as InstanceOf['Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::AllowBindingExplanation'];
183  
184 coerce 'AllowBindingExplanation',
185 from HashRef, via { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::AllowBindingExplanation'->new($_) };
186  
187 declare 'RepeatedAllowBindingExplanation',
188 as ArrayRef[AllowBindingExplanation()];
189  
190 coerce 'RepeatedAllowBindingExplanation',
191 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::AllowBindingExplanation'->new($_) } @$_ ] };
192  
193 declare 'MapStringAllowBindingExplanation',
194 as HashRef[AllowBindingExplanation()];
195  
196 declare 'AnnotatedAllowMembership',
197 as InstanceOf['Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::AllowBindingExplanation::AnnotatedAllowMembership'];
198  
199 coerce 'AnnotatedAllowMembership',
200 from HashRef, via { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::AllowBindingExplanation::AnnotatedAllowMembership'->new($_) };
201  
202 declare 'RepeatedAnnotatedAllowMembership',
203 as ArrayRef[AnnotatedAllowMembership()];
204  
205 coerce 'RepeatedAnnotatedAllowMembership',
206 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::AllowBindingExplanation::AnnotatedAllowMembership'->new($_) } @$_ ] };
207  
208 declare 'MapStringAnnotatedAllowMembership',
209 as HashRef[AnnotatedAllowMembership()];
210  
211 declare 'MembershipsEntry',
212 as InstanceOf['Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::AllowBindingExplanation::MembershipsEntry'];
213  
214 coerce 'MembershipsEntry',
215 from HashRef, via { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::AllowBindingExplanation::MembershipsEntry'->new($_) };
216  
217 declare 'RepeatedMembershipsEntry',
218 as ArrayRef[MembershipsEntry()];
219  
220 coerce 'RepeatedMembershipsEntry',
221 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::AllowBindingExplanation::MembershipsEntry'->new($_) } @$_ ] };
222  
223 declare 'MapStringMembershipsEntry',
224 as HashRef[MembershipsEntry()];
225  
226 declare 'DenyPolicyExplanation',
227 as InstanceOf['Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::DenyPolicyExplanation'];
228  
229 coerce 'DenyPolicyExplanation',
230 from HashRef, via { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::DenyPolicyExplanation'->new($_) };
231  
232 declare 'RepeatedDenyPolicyExplanation',
233 as ArrayRef[DenyPolicyExplanation()];
234  
235 coerce 'RepeatedDenyPolicyExplanation',
236 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::DenyPolicyExplanation'->new($_) } @$_ ] };
237  
238 declare 'MapStringDenyPolicyExplanation',
239 as HashRef[DenyPolicyExplanation()];
240  
241 declare 'ExplainedDenyResource',
242 as InstanceOf['Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::ExplainedDenyResource'];
243  
244 coerce 'ExplainedDenyResource',
245 from HashRef, via { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::ExplainedDenyResource'->new($_) };
246  
247 declare 'RepeatedExplainedDenyResource',
248 as ArrayRef[ExplainedDenyResource()];
249  
250 coerce 'RepeatedExplainedDenyResource',
251 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::ExplainedDenyResource'->new($_) } @$_ ] };
252  
253 declare 'MapStringExplainedDenyResource',
254 as HashRef[ExplainedDenyResource()];
255  
256 declare 'ExplainedDenyPolicy',
257 as InstanceOf['Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::ExplainedDenyPolicy'];
258  
259 coerce 'ExplainedDenyPolicy',
260 from HashRef, via { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::ExplainedDenyPolicy'->new($_) };
261  
262 declare 'RepeatedExplainedDenyPolicy',
263 as ArrayRef[ExplainedDenyPolicy()];
264  
265 coerce 'RepeatedExplainedDenyPolicy',
266 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::ExplainedDenyPolicy'->new($_) } @$_ ] };
267  
268 declare 'MapStringExplainedDenyPolicy',
269 as HashRef[ExplainedDenyPolicy()];
270  
271 declare 'DenyRuleExplanation',
272 as InstanceOf['Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::DenyRuleExplanation'];
273  
274 coerce 'DenyRuleExplanation',
275 from HashRef, via { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::DenyRuleExplanation'->new($_) };
276  
277 declare 'RepeatedDenyRuleExplanation',
278 as ArrayRef[DenyRuleExplanation()];
279  
280 coerce 'RepeatedDenyRuleExplanation',
281 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::DenyRuleExplanation'->new($_) } @$_ ] };
282  
283 declare 'MapStringDenyRuleExplanation',
284 as HashRef[DenyRuleExplanation()];
285  
286 declare 'AnnotatedPermissionMatching',
287 as InstanceOf['Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::DenyRuleExplanation::AnnotatedPermissionMatching'];
288  
289 coerce 'AnnotatedPermissionMatching',
290 from HashRef, via { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::DenyRuleExplanation::AnnotatedPermissionMatching'->new($_) };
291  
292 declare 'RepeatedAnnotatedPermissionMatching',
293 as ArrayRef[AnnotatedPermissionMatching()];
294  
295 coerce 'RepeatedAnnotatedPermissionMatching',
296 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::DenyRuleExplanation::AnnotatedPermissionMatching'->new($_) } @$_ ] };
297  
298 declare 'MapStringAnnotatedPermissionMatching',
299 as HashRef[AnnotatedPermissionMatching()];
300  
301 declare 'AnnotatedDenyPrincipalMatching',
302 as InstanceOf['Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::DenyRuleExplanation::AnnotatedDenyPrincipalMatching'];
303  
304 coerce 'AnnotatedDenyPrincipalMatching',
305 from HashRef, via { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::DenyRuleExplanation::AnnotatedDenyPrincipalMatching'->new($_) };
306  
307 declare 'RepeatedAnnotatedDenyPrincipalMatching',
308 as ArrayRef[AnnotatedDenyPrincipalMatching()];
309  
310 coerce 'RepeatedAnnotatedDenyPrincipalMatching',
311 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::DenyRuleExplanation::AnnotatedDenyPrincipalMatching'->new($_) } @$_ ] };
312  
313 declare 'MapStringAnnotatedDenyPrincipalMatching',
314 as HashRef[AnnotatedDenyPrincipalMatching()];
315  
316 declare 'DeniedPermissionsEntry',
317 as InstanceOf['Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::DenyRuleExplanation::DeniedPermissionsEntry'];
318  
319 coerce 'DeniedPermissionsEntry',
320 from HashRef, via { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::DenyRuleExplanation::DeniedPermissionsEntry'->new($_) };
321  
322 declare 'RepeatedDeniedPermissionsEntry',
323 as ArrayRef[DeniedPermissionsEntry()];
324  
325 coerce 'RepeatedDeniedPermissionsEntry',
326 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::DenyRuleExplanation::DeniedPermissionsEntry'->new($_) } @$_ ] };
327  
328 declare 'MapStringDeniedPermissionsEntry',
329 as HashRef[DeniedPermissionsEntry()];
330  
331 declare 'ExceptionPermissionsEntry',
332 as InstanceOf['Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::DenyRuleExplanation::ExceptionPermissionsEntry'];
333  
334 coerce 'ExceptionPermissionsEntry',
335 from HashRef, via { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::DenyRuleExplanation::ExceptionPermissionsEntry'->new($_) };
336  
337 declare 'RepeatedExceptionPermissionsEntry',
338 as ArrayRef[ExceptionPermissionsEntry()];
339  
340 coerce 'RepeatedExceptionPermissionsEntry',
341 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::DenyRuleExplanation::ExceptionPermissionsEntry'->new($_) } @$_ ] };
342  
343 declare 'MapStringExceptionPermissionsEntry',
344 as HashRef[ExceptionPermissionsEntry()];
345  
346 declare 'DeniedPrincipalsEntry',
347 as InstanceOf['Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::DenyRuleExplanation::DeniedPrincipalsEntry'];
348  
349 coerce 'DeniedPrincipalsEntry',
350 from HashRef, via { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::DenyRuleExplanation::DeniedPrincipalsEntry'->new($_) };
351  
352 declare 'RepeatedDeniedPrincipalsEntry',
353 as ArrayRef[DeniedPrincipalsEntry()];
354  
355 coerce 'RepeatedDeniedPrincipalsEntry',
356 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::DenyRuleExplanation::DeniedPrincipalsEntry'->new($_) } @$_ ] };
357  
358 declare 'MapStringDeniedPrincipalsEntry',
359 as HashRef[DeniedPrincipalsEntry()];
360  
361 declare 'ExceptionPrincipalsEntry',
362 as InstanceOf['Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::DenyRuleExplanation::ExceptionPrincipalsEntry'];
363  
364 coerce 'ExceptionPrincipalsEntry',
365 from HashRef, via { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::DenyRuleExplanation::ExceptionPrincipalsEntry'->new($_) };
366  
367 declare 'RepeatedExceptionPrincipalsEntry',
368 as ArrayRef[ExceptionPrincipalsEntry()];
369  
370 coerce 'RepeatedExceptionPrincipalsEntry',
371 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::DenyRuleExplanation::ExceptionPrincipalsEntry'->new($_) } @$_ ] };
372  
373 declare 'MapStringExceptionPrincipalsEntry',
374 as HashRef[ExceptionPrincipalsEntry()];
375  
376 declare 'ConditionExplanation',
377 as InstanceOf['Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::ConditionExplanation'];
378  
379 coerce 'ConditionExplanation',
380 from HashRef, via { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::ConditionExplanation'->new($_) };
381  
382 declare 'RepeatedConditionExplanation',
383 as ArrayRef[ConditionExplanation()];
384  
385 coerce 'RepeatedConditionExplanation',
386 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::ConditionExplanation'->new($_) } @$_ ] };
387  
388 declare 'MapStringConditionExplanation',
389 as HashRef[ConditionExplanation()];
390  
391 declare 'EvaluationState',
392 as InstanceOf['Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::ConditionExplanation::EvaluationState'];
393  
394 coerce 'EvaluationState',
395 from HashRef, via { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::ConditionExplanation::EvaluationState'->new($_) };
396  
397 declare 'RepeatedEvaluationState',
398 as ArrayRef[EvaluationState()];
399  
400 coerce 'RepeatedEvaluationState',
401 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Policytroubleshooter::Iam::V3beta::Troubleshooter::ConditionExplanation::EvaluationState'->new($_) } @$_ ] };
402  
403 declare 'MapStringEvaluationState',
404 as HashRef[EvaluationState()];
405  
406 1;
407  
408 __END__