Monitoring/V3/AlertService/Types.pm untested

filter: Statementstmt 0.0% 0 / 94 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 99 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Monitoring::V3::AlertService::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 'CreateAlertPolicyRequest',
11 as InstanceOf['Google::Monitoring::V3::AlertService::CreateAlertPolicyRequest'];
12  
13 coerce 'CreateAlertPolicyRequest',
14 from HashRef, via { 'Google::Monitoring::V3::AlertService::CreateAlertPolicyRequest'->new($_) };
15  
16 declare 'RepeatedCreateAlertPolicyRequest',
17 as ArrayRef[CreateAlertPolicyRequest()];
18  
19 coerce 'RepeatedCreateAlertPolicyRequest',
20 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::AlertService::CreateAlertPolicyRequest'->new($_) } @$_ ] };
21  
22 declare 'MapStringCreateAlertPolicyRequest',
23 as HashRef[CreateAlertPolicyRequest()];
24  
25 declare 'GetAlertPolicyRequest',
26 as InstanceOf['Google::Monitoring::V3::AlertService::GetAlertPolicyRequest'];
27  
28 coerce 'GetAlertPolicyRequest',
29 from HashRef, via { 'Google::Monitoring::V3::AlertService::GetAlertPolicyRequest'->new($_) };
30  
31 declare 'RepeatedGetAlertPolicyRequest',
32 as ArrayRef[GetAlertPolicyRequest()];
33  
34 coerce 'RepeatedGetAlertPolicyRequest',
35 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::AlertService::GetAlertPolicyRequest'->new($_) } @$_ ] };
36  
37 declare 'MapStringGetAlertPolicyRequest',
38 as HashRef[GetAlertPolicyRequest()];
39  
40 declare 'ListAlertPoliciesRequest',
41 as InstanceOf['Google::Monitoring::V3::AlertService::ListAlertPoliciesRequest'];
42  
43 coerce 'ListAlertPoliciesRequest',
44 from HashRef, via { 'Google::Monitoring::V3::AlertService::ListAlertPoliciesRequest'->new($_) };
45  
46 declare 'RepeatedListAlertPoliciesRequest',
47 as ArrayRef[ListAlertPoliciesRequest()];
48  
49 coerce 'RepeatedListAlertPoliciesRequest',
50 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::AlertService::ListAlertPoliciesRequest'->new($_) } @$_ ] };
51  
52 declare 'MapStringListAlertPoliciesRequest',
53 as HashRef[ListAlertPoliciesRequest()];
54  
55 declare 'ListAlertPoliciesResponse',
56 as InstanceOf['Google::Monitoring::V3::AlertService::ListAlertPoliciesResponse'];
57  
58 coerce 'ListAlertPoliciesResponse',
59 from HashRef, via { 'Google::Monitoring::V3::AlertService::ListAlertPoliciesResponse'->new($_) };
60  
61 declare 'RepeatedListAlertPoliciesResponse',
62 as ArrayRef[ListAlertPoliciesResponse()];
63  
64 coerce 'RepeatedListAlertPoliciesResponse',
65 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::AlertService::ListAlertPoliciesResponse'->new($_) } @$_ ] };
66  
67 declare 'MapStringListAlertPoliciesResponse',
68 as HashRef[ListAlertPoliciesResponse()];
69  
70 declare 'UpdateAlertPolicyRequest',
71 as InstanceOf['Google::Monitoring::V3::AlertService::UpdateAlertPolicyRequest'];
72  
73 coerce 'UpdateAlertPolicyRequest',
74 from HashRef, via { 'Google::Monitoring::V3::AlertService::UpdateAlertPolicyRequest'->new($_) };
75  
76 declare 'RepeatedUpdateAlertPolicyRequest',
77 as ArrayRef[UpdateAlertPolicyRequest()];
78  
79 coerce 'RepeatedUpdateAlertPolicyRequest',
80 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::AlertService::UpdateAlertPolicyRequest'->new($_) } @$_ ] };
81  
82 declare 'MapStringUpdateAlertPolicyRequest',
83 as HashRef[UpdateAlertPolicyRequest()];
84  
85 declare 'DeleteAlertPolicyRequest',
86 as InstanceOf['Google::Monitoring::V3::AlertService::DeleteAlertPolicyRequest'];
87  
88 coerce 'DeleteAlertPolicyRequest',
89 from HashRef, via { 'Google::Monitoring::V3::AlertService::DeleteAlertPolicyRequest'->new($_) };
90  
91 declare 'RepeatedDeleteAlertPolicyRequest',
92 as ArrayRef[DeleteAlertPolicyRequest()];
93  
94 coerce 'RepeatedDeleteAlertPolicyRequest',
95 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::AlertService::DeleteAlertPolicyRequest'->new($_) } @$_ ] };
96  
97 declare 'MapStringDeleteAlertPolicyRequest',
98 as HashRef[DeleteAlertPolicyRequest()];
99  
100 1;
101  
102 __END__