V1/MaintenanceService/Types.pm untested

filter: Statementstmt 0.0% 0 / 201 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 206 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::Maintenance::Api::V1::MaintenanceService::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 'MaintenanceCategory',
11 as (Int | Str);
12  
13 declare 'SummarizeMaintenancesRequest',
14 as InstanceOf['Google::Cloud::Maintenance::Api::V1::MaintenanceService::SummarizeMaintenancesRequest'];
15  
16 coerce 'SummarizeMaintenancesRequest',
17 from HashRef, via { 'Google::Cloud::Maintenance::Api::V1::MaintenanceService::SummarizeMaintenancesRequest'->new($_) };
18  
19 declare 'RepeatedSummarizeMaintenancesRequest',
20 as ArrayRef[SummarizeMaintenancesRequest()];
21  
22 coerce 'RepeatedSummarizeMaintenancesRequest',
23 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Maintenance::Api::V1::MaintenanceService::SummarizeMaintenancesRequest'->new($_) } @$_ ] };
24  
25 declare 'MapStringSummarizeMaintenancesRequest',
26 as HashRef[SummarizeMaintenancesRequest()];
27  
28 declare 'SummarizeMaintenancesResponse',
29 as InstanceOf['Google::Cloud::Maintenance::Api::V1::MaintenanceService::SummarizeMaintenancesResponse'];
30  
31 coerce 'SummarizeMaintenancesResponse',
32 from HashRef, via { 'Google::Cloud::Maintenance::Api::V1::MaintenanceService::SummarizeMaintenancesResponse'->new($_) };
33  
34 declare 'RepeatedSummarizeMaintenancesResponse',
35 as ArrayRef[SummarizeMaintenancesResponse()];
36  
37 coerce 'RepeatedSummarizeMaintenancesResponse',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Maintenance::Api::V1::MaintenanceService::SummarizeMaintenancesResponse'->new($_) } @$_ ] };
39  
40 declare 'MapStringSummarizeMaintenancesResponse',
41 as HashRef[SummarizeMaintenancesResponse()];
42  
43 declare 'MaintenanceSummary',
44 as InstanceOf['Google::Cloud::Maintenance::Api::V1::MaintenanceService::MaintenanceSummary'];
45  
46 coerce 'MaintenanceSummary',
47 from HashRef, via { 'Google::Cloud::Maintenance::Api::V1::MaintenanceService::MaintenanceSummary'->new($_) };
48  
49 declare 'RepeatedMaintenanceSummary',
50 as ArrayRef[MaintenanceSummary()];
51  
52 coerce 'RepeatedMaintenanceSummary',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Maintenance::Api::V1::MaintenanceService::MaintenanceSummary'->new($_) } @$_ ] };
54  
55 declare 'MapStringMaintenanceSummary',
56 as HashRef[MaintenanceSummary()];
57  
58 declare 'Stats',
59 as InstanceOf['Google::Cloud::Maintenance::Api::V1::MaintenanceService::MaintenanceSummary::Stats'];
60  
61 coerce 'Stats',
62 from HashRef, via { 'Google::Cloud::Maintenance::Api::V1::MaintenanceService::MaintenanceSummary::Stats'->new($_) };
63  
64 declare 'RepeatedStats',
65 as ArrayRef[Stats()];
66  
67 coerce 'RepeatedStats',
68 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Maintenance::Api::V1::MaintenanceService::MaintenanceSummary::Stats'->new($_) } @$_ ] };
69  
70 declare 'MapStringStats',
71 as HashRef[Stats()];
72  
73 declare 'Aggregate',
74 as InstanceOf['Google::Cloud::Maintenance::Api::V1::MaintenanceService::MaintenanceSummary::Aggregate'];
75  
76 coerce 'Aggregate',
77 from HashRef, via { 'Google::Cloud::Maintenance::Api::V1::MaintenanceService::MaintenanceSummary::Aggregate'->new($_) };
78  
79 declare 'RepeatedAggregate',
80 as ArrayRef[Aggregate()];
81  
82 coerce 'RepeatedAggregate',
83 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Maintenance::Api::V1::MaintenanceService::MaintenanceSummary::Aggregate'->new($_) } @$_ ] };
84  
85 declare 'MapStringAggregate',
86 as HashRef[Aggregate()];
87  
88 declare 'ResourceMaintenance',
89 as InstanceOf['Google::Cloud::Maintenance::Api::V1::MaintenanceService::ResourceMaintenance'];
90  
91 coerce 'ResourceMaintenance',
92 from HashRef, via { 'Google::Cloud::Maintenance::Api::V1::MaintenanceService::ResourceMaintenance'->new($_) };
93  
94 declare 'RepeatedResourceMaintenance',
95 as ArrayRef[ResourceMaintenance()];
96  
97 coerce 'RepeatedResourceMaintenance',
98 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Maintenance::Api::V1::MaintenanceService::ResourceMaintenance'->new($_) } @$_ ] };
99  
100 declare 'MapStringResourceMaintenance',
101 as HashRef[ResourceMaintenance()];
102  
103 declare 'State',
104 as (Int | Str);
105  
106 declare 'Resource',
107 as InstanceOf['Google::Cloud::Maintenance::Api::V1::MaintenanceService::ResourceMaintenance::Resource'];
108  
109 coerce 'Resource',
110 from HashRef, via { 'Google::Cloud::Maintenance::Api::V1::MaintenanceService::ResourceMaintenance::Resource'->new($_) };
111  
112 declare 'RepeatedResource',
113 as ArrayRef[Resource()];
114  
115 coerce 'RepeatedResource',
116 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Maintenance::Api::V1::MaintenanceService::ResourceMaintenance::Resource'->new($_) } @$_ ] };
117  
118 declare 'MapStringResource',
119 as HashRef[Resource()];
120  
121 declare 'Maintenance',
122 as InstanceOf['Google::Cloud::Maintenance::Api::V1::MaintenanceService::ResourceMaintenance::Maintenance'];
123  
124 coerce 'Maintenance',
125 from HashRef, via { 'Google::Cloud::Maintenance::Api::V1::MaintenanceService::ResourceMaintenance::Maintenance'->new($_) };
126  
127 declare 'RepeatedMaintenance',
128 as ArrayRef[Maintenance()];
129  
130 coerce 'RepeatedMaintenance',
131 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Maintenance::Api::V1::MaintenanceService::ResourceMaintenance::Maintenance'->new($_) } @$_ ] };
132  
133 declare 'MapStringMaintenance',
134 as HashRef[Maintenance()];
135  
136 declare 'LabelsEntry',
137 as InstanceOf['Google::Cloud::Maintenance::Api::V1::MaintenanceService::ResourceMaintenance::LabelsEntry'];
138  
139 coerce 'LabelsEntry',
140 from HashRef, via { 'Google::Cloud::Maintenance::Api::V1::MaintenanceService::ResourceMaintenance::LabelsEntry'->new($_) };
141  
142 declare 'RepeatedLabelsEntry',
143 as ArrayRef[LabelsEntry()];
144  
145 coerce 'RepeatedLabelsEntry',
146 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Maintenance::Api::V1::MaintenanceService::ResourceMaintenance::LabelsEntry'->new($_) } @$_ ] };
147  
148 declare 'MapStringLabelsEntry',
149 as HashRef[LabelsEntry()];
150  
151 declare 'AnnotationsEntry',
152 as InstanceOf['Google::Cloud::Maintenance::Api::V1::MaintenanceService::ResourceMaintenance::AnnotationsEntry'];
153  
154 coerce 'AnnotationsEntry',
155 from HashRef, via { 'Google::Cloud::Maintenance::Api::V1::MaintenanceService::ResourceMaintenance::AnnotationsEntry'->new($_) };
156  
157 declare 'RepeatedAnnotationsEntry',
158 as ArrayRef[AnnotationsEntry()];
159  
160 coerce 'RepeatedAnnotationsEntry',
161 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Maintenance::Api::V1::MaintenanceService::ResourceMaintenance::AnnotationsEntry'->new($_) } @$_ ] };
162  
163 declare 'MapStringAnnotationsEntry',
164 as HashRef[AnnotationsEntry()];
165  
166 declare 'MaintenanceControl',
167 as InstanceOf['Google::Cloud::Maintenance::Api::V1::MaintenanceService::MaintenanceControl'];
168  
169 coerce 'MaintenanceControl',
170 from HashRef, via { 'Google::Cloud::Maintenance::Api::V1::MaintenanceService::MaintenanceControl'->new($_) };
171  
172 declare 'RepeatedMaintenanceControl',
173 as ArrayRef[MaintenanceControl()];
174  
175 coerce 'RepeatedMaintenanceControl',
176 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Maintenance::Api::V1::MaintenanceService::MaintenanceControl'->new($_) } @$_ ] };
177  
178 declare 'MapStringMaintenanceControl',
179 as HashRef[MaintenanceControl()];
180  
181 declare 'Control',
182 as (Int | Str);
183  
184 declare 'ListResourceMaintenancesRequest',
185 as InstanceOf['Google::Cloud::Maintenance::Api::V1::MaintenanceService::ListResourceMaintenancesRequest'];
186  
187 coerce 'ListResourceMaintenancesRequest',
188 from HashRef, via { 'Google::Cloud::Maintenance::Api::V1::MaintenanceService::ListResourceMaintenancesRequest'->new($_) };
189  
190 declare 'RepeatedListResourceMaintenancesRequest',
191 as ArrayRef[ListResourceMaintenancesRequest()];
192  
193 coerce 'RepeatedListResourceMaintenancesRequest',
194 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Maintenance::Api::V1::MaintenanceService::ListResourceMaintenancesRequest'->new($_) } @$_ ] };
195  
196 declare 'MapStringListResourceMaintenancesRequest',
197 as HashRef[ListResourceMaintenancesRequest()];
198  
199 declare 'ListResourceMaintenancesResponse',
200 as InstanceOf['Google::Cloud::Maintenance::Api::V1::MaintenanceService::ListResourceMaintenancesResponse'];
201  
202 coerce 'ListResourceMaintenancesResponse',
203 from HashRef, via { 'Google::Cloud::Maintenance::Api::V1::MaintenanceService::ListResourceMaintenancesResponse'->new($_) };
204  
205 declare 'RepeatedListResourceMaintenancesResponse',
206 as ArrayRef[ListResourceMaintenancesResponse()];
207  
208 coerce 'RepeatedListResourceMaintenancesResponse',
209 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Maintenance::Api::V1::MaintenanceService::ListResourceMaintenancesResponse'->new($_) } @$_ ] };
210  
211 declare 'MapStringListResourceMaintenancesResponse',
212 as HashRef[ListResourceMaintenancesResponse()];
213  
214 declare 'GetResourceMaintenanceRequest',
215 as InstanceOf['Google::Cloud::Maintenance::Api::V1::MaintenanceService::GetResourceMaintenanceRequest'];
216  
217 coerce 'GetResourceMaintenanceRequest',
218 from HashRef, via { 'Google::Cloud::Maintenance::Api::V1::MaintenanceService::GetResourceMaintenanceRequest'->new($_) };
219  
220 declare 'RepeatedGetResourceMaintenanceRequest',
221 as ArrayRef[GetResourceMaintenanceRequest()];
222  
223 coerce 'RepeatedGetResourceMaintenanceRequest',
224 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Maintenance::Api::V1::MaintenanceService::GetResourceMaintenanceRequest'->new($_) } @$_ ] };
225  
226 declare 'MapStringGetResourceMaintenanceRequest',
227 as HashRef[GetResourceMaintenanceRequest()];
228  
229 1;
230  
231 __END__