V1/Rule/Types.pm untested

filter: Statementstmt 0.0% 0 / 374 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 379 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::Chronicle::V1::Rule::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 'RunFrequency',
11 as (Int | Str);
12  
13 declare 'RuleType',
14 as (Int | Str);
15  
16 declare 'RuleView',
17 as (Int | Str);
18  
19 declare 'Rule',
20 as InstanceOf['Google::Cloud::Chronicle::V1::Rule::Rule'];
21  
22 coerce 'Rule',
23 from HashRef, via { 'Google::Cloud::Chronicle::V1::Rule::Rule'->new($_) };
24  
25 declare 'RepeatedRule',
26 as ArrayRef[Rule()];
27  
28 coerce 'RepeatedRule',
29 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Rule::Rule'->new($_) } @$_ ] };
30  
31 declare 'MapStringRule',
32 as HashRef[Rule()];
33  
34 declare 'CompilationState',
35 as (Int | Str);
36  
37 declare 'MetadataEntry',
38 as InstanceOf['Google::Cloud::Chronicle::V1::Rule::Rule::MetadataEntry'];
39  
40 coerce 'MetadataEntry',
41 from HashRef, via { 'Google::Cloud::Chronicle::V1::Rule::Rule::MetadataEntry'->new($_) };
42  
43 declare 'RepeatedMetadataEntry',
44 as ArrayRef[MetadataEntry()];
45  
46 coerce 'RepeatedMetadataEntry',
47 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Rule::Rule::MetadataEntry'->new($_) } @$_ ] };
48  
49 declare 'MapStringMetadataEntry',
50 as HashRef[MetadataEntry()];
51  
52 declare 'RuleDeployment',
53 as InstanceOf['Google::Cloud::Chronicle::V1::Rule::RuleDeployment'];
54  
55 coerce 'RuleDeployment',
56 from HashRef, via { 'Google::Cloud::Chronicle::V1::Rule::RuleDeployment'->new($_) };
57  
58 declare 'RepeatedRuleDeployment',
59 as ArrayRef[RuleDeployment()];
60  
61 coerce 'RepeatedRuleDeployment',
62 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Rule::RuleDeployment'->new($_) } @$_ ] };
63  
64 declare 'MapStringRuleDeployment',
65 as HashRef[RuleDeployment()];
66  
67 declare 'ExecutionState',
68 as (Int | Str);
69  
70 declare 'Retrohunt',
71 as InstanceOf['Google::Cloud::Chronicle::V1::Rule::Retrohunt'];
72  
73 coerce 'Retrohunt',
74 from HashRef, via { 'Google::Cloud::Chronicle::V1::Rule::Retrohunt'->new($_) };
75  
76 declare 'RepeatedRetrohunt',
77 as ArrayRef[Retrohunt()];
78  
79 coerce 'RepeatedRetrohunt',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Rule::Retrohunt'->new($_) } @$_ ] };
81  
82 declare 'MapStringRetrohunt',
83 as HashRef[Retrohunt()];
84  
85 declare 'State',
86 as (Int | Str);
87  
88 declare 'CreateRuleRequest',
89 as InstanceOf['Google::Cloud::Chronicle::V1::Rule::CreateRuleRequest'];
90  
91 coerce 'CreateRuleRequest',
92 from HashRef, via { 'Google::Cloud::Chronicle::V1::Rule::CreateRuleRequest'->new($_) };
93  
94 declare 'RepeatedCreateRuleRequest',
95 as ArrayRef[CreateRuleRequest()];
96  
97 coerce 'RepeatedCreateRuleRequest',
98 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Rule::CreateRuleRequest'->new($_) } @$_ ] };
99  
100 declare 'MapStringCreateRuleRequest',
101 as HashRef[CreateRuleRequest()];
102  
103 declare 'GetRuleRequest',
104 as InstanceOf['Google::Cloud::Chronicle::V1::Rule::GetRuleRequest'];
105  
106 coerce 'GetRuleRequest',
107 from HashRef, via { 'Google::Cloud::Chronicle::V1::Rule::GetRuleRequest'->new($_) };
108  
109 declare 'RepeatedGetRuleRequest',
110 as ArrayRef[GetRuleRequest()];
111  
112 coerce 'RepeatedGetRuleRequest',
113 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Rule::GetRuleRequest'->new($_) } @$_ ] };
114  
115 declare 'MapStringGetRuleRequest',
116 as HashRef[GetRuleRequest()];
117  
118 declare 'ListRulesRequest',
119 as InstanceOf['Google::Cloud::Chronicle::V1::Rule::ListRulesRequest'];
120  
121 coerce 'ListRulesRequest',
122 from HashRef, via { 'Google::Cloud::Chronicle::V1::Rule::ListRulesRequest'->new($_) };
123  
124 declare 'RepeatedListRulesRequest',
125 as ArrayRef[ListRulesRequest()];
126  
127 coerce 'RepeatedListRulesRequest',
128 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Rule::ListRulesRequest'->new($_) } @$_ ] };
129  
130 declare 'MapStringListRulesRequest',
131 as HashRef[ListRulesRequest()];
132  
133 declare 'ListRulesResponse',
134 as InstanceOf['Google::Cloud::Chronicle::V1::Rule::ListRulesResponse'];
135  
136 coerce 'ListRulesResponse',
137 from HashRef, via { 'Google::Cloud::Chronicle::V1::Rule::ListRulesResponse'->new($_) };
138  
139 declare 'RepeatedListRulesResponse',
140 as ArrayRef[ListRulesResponse()];
141  
142 coerce 'RepeatedListRulesResponse',
143 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Rule::ListRulesResponse'->new($_) } @$_ ] };
144  
145 declare 'MapStringListRulesResponse',
146 as HashRef[ListRulesResponse()];
147  
148 declare 'UpdateRuleRequest',
149 as InstanceOf['Google::Cloud::Chronicle::V1::Rule::UpdateRuleRequest'];
150  
151 coerce 'UpdateRuleRequest',
152 from HashRef, via { 'Google::Cloud::Chronicle::V1::Rule::UpdateRuleRequest'->new($_) };
153  
154 declare 'RepeatedUpdateRuleRequest',
155 as ArrayRef[UpdateRuleRequest()];
156  
157 coerce 'RepeatedUpdateRuleRequest',
158 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Rule::UpdateRuleRequest'->new($_) } @$_ ] };
159  
160 declare 'MapStringUpdateRuleRequest',
161 as HashRef[UpdateRuleRequest()];
162  
163 declare 'DeleteRuleRequest',
164 as InstanceOf['Google::Cloud::Chronicle::V1::Rule::DeleteRuleRequest'];
165  
166 coerce 'DeleteRuleRequest',
167 from HashRef, via { 'Google::Cloud::Chronicle::V1::Rule::DeleteRuleRequest'->new($_) };
168  
169 declare 'RepeatedDeleteRuleRequest',
170 as ArrayRef[DeleteRuleRequest()];
171  
172 coerce 'RepeatedDeleteRuleRequest',
173 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Rule::DeleteRuleRequest'->new($_) } @$_ ] };
174  
175 declare 'MapStringDeleteRuleRequest',
176 as HashRef[DeleteRuleRequest()];
177  
178 declare 'VerifyRuleTextRequest',
179 as InstanceOf['Google::Cloud::Chronicle::V1::Rule::VerifyRuleTextRequest'];
180  
181 coerce 'VerifyRuleTextRequest',
182 from HashRef, via { 'Google::Cloud::Chronicle::V1::Rule::VerifyRuleTextRequest'->new($_) };
183  
184 declare 'RepeatedVerifyRuleTextRequest',
185 as ArrayRef[VerifyRuleTextRequest()];
186  
187 coerce 'RepeatedVerifyRuleTextRequest',
188 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Rule::VerifyRuleTextRequest'->new($_) } @$_ ] };
189  
190 declare 'MapStringVerifyRuleTextRequest',
191 as HashRef[VerifyRuleTextRequest()];
192  
193 declare 'VerifyRuleTextResponse',
194 as InstanceOf['Google::Cloud::Chronicle::V1::Rule::VerifyRuleTextResponse'];
195  
196 coerce 'VerifyRuleTextResponse',
197 from HashRef, via { 'Google::Cloud::Chronicle::V1::Rule::VerifyRuleTextResponse'->new($_) };
198  
199 declare 'RepeatedVerifyRuleTextResponse',
200 as ArrayRef[VerifyRuleTextResponse()];
201  
202 coerce 'RepeatedVerifyRuleTextResponse',
203 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Rule::VerifyRuleTextResponse'->new($_) } @$_ ] };
204  
205 declare 'MapStringVerifyRuleTextResponse',
206 as HashRef[VerifyRuleTextResponse()];
207  
208 declare 'ListRuleRevisionsRequest',
209 as InstanceOf['Google::Cloud::Chronicle::V1::Rule::ListRuleRevisionsRequest'];
210  
211 coerce 'ListRuleRevisionsRequest',
212 from HashRef, via { 'Google::Cloud::Chronicle::V1::Rule::ListRuleRevisionsRequest'->new($_) };
213  
214 declare 'RepeatedListRuleRevisionsRequest',
215 as ArrayRef[ListRuleRevisionsRequest()];
216  
217 coerce 'RepeatedListRuleRevisionsRequest',
218 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Rule::ListRuleRevisionsRequest'->new($_) } @$_ ] };
219  
220 declare 'MapStringListRuleRevisionsRequest',
221 as HashRef[ListRuleRevisionsRequest()];
222  
223 declare 'ListRuleRevisionsResponse',
224 as InstanceOf['Google::Cloud::Chronicle::V1::Rule::ListRuleRevisionsResponse'];
225  
226 coerce 'ListRuleRevisionsResponse',
227 from HashRef, via { 'Google::Cloud::Chronicle::V1::Rule::ListRuleRevisionsResponse'->new($_) };
228  
229 declare 'RepeatedListRuleRevisionsResponse',
230 as ArrayRef[ListRuleRevisionsResponse()];
231  
232 coerce 'RepeatedListRuleRevisionsResponse',
233 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Rule::ListRuleRevisionsResponse'->new($_) } @$_ ] };
234  
235 declare 'MapStringListRuleRevisionsResponse',
236 as HashRef[ListRuleRevisionsResponse()];
237  
238 declare 'CreateRetrohuntRequest',
239 as InstanceOf['Google::Cloud::Chronicle::V1::Rule::CreateRetrohuntRequest'];
240  
241 coerce 'CreateRetrohuntRequest',
242 from HashRef, via { 'Google::Cloud::Chronicle::V1::Rule::CreateRetrohuntRequest'->new($_) };
243  
244 declare 'RepeatedCreateRetrohuntRequest',
245 as ArrayRef[CreateRetrohuntRequest()];
246  
247 coerce 'RepeatedCreateRetrohuntRequest',
248 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Rule::CreateRetrohuntRequest'->new($_) } @$_ ] };
249  
250 declare 'MapStringCreateRetrohuntRequest',
251 as HashRef[CreateRetrohuntRequest()];
252  
253 declare 'GetRetrohuntRequest',
254 as InstanceOf['Google::Cloud::Chronicle::V1::Rule::GetRetrohuntRequest'];
255  
256 coerce 'GetRetrohuntRequest',
257 from HashRef, via { 'Google::Cloud::Chronicle::V1::Rule::GetRetrohuntRequest'->new($_) };
258  
259 declare 'RepeatedGetRetrohuntRequest',
260 as ArrayRef[GetRetrohuntRequest()];
261  
262 coerce 'RepeatedGetRetrohuntRequest',
263 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Rule::GetRetrohuntRequest'->new($_) } @$_ ] };
264  
265 declare 'MapStringGetRetrohuntRequest',
266 as HashRef[GetRetrohuntRequest()];
267  
268 declare 'ListRetrohuntsRequest',
269 as InstanceOf['Google::Cloud::Chronicle::V1::Rule::ListRetrohuntsRequest'];
270  
271 coerce 'ListRetrohuntsRequest',
272 from HashRef, via { 'Google::Cloud::Chronicle::V1::Rule::ListRetrohuntsRequest'->new($_) };
273  
274 declare 'RepeatedListRetrohuntsRequest',
275 as ArrayRef[ListRetrohuntsRequest()];
276  
277 coerce 'RepeatedListRetrohuntsRequest',
278 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Rule::ListRetrohuntsRequest'->new($_) } @$_ ] };
279  
280 declare 'MapStringListRetrohuntsRequest',
281 as HashRef[ListRetrohuntsRequest()];
282  
283 declare 'ListRetrohuntsResponse',
284 as InstanceOf['Google::Cloud::Chronicle::V1::Rule::ListRetrohuntsResponse'];
285  
286 coerce 'ListRetrohuntsResponse',
287 from HashRef, via { 'Google::Cloud::Chronicle::V1::Rule::ListRetrohuntsResponse'->new($_) };
288  
289 declare 'RepeatedListRetrohuntsResponse',
290 as ArrayRef[ListRetrohuntsResponse()];
291  
292 coerce 'RepeatedListRetrohuntsResponse',
293 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Rule::ListRetrohuntsResponse'->new($_) } @$_ ] };
294  
295 declare 'MapStringListRetrohuntsResponse',
296 as HashRef[ListRetrohuntsResponse()];
297  
298 declare 'GetRuleDeploymentRequest',
299 as InstanceOf['Google::Cloud::Chronicle::V1::Rule::GetRuleDeploymentRequest'];
300  
301 coerce 'GetRuleDeploymentRequest',
302 from HashRef, via { 'Google::Cloud::Chronicle::V1::Rule::GetRuleDeploymentRequest'->new($_) };
303  
304 declare 'RepeatedGetRuleDeploymentRequest',
305 as ArrayRef[GetRuleDeploymentRequest()];
306  
307 coerce 'RepeatedGetRuleDeploymentRequest',
308 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Rule::GetRuleDeploymentRequest'->new($_) } @$_ ] };
309  
310 declare 'MapStringGetRuleDeploymentRequest',
311 as HashRef[GetRuleDeploymentRequest()];
312  
313 declare 'ListRuleDeploymentsRequest',
314 as InstanceOf['Google::Cloud::Chronicle::V1::Rule::ListRuleDeploymentsRequest'];
315  
316 coerce 'ListRuleDeploymentsRequest',
317 from HashRef, via { 'Google::Cloud::Chronicle::V1::Rule::ListRuleDeploymentsRequest'->new($_) };
318  
319 declare 'RepeatedListRuleDeploymentsRequest',
320 as ArrayRef[ListRuleDeploymentsRequest()];
321  
322 coerce 'RepeatedListRuleDeploymentsRequest',
323 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Rule::ListRuleDeploymentsRequest'->new($_) } @$_ ] };
324  
325 declare 'MapStringListRuleDeploymentsRequest',
326 as HashRef[ListRuleDeploymentsRequest()];
327  
328 declare 'ListRuleDeploymentsResponse',
329 as InstanceOf['Google::Cloud::Chronicle::V1::Rule::ListRuleDeploymentsResponse'];
330  
331 coerce 'ListRuleDeploymentsResponse',
332 from HashRef, via { 'Google::Cloud::Chronicle::V1::Rule::ListRuleDeploymentsResponse'->new($_) };
333  
334 declare 'RepeatedListRuleDeploymentsResponse',
335 as ArrayRef[ListRuleDeploymentsResponse()];
336  
337 coerce 'RepeatedListRuleDeploymentsResponse',
338 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Rule::ListRuleDeploymentsResponse'->new($_) } @$_ ] };
339  
340 declare 'MapStringListRuleDeploymentsResponse',
341 as HashRef[ListRuleDeploymentsResponse()];
342  
343 declare 'UpdateRuleDeploymentRequest',
344 as InstanceOf['Google::Cloud::Chronicle::V1::Rule::UpdateRuleDeploymentRequest'];
345  
346 coerce 'UpdateRuleDeploymentRequest',
347 from HashRef, via { 'Google::Cloud::Chronicle::V1::Rule::UpdateRuleDeploymentRequest'->new($_) };
348  
349 declare 'RepeatedUpdateRuleDeploymentRequest',
350 as ArrayRef[UpdateRuleDeploymentRequest()];
351  
352 coerce 'RepeatedUpdateRuleDeploymentRequest',
353 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Rule::UpdateRuleDeploymentRequest'->new($_) } @$_ ] };
354  
355 declare 'MapStringUpdateRuleDeploymentRequest',
356 as HashRef[UpdateRuleDeploymentRequest()];
357  
358 declare 'CompilationPosition',
359 as InstanceOf['Google::Cloud::Chronicle::V1::Rule::CompilationPosition'];
360  
361 coerce 'CompilationPosition',
362 from HashRef, via { 'Google::Cloud::Chronicle::V1::Rule::CompilationPosition'->new($_) };
363  
364 declare 'RepeatedCompilationPosition',
365 as ArrayRef[CompilationPosition()];
366  
367 coerce 'RepeatedCompilationPosition',
368 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Rule::CompilationPosition'->new($_) } @$_ ] };
369  
370 declare 'MapStringCompilationPosition',
371 as HashRef[CompilationPosition()];
372  
373 declare 'CompilationDiagnostic',
374 as InstanceOf['Google::Cloud::Chronicle::V1::Rule::CompilationDiagnostic'];
375  
376 coerce 'CompilationDiagnostic',
377 from HashRef, via { 'Google::Cloud::Chronicle::V1::Rule::CompilationDiagnostic'->new($_) };
378  
379 declare 'RepeatedCompilationDiagnostic',
380 as ArrayRef[CompilationDiagnostic()];
381  
382 coerce 'RepeatedCompilationDiagnostic',
383 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Rule::CompilationDiagnostic'->new($_) } @$_ ] };
384  
385 declare 'MapStringCompilationDiagnostic',
386 as HashRef[CompilationDiagnostic()];
387  
388 declare 'Severity',
389 as (Int | Str);
390  
391 declare 'Severity',
392 as InstanceOf['Google::Cloud::Chronicle::V1::Rule::Severity'];
393  
394 coerce 'Severity',
395 from HashRef, via { 'Google::Cloud::Chronicle::V1::Rule::Severity'->new($_) };
396  
397 declare 'RepeatedSeverity',
398 as ArrayRef[Severity()];
399  
400 coerce 'RepeatedSeverity',
401 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Rule::Severity'->new($_) } @$_ ] };
402  
403 declare 'MapStringSeverity',
404 as HashRef[Severity()];
405  
406 declare 'RetrohuntMetadata',
407 as InstanceOf['Google::Cloud::Chronicle::V1::Rule::RetrohuntMetadata'];
408  
409 coerce 'RetrohuntMetadata',
410 from HashRef, via { 'Google::Cloud::Chronicle::V1::Rule::RetrohuntMetadata'->new($_) };
411  
412 declare 'RepeatedRetrohuntMetadata',
413 as ArrayRef[RetrohuntMetadata()];
414  
415 coerce 'RepeatedRetrohuntMetadata',
416 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Rule::RetrohuntMetadata'->new($_) } @$_ ] };
417  
418 declare 'MapStringRetrohuntMetadata',
419 as HashRef[RetrohuntMetadata()];
420  
421 declare 'InputsUsed',
422 as InstanceOf['Google::Cloud::Chronicle::V1::Rule::InputsUsed'];
423  
424 coerce 'InputsUsed',
425 from HashRef, via { 'Google::Cloud::Chronicle::V1::Rule::InputsUsed'->new($_) };
426  
427 declare 'RepeatedInputsUsed',
428 as ArrayRef[InputsUsed()];
429  
430 coerce 'RepeatedInputsUsed',
431 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::Rule::InputsUsed'->new($_) } @$_ ] };
432  
433 declare 'MapStringInputsUsed',
434 as HashRef[InputsUsed()];
435  
436 1;
437  
438 __END__