V1/Common/Types.pm untested

filter: Statementstmt 0.0% 0 / 288 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 293 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::Cloudsecuritycompliance::V1::Common::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 'RegulatoryControlResponsibilityType',
11 as (Int | Str);
12  
13 declare 'EnforcementMode',
14 as (Int | Str);
15  
16 declare 'FrameworkCategory',
17 as (Int | Str);
18  
19 declare 'CloudControlCategory',
20 as (Int | Str);
21  
22 declare 'CloudProvider',
23 as (Int | Str);
24  
25 declare 'Severity',
26 as (Int | Str);
27  
28 declare 'RuleActionType',
29 as (Int | Str);
30  
31 declare 'TargetResourceType',
32 as (Int | Str);
33  
34 declare 'Framework',
35 as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Common::Framework'];
36  
37 coerce 'Framework',
38 from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::Framework'->new($_) };
39  
40 declare 'RepeatedFramework',
41 as ArrayRef[Framework()];
42  
43 coerce 'RepeatedFramework',
44 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::Framework'->new($_) } @$_ ] };
45  
46 declare 'MapStringFramework',
47 as HashRef[Framework()];
48  
49 declare 'FrameworkType',
50 as (Int | Str);
51  
52 declare 'CloudControlDetails',
53 as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Common::CloudControlDetails'];
54  
55 coerce 'CloudControlDetails',
56 from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::CloudControlDetails'->new($_) };
57  
58 declare 'RepeatedCloudControlDetails',
59 as ArrayRef[CloudControlDetails()];
60  
61 coerce 'RepeatedCloudControlDetails',
62 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::CloudControlDetails'->new($_) } @$_ ] };
63  
64 declare 'MapStringCloudControlDetails',
65 as HashRef[CloudControlDetails()];
66  
67 declare 'FrameworkReference',
68 as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Common::FrameworkReference'];
69  
70 coerce 'FrameworkReference',
71 from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::FrameworkReference'->new($_) };
72  
73 declare 'RepeatedFrameworkReference',
74 as ArrayRef[FrameworkReference()];
75  
76 coerce 'RepeatedFrameworkReference',
77 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::FrameworkReference'->new($_) } @$_ ] };
78  
79 declare 'MapStringFrameworkReference',
80 as HashRef[FrameworkReference()];
81  
82 declare 'Parameter',
83 as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Common::Parameter'];
84  
85 coerce 'Parameter',
86 from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::Parameter'->new($_) };
87  
88 declare 'RepeatedParameter',
89 as ArrayRef[Parameter()];
90  
91 coerce 'RepeatedParameter',
92 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::Parameter'->new($_) } @$_ ] };
93  
94 declare 'MapStringParameter',
95 as HashRef[Parameter()];
96  
97 declare 'CloudControl',
98 as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Common::CloudControl'];
99  
100 coerce 'CloudControl',
101 from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::CloudControl'->new($_) };
102  
103 declare 'RepeatedCloudControl',
104 as ArrayRef[CloudControl()];
105  
106 coerce 'RepeatedCloudControl',
107 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::CloudControl'->new($_) } @$_ ] };
108  
109 declare 'MapStringCloudControl',
110 as HashRef[CloudControl()];
111  
112 declare 'Type',
113 as (Int | Str);
114  
115 declare 'ParameterSpec',
116 as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Common::ParameterSpec'];
117  
118 coerce 'ParameterSpec',
119 from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::ParameterSpec'->new($_) };
120  
121 declare 'RepeatedParameterSpec',
122 as ArrayRef[ParameterSpec()];
123  
124 coerce 'RepeatedParameterSpec',
125 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::ParameterSpec'->new($_) } @$_ ] };
126  
127 declare 'MapStringParameterSpec',
128 as HashRef[ParameterSpec()];
129  
130 declare 'ValueType',
131 as (Int | Str);
132  
133 declare 'Validation',
134 as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Common::Validation'];
135  
136 coerce 'Validation',
137 from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::Validation'->new($_) };
138  
139 declare 'RepeatedValidation',
140 as ArrayRef[Validation()];
141  
142 coerce 'RepeatedValidation',
143 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::Validation'->new($_) } @$_ ] };
144  
145 declare 'MapStringValidation',
146 as HashRef[Validation()];
147  
148 declare 'AllowedValues',
149 as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Common::AllowedValues'];
150  
151 coerce 'AllowedValues',
152 from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::AllowedValues'->new($_) };
153  
154 declare 'RepeatedAllowedValues',
155 as ArrayRef[AllowedValues()];
156  
157 coerce 'RepeatedAllowedValues',
158 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::AllowedValues'->new($_) } @$_ ] };
159  
160 declare 'MapStringAllowedValues',
161 as HashRef[AllowedValues()];
162  
163 declare 'RegexpPattern',
164 as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Common::RegexpPattern'];
165  
166 coerce 'RegexpPattern',
167 from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::RegexpPattern'->new($_) };
168  
169 declare 'RepeatedRegexpPattern',
170 as ArrayRef[RegexpPattern()];
171  
172 coerce 'RepeatedRegexpPattern',
173 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::RegexpPattern'->new($_) } @$_ ] };
174  
175 declare 'MapStringRegexpPattern',
176 as HashRef[RegexpPattern()];
177  
178 declare 'IntRange',
179 as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Common::IntRange'];
180  
181 coerce 'IntRange',
182 from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::IntRange'->new($_) };
183  
184 declare 'RepeatedIntRange',
185 as ArrayRef[IntRange()];
186  
187 coerce 'RepeatedIntRange',
188 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::IntRange'->new($_) } @$_ ] };
189  
190 declare 'MapStringIntRange',
191 as HashRef[IntRange()];
192  
193 declare 'StringList',
194 as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Common::StringList'];
195  
196 coerce 'StringList',
197 from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::StringList'->new($_) };
198  
199 declare 'RepeatedStringList',
200 as ArrayRef[StringList()];
201  
202 coerce 'RepeatedStringList',
203 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::StringList'->new($_) } @$_ ] };
204  
205 declare 'MapStringStringList',
206 as HashRef[StringList()];
207  
208 declare 'ParamValue',
209 as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Common::ParamValue'];
210  
211 coerce 'ParamValue',
212 from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::ParamValue'->new($_) };
213  
214 declare 'RepeatedParamValue',
215 as ArrayRef[ParamValue()];
216  
217 coerce 'RepeatedParamValue',
218 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::ParamValue'->new($_) } @$_ ] };
219  
220 declare 'MapStringParamValue',
221 as HashRef[ParamValue()];
222  
223 declare 'ParameterSubstitutionRule',
224 as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Common::ParameterSubstitutionRule'];
225  
226 coerce 'ParameterSubstitutionRule',
227 from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::ParameterSubstitutionRule'->new($_) };
228  
229 declare 'RepeatedParameterSubstitutionRule',
230 as ArrayRef[ParameterSubstitutionRule()];
231  
232 coerce 'RepeatedParameterSubstitutionRule',
233 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::ParameterSubstitutionRule'->new($_) } @$_ ] };
234  
235 declare 'MapStringParameterSubstitutionRule',
236 as HashRef[ParameterSubstitutionRule()];
237  
238 declare 'AttributeSubstitutionRule',
239 as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Common::AttributeSubstitutionRule'];
240  
241 coerce 'AttributeSubstitutionRule',
242 from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::AttributeSubstitutionRule'->new($_) };
243  
244 declare 'RepeatedAttributeSubstitutionRule',
245 as ArrayRef[AttributeSubstitutionRule()];
246  
247 coerce 'RepeatedAttributeSubstitutionRule',
248 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::AttributeSubstitutionRule'->new($_) } @$_ ] };
249  
250 declare 'MapStringAttributeSubstitutionRule',
251 as HashRef[AttributeSubstitutionRule()];
252  
253 declare 'PlaceholderSubstitutionRule',
254 as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Common::PlaceholderSubstitutionRule'];
255  
256 coerce 'PlaceholderSubstitutionRule',
257 from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::PlaceholderSubstitutionRule'->new($_) };
258  
259 declare 'RepeatedPlaceholderSubstitutionRule',
260 as ArrayRef[PlaceholderSubstitutionRule()];
261  
262 coerce 'RepeatedPlaceholderSubstitutionRule',
263 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::PlaceholderSubstitutionRule'->new($_) } @$_ ] };
264  
265 declare 'MapStringPlaceholderSubstitutionRule',
266 as HashRef[PlaceholderSubstitutionRule()];
267  
268 declare 'Rule',
269 as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Common::Rule'];
270  
271 coerce 'Rule',
272 from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::Rule'->new($_) };
273  
274 declare 'RepeatedRule',
275 as ArrayRef[Rule()];
276  
277 coerce 'RepeatedRule',
278 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::Rule'->new($_) } @$_ ] };
279  
280 declare 'MapStringRule',
281 as HashRef[Rule()];
282  
283 declare 'CELExpression',
284 as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Common::CELExpression'];
285  
286 coerce 'CELExpression',
287 from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::CELExpression'->new($_) };
288  
289 declare 'RepeatedCELExpression',
290 as ArrayRef[CELExpression()];
291  
292 coerce 'RepeatedCELExpression',
293 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::CELExpression'->new($_) } @$_ ] };
294  
295 declare 'MapStringCELExpression',
296 as HashRef[CELExpression()];
297  
298 declare 'OperationMetadata',
299 as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Common::OperationMetadata'];
300  
301 coerce 'OperationMetadata',
302 from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::OperationMetadata'->new($_) };
303  
304 declare 'RepeatedOperationMetadata',
305 as ArrayRef[OperationMetadata()];
306  
307 coerce 'RepeatedOperationMetadata',
308 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::OperationMetadata'->new($_) } @$_ ] };
309  
310 declare 'MapStringOperationMetadata',
311 as HashRef[OperationMetadata()];
312  
313 declare 'Control',
314 as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Common::Control'];
315  
316 coerce 'Control',
317 from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::Control'->new($_) };
318  
319 declare 'RepeatedControl',
320 as ArrayRef[Control()];
321  
322 coerce 'RepeatedControl',
323 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::Control'->new($_) } @$_ ] };
324  
325 declare 'MapStringControl',
326 as HashRef[Control()];
327  
328 declare 'Family',
329 as (Int | Str);
330  
331 declare 'ControlFamily',
332 as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Common::ControlFamily'];
333  
334 coerce 'ControlFamily',
335 from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::ControlFamily'->new($_) };
336  
337 declare 'RepeatedControlFamily',
338 as ArrayRef[ControlFamily()];
339  
340 coerce 'RepeatedControlFamily',
341 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Common::ControlFamily'->new($_) } @$_ ] };
342  
343 declare 'MapStringControlFamily',
344 as HashRef[ControlFamily()];
345  
346 1;
347  
348 __END__