V1/CommonResources/Types.pm untested

filter: Statementstmt 0.0% 0 / 202 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 207 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::Gkemulticloud::V1::CommonResources::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 'Jwk',
11 as InstanceOf['Google::Cloud::Gkemulticloud::V1::CommonResources::Jwk'];
12  
13 coerce 'Jwk',
14 from HashRef, via { 'Google::Cloud::Gkemulticloud::V1::CommonResources::Jwk'->new($_) };
15  
16 declare 'RepeatedJwk',
17 as ArrayRef[Jwk()];
18  
19 coerce 'RepeatedJwk',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkemulticloud::V1::CommonResources::Jwk'->new($_) } @$_ ] };
21  
22 declare 'MapStringJwk',
23 as HashRef[Jwk()];
24  
25 declare 'WorkloadIdentityConfig',
26 as InstanceOf['Google::Cloud::Gkemulticloud::V1::CommonResources::WorkloadIdentityConfig'];
27  
28 coerce 'WorkloadIdentityConfig',
29 from HashRef, via { 'Google::Cloud::Gkemulticloud::V1::CommonResources::WorkloadIdentityConfig'->new($_) };
30  
31 declare 'RepeatedWorkloadIdentityConfig',
32 as ArrayRef[WorkloadIdentityConfig()];
33  
34 coerce 'RepeatedWorkloadIdentityConfig',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkemulticloud::V1::CommonResources::WorkloadIdentityConfig'->new($_) } @$_ ] };
36  
37 declare 'MapStringWorkloadIdentityConfig',
38 as HashRef[WorkloadIdentityConfig()];
39  
40 declare 'MaxPodsConstraint',
41 as InstanceOf['Google::Cloud::Gkemulticloud::V1::CommonResources::MaxPodsConstraint'];
42  
43 coerce 'MaxPodsConstraint',
44 from HashRef, via { 'Google::Cloud::Gkemulticloud::V1::CommonResources::MaxPodsConstraint'->new($_) };
45  
46 declare 'RepeatedMaxPodsConstraint',
47 as ArrayRef[MaxPodsConstraint()];
48  
49 coerce 'RepeatedMaxPodsConstraint',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkemulticloud::V1::CommonResources::MaxPodsConstraint'->new($_) } @$_ ] };
51  
52 declare 'MapStringMaxPodsConstraint',
53 as HashRef[MaxPodsConstraint()];
54  
55 declare 'OperationMetadata',
56 as InstanceOf['Google::Cloud::Gkemulticloud::V1::CommonResources::OperationMetadata'];
57  
58 coerce 'OperationMetadata',
59 from HashRef, via { 'Google::Cloud::Gkemulticloud::V1::CommonResources::OperationMetadata'->new($_) };
60  
61 declare 'RepeatedOperationMetadata',
62 as ArrayRef[OperationMetadata()];
63  
64 coerce 'RepeatedOperationMetadata',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkemulticloud::V1::CommonResources::OperationMetadata'->new($_) } @$_ ] };
66  
67 declare 'MapStringOperationMetadata',
68 as HashRef[OperationMetadata()];
69  
70 declare 'NodeTaint',
71 as InstanceOf['Google::Cloud::Gkemulticloud::V1::CommonResources::NodeTaint'];
72  
73 coerce 'NodeTaint',
74 from HashRef, via { 'Google::Cloud::Gkemulticloud::V1::CommonResources::NodeTaint'->new($_) };
75  
76 declare 'RepeatedNodeTaint',
77 as ArrayRef[NodeTaint()];
78  
79 coerce 'RepeatedNodeTaint',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkemulticloud::V1::CommonResources::NodeTaint'->new($_) } @$_ ] };
81  
82 declare 'MapStringNodeTaint',
83 as HashRef[NodeTaint()];
84  
85 declare 'Effect',
86 as (Int | Str);
87  
88 declare 'NodeKubeletConfig',
89 as InstanceOf['Google::Cloud::Gkemulticloud::V1::CommonResources::NodeKubeletConfig'];
90  
91 coerce 'NodeKubeletConfig',
92 from HashRef, via { 'Google::Cloud::Gkemulticloud::V1::CommonResources::NodeKubeletConfig'->new($_) };
93  
94 declare 'RepeatedNodeKubeletConfig',
95 as ArrayRef[NodeKubeletConfig()];
96  
97 coerce 'RepeatedNodeKubeletConfig',
98 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkemulticloud::V1::CommonResources::NodeKubeletConfig'->new($_) } @$_ ] };
99  
100 declare 'MapStringNodeKubeletConfig',
101 as HashRef[NodeKubeletConfig()];
102  
103 declare 'Fleet',
104 as InstanceOf['Google::Cloud::Gkemulticloud::V1::CommonResources::Fleet'];
105  
106 coerce 'Fleet',
107 from HashRef, via { 'Google::Cloud::Gkemulticloud::V1::CommonResources::Fleet'->new($_) };
108  
109 declare 'RepeatedFleet',
110 as ArrayRef[Fleet()];
111  
112 coerce 'RepeatedFleet',
113 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkemulticloud::V1::CommonResources::Fleet'->new($_) } @$_ ] };
114  
115 declare 'MapStringFleet',
116 as HashRef[Fleet()];
117  
118 declare 'LoggingConfig',
119 as InstanceOf['Google::Cloud::Gkemulticloud::V1::CommonResources::LoggingConfig'];
120  
121 coerce 'LoggingConfig',
122 from HashRef, via { 'Google::Cloud::Gkemulticloud::V1::CommonResources::LoggingConfig'->new($_) };
123  
124 declare 'RepeatedLoggingConfig',
125 as ArrayRef[LoggingConfig()];
126  
127 coerce 'RepeatedLoggingConfig',
128 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkemulticloud::V1::CommonResources::LoggingConfig'->new($_) } @$_ ] };
129  
130 declare 'MapStringLoggingConfig',
131 as HashRef[LoggingConfig()];
132  
133 declare 'LoggingComponentConfig',
134 as InstanceOf['Google::Cloud::Gkemulticloud::V1::CommonResources::LoggingComponentConfig'];
135  
136 coerce 'LoggingComponentConfig',
137 from HashRef, via { 'Google::Cloud::Gkemulticloud::V1::CommonResources::LoggingComponentConfig'->new($_) };
138  
139 declare 'RepeatedLoggingComponentConfig',
140 as ArrayRef[LoggingComponentConfig()];
141  
142 coerce 'RepeatedLoggingComponentConfig',
143 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkemulticloud::V1::CommonResources::LoggingComponentConfig'->new($_) } @$_ ] };
144  
145 declare 'MapStringLoggingComponentConfig',
146 as HashRef[LoggingComponentConfig()];
147  
148 declare 'Component',
149 as (Int | Str);
150  
151 declare 'MonitoringConfig',
152 as InstanceOf['Google::Cloud::Gkemulticloud::V1::CommonResources::MonitoringConfig'];
153  
154 coerce 'MonitoringConfig',
155 from HashRef, via { 'Google::Cloud::Gkemulticloud::V1::CommonResources::MonitoringConfig'->new($_) };
156  
157 declare 'RepeatedMonitoringConfig',
158 as ArrayRef[MonitoringConfig()];
159  
160 coerce 'RepeatedMonitoringConfig',
161 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkemulticloud::V1::CommonResources::MonitoringConfig'->new($_) } @$_ ] };
162  
163 declare 'MapStringMonitoringConfig',
164 as HashRef[MonitoringConfig()];
165  
166 declare 'ManagedPrometheusConfig',
167 as InstanceOf['Google::Cloud::Gkemulticloud::V1::CommonResources::ManagedPrometheusConfig'];
168  
169 coerce 'ManagedPrometheusConfig',
170 from HashRef, via { 'Google::Cloud::Gkemulticloud::V1::CommonResources::ManagedPrometheusConfig'->new($_) };
171  
172 declare 'RepeatedManagedPrometheusConfig',
173 as ArrayRef[ManagedPrometheusConfig()];
174  
175 coerce 'RepeatedManagedPrometheusConfig',
176 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkemulticloud::V1::CommonResources::ManagedPrometheusConfig'->new($_) } @$_ ] };
177  
178 declare 'MapStringManagedPrometheusConfig',
179 as HashRef[ManagedPrometheusConfig()];
180  
181 declare 'CloudMonitoringConfig',
182 as InstanceOf['Google::Cloud::Gkemulticloud::V1::CommonResources::CloudMonitoringConfig'];
183  
184 coerce 'CloudMonitoringConfig',
185 from HashRef, via { 'Google::Cloud::Gkemulticloud::V1::CommonResources::CloudMonitoringConfig'->new($_) };
186  
187 declare 'RepeatedCloudMonitoringConfig',
188 as ArrayRef[CloudMonitoringConfig()];
189  
190 coerce 'RepeatedCloudMonitoringConfig',
191 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkemulticloud::V1::CommonResources::CloudMonitoringConfig'->new($_) } @$_ ] };
192  
193 declare 'MapStringCloudMonitoringConfig',
194 as HashRef[CloudMonitoringConfig()];
195  
196 declare 'BinaryAuthorization',
197 as InstanceOf['Google::Cloud::Gkemulticloud::V1::CommonResources::BinaryAuthorization'];
198  
199 coerce 'BinaryAuthorization',
200 from HashRef, via { 'Google::Cloud::Gkemulticloud::V1::CommonResources::BinaryAuthorization'->new($_) };
201  
202 declare 'RepeatedBinaryAuthorization',
203 as ArrayRef[BinaryAuthorization()];
204  
205 coerce 'RepeatedBinaryAuthorization',
206 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkemulticloud::V1::CommonResources::BinaryAuthorization'->new($_) } @$_ ] };
207  
208 declare 'MapStringBinaryAuthorization',
209 as HashRef[BinaryAuthorization()];
210  
211 declare 'EvaluationMode',
212 as (Int | Str);
213  
214 declare 'SecurityPostureConfig',
215 as InstanceOf['Google::Cloud::Gkemulticloud::V1::CommonResources::SecurityPostureConfig'];
216  
217 coerce 'SecurityPostureConfig',
218 from HashRef, via { 'Google::Cloud::Gkemulticloud::V1::CommonResources::SecurityPostureConfig'->new($_) };
219  
220 declare 'RepeatedSecurityPostureConfig',
221 as ArrayRef[SecurityPostureConfig()];
222  
223 coerce 'RepeatedSecurityPostureConfig',
224 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gkemulticloud::V1::CommonResources::SecurityPostureConfig'->new($_) } @$_ ] };
225  
226 declare 'MapStringSecurityPostureConfig',
227 as HashRef[SecurityPostureConfig()];
228  
229 declare 'VulnerabilityMode',
230 as (Int | Str);
231  
232 1;
233  
234 __END__