V1alpha/ScanConfig/Types.pm untested

filter: Statementstmt 0.0% 0 / 83 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 88 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::Websecurityscanner::V1alpha::ScanConfig::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 'ScanConfig',
11 as InstanceOf['Google::Cloud::Websecurityscanner::V1alpha::ScanConfig::ScanConfig'];
12  
13 coerce 'ScanConfig',
14 from HashRef, via { 'Google::Cloud::Websecurityscanner::V1alpha::ScanConfig::ScanConfig'->new($_) };
15  
16 declare 'RepeatedScanConfig',
17 as ArrayRef[ScanConfig()];
18  
19 coerce 'RepeatedScanConfig',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Websecurityscanner::V1alpha::ScanConfig::ScanConfig'->new($_) } @$_ ] };
21  
22 declare 'MapStringScanConfig',
23 as HashRef[ScanConfig()];
24  
25 declare 'UserAgent',
26 as (Int | Str);
27  
28 declare 'TargetPlatform',
29 as (Int | Str);
30  
31 declare 'Authentication',
32 as InstanceOf['Google::Cloud::Websecurityscanner::V1alpha::ScanConfig::ScanConfig::Authentication'];
33  
34 coerce 'Authentication',
35 from HashRef, via { 'Google::Cloud::Websecurityscanner::V1alpha::ScanConfig::ScanConfig::Authentication'->new($_) };
36  
37 declare 'RepeatedAuthentication',
38 as ArrayRef[Authentication()];
39  
40 coerce 'RepeatedAuthentication',
41 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Websecurityscanner::V1alpha::ScanConfig::ScanConfig::Authentication'->new($_) } @$_ ] };
42  
43 declare 'MapStringAuthentication',
44 as HashRef[Authentication()];
45  
46 declare 'GoogleAccount',
47 as InstanceOf['Google::Cloud::Websecurityscanner::V1alpha::ScanConfig::ScanConfig::Authentication::GoogleAccount'];
48  
49 coerce 'GoogleAccount',
50 from HashRef, via { 'Google::Cloud::Websecurityscanner::V1alpha::ScanConfig::ScanConfig::Authentication::GoogleAccount'->new($_) };
51  
52 declare 'RepeatedGoogleAccount',
53 as ArrayRef[GoogleAccount()];
54  
55 coerce 'RepeatedGoogleAccount',
56 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Websecurityscanner::V1alpha::ScanConfig::ScanConfig::Authentication::GoogleAccount'->new($_) } @$_ ] };
57  
58 declare 'MapStringGoogleAccount',
59 as HashRef[GoogleAccount()];
60  
61 declare 'CustomAccount',
62 as InstanceOf['Google::Cloud::Websecurityscanner::V1alpha::ScanConfig::ScanConfig::Authentication::CustomAccount'];
63  
64 coerce 'CustomAccount',
65 from HashRef, via { 'Google::Cloud::Websecurityscanner::V1alpha::ScanConfig::ScanConfig::Authentication::CustomAccount'->new($_) };
66  
67 declare 'RepeatedCustomAccount',
68 as ArrayRef[CustomAccount()];
69  
70 coerce 'RepeatedCustomAccount',
71 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Websecurityscanner::V1alpha::ScanConfig::ScanConfig::Authentication::CustomAccount'->new($_) } @$_ ] };
72  
73 declare 'MapStringCustomAccount',
74 as HashRef[CustomAccount()];
75  
76 declare 'Schedule',
77 as InstanceOf['Google::Cloud::Websecurityscanner::V1alpha::ScanConfig::ScanConfig::Schedule'];
78  
79 coerce 'Schedule',
80 from HashRef, via { 'Google::Cloud::Websecurityscanner::V1alpha::ScanConfig::ScanConfig::Schedule'->new($_) };
81  
82 declare 'RepeatedSchedule',
83 as ArrayRef[Schedule()];
84  
85 coerce 'RepeatedSchedule',
86 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Websecurityscanner::V1alpha::ScanConfig::ScanConfig::Schedule'->new($_) } @$_ ] };
87  
88 declare 'MapStringSchedule',
89 as HashRef[Schedule()];
90  
91 1;
92  
93 __END__