V1/CloudDlpDataProfile/Types.pm untested

filter: Statementstmt 0.0% 0 / 57 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 62 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::Securitycenter::V1::CloudDlpDataProfile::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 'CloudDlpDataProfile',
11 as InstanceOf['Google::Cloud::Securitycenter::V1::CloudDlpDataProfile::CloudDlpDataProfile'];
12  
13 coerce 'CloudDlpDataProfile',
14 from HashRef, via { 'Google::Cloud::Securitycenter::V1::CloudDlpDataProfile::CloudDlpDataProfile'->new($_) };
15  
16 declare 'RepeatedCloudDlpDataProfile',
17 as ArrayRef[CloudDlpDataProfile()];
18  
19 coerce 'RepeatedCloudDlpDataProfile',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Securitycenter::V1::CloudDlpDataProfile::CloudDlpDataProfile'->new($_) } @$_ ] };
21  
22 declare 'MapStringCloudDlpDataProfile',
23 as HashRef[CloudDlpDataProfile()];
24  
25 declare 'ParentType',
26 as (Int | Str);
27  
28 declare 'InfoType',
29 as InstanceOf['Google::Cloud::Securitycenter::V1::CloudDlpDataProfile::InfoType'];
30  
31 coerce 'InfoType',
32 from HashRef, via { 'Google::Cloud::Securitycenter::V1::CloudDlpDataProfile::InfoType'->new($_) };
33  
34 declare 'RepeatedInfoType',
35 as ArrayRef[InfoType()];
36  
37 coerce 'RepeatedInfoType',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Securitycenter::V1::CloudDlpDataProfile::InfoType'->new($_) } @$_ ] };
39  
40 declare 'MapStringInfoType',
41 as HashRef[InfoType()];
42  
43 declare 'SensitivityScore',
44 as InstanceOf['Google::Cloud::Securitycenter::V1::CloudDlpDataProfile::SensitivityScore'];
45  
46 coerce 'SensitivityScore',
47 from HashRef, via { 'Google::Cloud::Securitycenter::V1::CloudDlpDataProfile::SensitivityScore'->new($_) };
48  
49 declare 'RepeatedSensitivityScore',
50 as ArrayRef[SensitivityScore()];
51  
52 coerce 'RepeatedSensitivityScore',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Securitycenter::V1::CloudDlpDataProfile::SensitivityScore'->new($_) } @$_ ] };
54  
55 declare 'MapStringSensitivityScore',
56 as HashRef[SensitivityScore()];
57  
58 declare 'SensitivityScoreLevel',
59 as (Int | Str);
60  
61 1;
62  
63 __END__