Monitoring/V3/Service/Types.pm untested

filter: Statementstmt 0.0% 0 / 381 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 386 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::Service::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 'Service',
11 as InstanceOf['Google::Monitoring::V3::Service::Service'];
12  
13 coerce 'Service',
14 from HashRef, via { 'Google::Monitoring::V3::Service::Service'->new($_) };
15  
16 declare 'RepeatedService',
17 as ArrayRef[Service()];
18  
19 coerce 'RepeatedService',
20 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Service::Service'->new($_) } @$_ ] };
21  
22 declare 'MapStringService',
23 as HashRef[Service()];
24  
25 declare 'Custom',
26 as InstanceOf['Google::Monitoring::V3::Service::Service::Custom'];
27  
28 coerce 'Custom',
29 from HashRef, via { 'Google::Monitoring::V3::Service::Service::Custom'->new($_) };
30  
31 declare 'RepeatedCustom',
32 as ArrayRef[Custom()];
33  
34 coerce 'RepeatedCustom',
35 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Service::Service::Custom'->new($_) } @$_ ] };
36  
37 declare 'MapStringCustom',
38 as HashRef[Custom()];
39  
40 declare 'AppEngine',
41 as InstanceOf['Google::Monitoring::V3::Service::Service::AppEngine'];
42  
43 coerce 'AppEngine',
44 from HashRef, via { 'Google::Monitoring::V3::Service::Service::AppEngine'->new($_) };
45  
46 declare 'RepeatedAppEngine',
47 as ArrayRef[AppEngine()];
48  
49 coerce 'RepeatedAppEngine',
50 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Service::Service::AppEngine'->new($_) } @$_ ] };
51  
52 declare 'MapStringAppEngine',
53 as HashRef[AppEngine()];
54  
55 declare 'CloudEndpoints',
56 as InstanceOf['Google::Monitoring::V3::Service::Service::CloudEndpoints'];
57  
58 coerce 'CloudEndpoints',
59 from HashRef, via { 'Google::Monitoring::V3::Service::Service::CloudEndpoints'->new($_) };
60  
61 declare 'RepeatedCloudEndpoints',
62 as ArrayRef[CloudEndpoints()];
63  
64 coerce 'RepeatedCloudEndpoints',
65 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Service::Service::CloudEndpoints'->new($_) } @$_ ] };
66  
67 declare 'MapStringCloudEndpoints',
68 as HashRef[CloudEndpoints()];
69  
70 declare 'ClusterIstio',
71 as InstanceOf['Google::Monitoring::V3::Service::Service::ClusterIstio'];
72  
73 coerce 'ClusterIstio',
74 from HashRef, via { 'Google::Monitoring::V3::Service::Service::ClusterIstio'->new($_) };
75  
76 declare 'RepeatedClusterIstio',
77 as ArrayRef[ClusterIstio()];
78  
79 coerce 'RepeatedClusterIstio',
80 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Service::Service::ClusterIstio'->new($_) } @$_ ] };
81  
82 declare 'MapStringClusterIstio',
83 as HashRef[ClusterIstio()];
84  
85 declare 'MeshIstio',
86 as InstanceOf['Google::Monitoring::V3::Service::Service::MeshIstio'];
87  
88 coerce 'MeshIstio',
89 from HashRef, via { 'Google::Monitoring::V3::Service::Service::MeshIstio'->new($_) };
90  
91 declare 'RepeatedMeshIstio',
92 as ArrayRef[MeshIstio()];
93  
94 coerce 'RepeatedMeshIstio',
95 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Service::Service::MeshIstio'->new($_) } @$_ ] };
96  
97 declare 'MapStringMeshIstio',
98 as HashRef[MeshIstio()];
99  
100 declare 'IstioCanonicalService',
101 as InstanceOf['Google::Monitoring::V3::Service::Service::IstioCanonicalService'];
102  
103 coerce 'IstioCanonicalService',
104 from HashRef, via { 'Google::Monitoring::V3::Service::Service::IstioCanonicalService'->new($_) };
105  
106 declare 'RepeatedIstioCanonicalService',
107 as ArrayRef[IstioCanonicalService()];
108  
109 coerce 'RepeatedIstioCanonicalService',
110 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Service::Service::IstioCanonicalService'->new($_) } @$_ ] };
111  
112 declare 'MapStringIstioCanonicalService',
113 as HashRef[IstioCanonicalService()];
114  
115 declare 'CloudRun',
116 as InstanceOf['Google::Monitoring::V3::Service::Service::CloudRun'];
117  
118 coerce 'CloudRun',
119 from HashRef, via { 'Google::Monitoring::V3::Service::Service::CloudRun'->new($_) };
120  
121 declare 'RepeatedCloudRun',
122 as ArrayRef[CloudRun()];
123  
124 coerce 'RepeatedCloudRun',
125 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Service::Service::CloudRun'->new($_) } @$_ ] };
126  
127 declare 'MapStringCloudRun',
128 as HashRef[CloudRun()];
129  
130 declare 'GkeNamespace',
131 as InstanceOf['Google::Monitoring::V3::Service::Service::GkeNamespace'];
132  
133 coerce 'GkeNamespace',
134 from HashRef, via { 'Google::Monitoring::V3::Service::Service::GkeNamespace'->new($_) };
135  
136 declare 'RepeatedGkeNamespace',
137 as ArrayRef[GkeNamespace()];
138  
139 coerce 'RepeatedGkeNamespace',
140 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Service::Service::GkeNamespace'->new($_) } @$_ ] };
141  
142 declare 'MapStringGkeNamespace',
143 as HashRef[GkeNamespace()];
144  
145 declare 'GkeWorkload',
146 as InstanceOf['Google::Monitoring::V3::Service::Service::GkeWorkload'];
147  
148 coerce 'GkeWorkload',
149 from HashRef, via { 'Google::Monitoring::V3::Service::Service::GkeWorkload'->new($_) };
150  
151 declare 'RepeatedGkeWorkload',
152 as ArrayRef[GkeWorkload()];
153  
154 coerce 'RepeatedGkeWorkload',
155 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Service::Service::GkeWorkload'->new($_) } @$_ ] };
156  
157 declare 'MapStringGkeWorkload',
158 as HashRef[GkeWorkload()];
159  
160 declare 'GkeService',
161 as InstanceOf['Google::Monitoring::V3::Service::Service::GkeService'];
162  
163 coerce 'GkeService',
164 from HashRef, via { 'Google::Monitoring::V3::Service::Service::GkeService'->new($_) };
165  
166 declare 'RepeatedGkeService',
167 as ArrayRef[GkeService()];
168  
169 coerce 'RepeatedGkeService',
170 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Service::Service::GkeService'->new($_) } @$_ ] };
171  
172 declare 'MapStringGkeService',
173 as HashRef[GkeService()];
174  
175 declare 'BasicService',
176 as InstanceOf['Google::Monitoring::V3::Service::Service::BasicService'];
177  
178 coerce 'BasicService',
179 from HashRef, via { 'Google::Monitoring::V3::Service::Service::BasicService'->new($_) };
180  
181 declare 'RepeatedBasicService',
182 as ArrayRef[BasicService()];
183  
184 coerce 'RepeatedBasicService',
185 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Service::Service::BasicService'->new($_) } @$_ ] };
186  
187 declare 'MapStringBasicService',
188 as HashRef[BasicService()];
189  
190 declare 'ServiceLabelsEntry',
191 as InstanceOf['Google::Monitoring::V3::Service::Service::BasicService::ServiceLabelsEntry'];
192  
193 coerce 'ServiceLabelsEntry',
194 from HashRef, via { 'Google::Monitoring::V3::Service::Service::BasicService::ServiceLabelsEntry'->new($_) };
195  
196 declare 'RepeatedServiceLabelsEntry',
197 as ArrayRef[ServiceLabelsEntry()];
198  
199 coerce 'RepeatedServiceLabelsEntry',
200 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Service::Service::BasicService::ServiceLabelsEntry'->new($_) } @$_ ] };
201  
202 declare 'MapStringServiceLabelsEntry',
203 as HashRef[ServiceLabelsEntry()];
204  
205 declare 'Telemetry',
206 as InstanceOf['Google::Monitoring::V3::Service::Service::Telemetry'];
207  
208 coerce 'Telemetry',
209 from HashRef, via { 'Google::Monitoring::V3::Service::Service::Telemetry'->new($_) };
210  
211 declare 'RepeatedTelemetry',
212 as ArrayRef[Telemetry()];
213  
214 coerce 'RepeatedTelemetry',
215 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Service::Service::Telemetry'->new($_) } @$_ ] };
216  
217 declare 'MapStringTelemetry',
218 as HashRef[Telemetry()];
219  
220 declare 'UserLabelsEntry',
221 as InstanceOf['Google::Monitoring::V3::Service::Service::UserLabelsEntry'];
222  
223 coerce 'UserLabelsEntry',
224 from HashRef, via { 'Google::Monitoring::V3::Service::Service::UserLabelsEntry'->new($_) };
225  
226 declare 'RepeatedUserLabelsEntry',
227 as ArrayRef[UserLabelsEntry()];
228  
229 coerce 'RepeatedUserLabelsEntry',
230 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Service::Service::UserLabelsEntry'->new($_) } @$_ ] };
231  
232 declare 'MapStringUserLabelsEntry',
233 as HashRef[UserLabelsEntry()];
234  
235 declare 'ServiceLevelObjective',
236 as InstanceOf['Google::Monitoring::V3::Service::ServiceLevelObjective'];
237  
238 coerce 'ServiceLevelObjective',
239 from HashRef, via { 'Google::Monitoring::V3::Service::ServiceLevelObjective'->new($_) };
240  
241 declare 'RepeatedServiceLevelObjective',
242 as ArrayRef[ServiceLevelObjective()];
243  
244 coerce 'RepeatedServiceLevelObjective',
245 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Service::ServiceLevelObjective'->new($_) } @$_ ] };
246  
247 declare 'MapStringServiceLevelObjective',
248 as HashRef[ServiceLevelObjective()];
249  
250 declare 'View',
251 as (Int | Str);
252  
253 declare 'UserLabelsEntry',
254 as InstanceOf['Google::Monitoring::V3::Service::ServiceLevelObjective::UserLabelsEntry'];
255  
256 coerce 'UserLabelsEntry',
257 from HashRef, via { 'Google::Monitoring::V3::Service::ServiceLevelObjective::UserLabelsEntry'->new($_) };
258  
259 declare 'RepeatedUserLabelsEntry',
260 as ArrayRef[UserLabelsEntry()];
261  
262 coerce 'RepeatedUserLabelsEntry',
263 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Service::ServiceLevelObjective::UserLabelsEntry'->new($_) } @$_ ] };
264  
265 declare 'MapStringUserLabelsEntry',
266 as HashRef[UserLabelsEntry()];
267  
268 declare 'ServiceLevelIndicator',
269 as InstanceOf['Google::Monitoring::V3::Service::ServiceLevelIndicator'];
270  
271 coerce 'ServiceLevelIndicator',
272 from HashRef, via { 'Google::Monitoring::V3::Service::ServiceLevelIndicator'->new($_) };
273  
274 declare 'RepeatedServiceLevelIndicator',
275 as ArrayRef[ServiceLevelIndicator()];
276  
277 coerce 'RepeatedServiceLevelIndicator',
278 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Service::ServiceLevelIndicator'->new($_) } @$_ ] };
279  
280 declare 'MapStringServiceLevelIndicator',
281 as HashRef[ServiceLevelIndicator()];
282  
283 declare 'BasicSli',
284 as InstanceOf['Google::Monitoring::V3::Service::BasicSli'];
285  
286 coerce 'BasicSli',
287 from HashRef, via { 'Google::Monitoring::V3::Service::BasicSli'->new($_) };
288  
289 declare 'RepeatedBasicSli',
290 as ArrayRef[BasicSli()];
291  
292 coerce 'RepeatedBasicSli',
293 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Service::BasicSli'->new($_) } @$_ ] };
294  
295 declare 'MapStringBasicSli',
296 as HashRef[BasicSli()];
297  
298 declare 'AvailabilityCriteria',
299 as InstanceOf['Google::Monitoring::V3::Service::BasicSli::AvailabilityCriteria'];
300  
301 coerce 'AvailabilityCriteria',
302 from HashRef, via { 'Google::Monitoring::V3::Service::BasicSli::AvailabilityCriteria'->new($_) };
303  
304 declare 'RepeatedAvailabilityCriteria',
305 as ArrayRef[AvailabilityCriteria()];
306  
307 coerce 'RepeatedAvailabilityCriteria',
308 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Service::BasicSli::AvailabilityCriteria'->new($_) } @$_ ] };
309  
310 declare 'MapStringAvailabilityCriteria',
311 as HashRef[AvailabilityCriteria()];
312  
313 declare 'LatencyCriteria',
314 as InstanceOf['Google::Monitoring::V3::Service::BasicSli::LatencyCriteria'];
315  
316 coerce 'LatencyCriteria',
317 from HashRef, via { 'Google::Monitoring::V3::Service::BasicSli::LatencyCriteria'->new($_) };
318  
319 declare 'RepeatedLatencyCriteria',
320 as ArrayRef[LatencyCriteria()];
321  
322 coerce 'RepeatedLatencyCriteria',
323 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Service::BasicSli::LatencyCriteria'->new($_) } @$_ ] };
324  
325 declare 'MapStringLatencyCriteria',
326 as HashRef[LatencyCriteria()];
327  
328 declare 'Range',
329 as InstanceOf['Google::Monitoring::V3::Service::Range'];
330  
331 coerce 'Range',
332 from HashRef, via { 'Google::Monitoring::V3::Service::Range'->new($_) };
333  
334 declare 'RepeatedRange',
335 as ArrayRef[Range()];
336  
337 coerce 'RepeatedRange',
338 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Service::Range'->new($_) } @$_ ] };
339  
340 declare 'MapStringRange',
341 as HashRef[Range()];
342  
343 declare 'RequestBasedSli',
344 as InstanceOf['Google::Monitoring::V3::Service::RequestBasedSli'];
345  
346 coerce 'RequestBasedSli',
347 from HashRef, via { 'Google::Monitoring::V3::Service::RequestBasedSli'->new($_) };
348  
349 declare 'RepeatedRequestBasedSli',
350 as ArrayRef[RequestBasedSli()];
351  
352 coerce 'RepeatedRequestBasedSli',
353 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Service::RequestBasedSli'->new($_) } @$_ ] };
354  
355 declare 'MapStringRequestBasedSli',
356 as HashRef[RequestBasedSli()];
357  
358 declare 'TimeSeriesRatio',
359 as InstanceOf['Google::Monitoring::V3::Service::TimeSeriesRatio'];
360  
361 coerce 'TimeSeriesRatio',
362 from HashRef, via { 'Google::Monitoring::V3::Service::TimeSeriesRatio'->new($_) };
363  
364 declare 'RepeatedTimeSeriesRatio',
365 as ArrayRef[TimeSeriesRatio()];
366  
367 coerce 'RepeatedTimeSeriesRatio',
368 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Service::TimeSeriesRatio'->new($_) } @$_ ] };
369  
370 declare 'MapStringTimeSeriesRatio',
371 as HashRef[TimeSeriesRatio()];
372  
373 declare 'DistributionCut',
374 as InstanceOf['Google::Monitoring::V3::Service::DistributionCut'];
375  
376 coerce 'DistributionCut',
377 from HashRef, via { 'Google::Monitoring::V3::Service::DistributionCut'->new($_) };
378  
379 declare 'RepeatedDistributionCut',
380 as ArrayRef[DistributionCut()];
381  
382 coerce 'RepeatedDistributionCut',
383 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Service::DistributionCut'->new($_) } @$_ ] };
384  
385 declare 'MapStringDistributionCut',
386 as HashRef[DistributionCut()];
387  
388 declare 'WindowsBasedSli',
389 as InstanceOf['Google::Monitoring::V3::Service::WindowsBasedSli'];
390  
391 coerce 'WindowsBasedSli',
392 from HashRef, via { 'Google::Monitoring::V3::Service::WindowsBasedSli'->new($_) };
393  
394 declare 'RepeatedWindowsBasedSli',
395 as ArrayRef[WindowsBasedSli()];
396  
397 coerce 'RepeatedWindowsBasedSli',
398 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Service::WindowsBasedSli'->new($_) } @$_ ] };
399  
400 declare 'MapStringWindowsBasedSli',
401 as HashRef[WindowsBasedSli()];
402  
403 declare 'PerformanceThreshold',
404 as InstanceOf['Google::Monitoring::V3::Service::WindowsBasedSli::PerformanceThreshold'];
405  
406 coerce 'PerformanceThreshold',
407 from HashRef, via { 'Google::Monitoring::V3::Service::WindowsBasedSli::PerformanceThreshold'->new($_) };
408  
409 declare 'RepeatedPerformanceThreshold',
410 as ArrayRef[PerformanceThreshold()];
411  
412 coerce 'RepeatedPerformanceThreshold',
413 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Service::WindowsBasedSli::PerformanceThreshold'->new($_) } @$_ ] };
414  
415 declare 'MapStringPerformanceThreshold',
416 as HashRef[PerformanceThreshold()];
417  
418 declare 'MetricRange',
419 as InstanceOf['Google::Monitoring::V3::Service::WindowsBasedSli::MetricRange'];
420  
421 coerce 'MetricRange',
422 from HashRef, via { 'Google::Monitoring::V3::Service::WindowsBasedSli::MetricRange'->new($_) };
423  
424 declare 'RepeatedMetricRange',
425 as ArrayRef[MetricRange()];
426  
427 coerce 'RepeatedMetricRange',
428 from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::Service::WindowsBasedSli::MetricRange'->new($_) } @$_ ] };
429  
430 declare 'MapStringMetricRange',
431 as HashRef[MetricRange()];
432  
433 1;
434  
435 __END__