Iam/V1/Policy/Types.pm untested

filter: Statementstmt 0.0% 0 / 110 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 115 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Iam::V1::Policy::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 'Policy',
11 as InstanceOf['Google::Iam::V1::Policy::Policy'];
12  
13 coerce 'Policy',
14 from HashRef, via { 'Google::Iam::V1::Policy::Policy'->new($_) };
15  
16 declare 'RepeatedPolicy',
17 as ArrayRef[Policy()];
18  
19 coerce 'RepeatedPolicy',
20 from ArrayRef[HashRef], via { [ map { 'Google::Iam::V1::Policy::Policy'->new($_) } @$_ ] };
21  
22 declare 'MapStringPolicy',
23 as HashRef[Policy()];
24  
25 declare 'Binding',
26 as InstanceOf['Google::Iam::V1::Policy::Binding'];
27  
28 coerce 'Binding',
29 from HashRef, via { 'Google::Iam::V1::Policy::Binding'->new($_) };
30  
31 declare 'RepeatedBinding',
32 as ArrayRef[Binding()];
33  
34 coerce 'RepeatedBinding',
35 from ArrayRef[HashRef], via { [ map { 'Google::Iam::V1::Policy::Binding'->new($_) } @$_ ] };
36  
37 declare 'MapStringBinding',
38 as HashRef[Binding()];
39  
40 declare 'AuditConfig',
41 as InstanceOf['Google::Iam::V1::Policy::AuditConfig'];
42  
43 coerce 'AuditConfig',
44 from HashRef, via { 'Google::Iam::V1::Policy::AuditConfig'->new($_) };
45  
46 declare 'RepeatedAuditConfig',
47 as ArrayRef[AuditConfig()];
48  
49 coerce 'RepeatedAuditConfig',
50 from ArrayRef[HashRef], via { [ map { 'Google::Iam::V1::Policy::AuditConfig'->new($_) } @$_ ] };
51  
52 declare 'MapStringAuditConfig',
53 as HashRef[AuditConfig()];
54  
55 declare 'AuditLogConfig',
56 as InstanceOf['Google::Iam::V1::Policy::AuditLogConfig'];
57  
58 coerce 'AuditLogConfig',
59 from HashRef, via { 'Google::Iam::V1::Policy::AuditLogConfig'->new($_) };
60  
61 declare 'RepeatedAuditLogConfig',
62 as ArrayRef[AuditLogConfig()];
63  
64 coerce 'RepeatedAuditLogConfig',
65 from ArrayRef[HashRef], via { [ map { 'Google::Iam::V1::Policy::AuditLogConfig'->new($_) } @$_ ] };
66  
67 declare 'MapStringAuditLogConfig',
68 as HashRef[AuditLogConfig()];
69  
70 declare 'LogType',
71 as (Int | Str);
72  
73 declare 'PolicyDelta',
74 as InstanceOf['Google::Iam::V1::Policy::PolicyDelta'];
75  
76 coerce 'PolicyDelta',
77 from HashRef, via { 'Google::Iam::V1::Policy::PolicyDelta'->new($_) };
78  
79 declare 'RepeatedPolicyDelta',
80 as ArrayRef[PolicyDelta()];
81  
82 coerce 'RepeatedPolicyDelta',
83 from ArrayRef[HashRef], via { [ map { 'Google::Iam::V1::Policy::PolicyDelta'->new($_) } @$_ ] };
84  
85 declare 'MapStringPolicyDelta',
86 as HashRef[PolicyDelta()];
87  
88 declare 'BindingDelta',
89 as InstanceOf['Google::Iam::V1::Policy::BindingDelta'];
90  
91 coerce 'BindingDelta',
92 from HashRef, via { 'Google::Iam::V1::Policy::BindingDelta'->new($_) };
93  
94 declare 'RepeatedBindingDelta',
95 as ArrayRef[BindingDelta()];
96  
97 coerce 'RepeatedBindingDelta',
98 from ArrayRef[HashRef], via { [ map { 'Google::Iam::V1::Policy::BindingDelta'->new($_) } @$_ ] };
99  
100 declare 'MapStringBindingDelta',
101 as HashRef[BindingDelta()];
102  
103 declare 'Action',
104 as (Int | Str);
105  
106 declare 'AuditConfigDelta',
107 as InstanceOf['Google::Iam::V1::Policy::AuditConfigDelta'];
108  
109 coerce 'AuditConfigDelta',
110 from HashRef, via { 'Google::Iam::V1::Policy::AuditConfigDelta'->new($_) };
111  
112 declare 'RepeatedAuditConfigDelta',
113 as ArrayRef[AuditConfigDelta()];
114  
115 coerce 'RepeatedAuditConfigDelta',
116 from ArrayRef[HashRef], via { [ map { 'Google::Iam::V1::Policy::AuditConfigDelta'->new($_) } @$_ ] };
117  
118 declare 'MapStringAuditConfigDelta',
119 as HashRef[AuditConfigDelta()];
120  
121 declare 'Action',
122 as (Int | Str);
123  
124 1;
125  
126 __END__