V1/Resources/Types.pm untested

filter: Statementstmt 0.0% 0 / 347 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 352 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::Edgenetwork::V1::Resources::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 'ResourceState',
11 as (Int | Str);
12  
13 declare 'RemotePeeringNetworkType',
14 as (Int | Str);
15  
16 declare 'Zone',
17 as InstanceOf['Google::Cloud::Edgenetwork::V1::Resources::Zone'];
18  
19 coerce 'Zone',
20 from HashRef, via { 'Google::Cloud::Edgenetwork::V1::Resources::Zone'->new($_) };
21  
22 declare 'RepeatedZone',
23 as ArrayRef[Zone()];
24  
25 coerce 'RepeatedZone',
26 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Edgenetwork::V1::Resources::Zone'->new($_) } @$_ ] };
27  
28 declare 'MapStringZone',
29 as HashRef[Zone()];
30  
31 declare 'LabelsEntry',
32 as InstanceOf['Google::Cloud::Edgenetwork::V1::Resources::Zone::LabelsEntry'];
33  
34 coerce 'LabelsEntry',
35 from HashRef, via { 'Google::Cloud::Edgenetwork::V1::Resources::Zone::LabelsEntry'->new($_) };
36  
37 declare 'RepeatedLabelsEntry',
38 as ArrayRef[LabelsEntry()];
39  
40 coerce 'RepeatedLabelsEntry',
41 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Edgenetwork::V1::Resources::Zone::LabelsEntry'->new($_) } @$_ ] };
42  
43 declare 'MapStringLabelsEntry',
44 as HashRef[LabelsEntry()];
45  
46 declare 'Network',
47 as InstanceOf['Google::Cloud::Edgenetwork::V1::Resources::Network'];
48  
49 coerce 'Network',
50 from HashRef, via { 'Google::Cloud::Edgenetwork::V1::Resources::Network'->new($_) };
51  
52 declare 'RepeatedNetwork',
53 as ArrayRef[Network()];
54  
55 coerce 'RepeatedNetwork',
56 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Edgenetwork::V1::Resources::Network'->new($_) } @$_ ] };
57  
58 declare 'MapStringNetwork',
59 as HashRef[Network()];
60  
61 declare 'LabelsEntry',
62 as InstanceOf['Google::Cloud::Edgenetwork::V1::Resources::Network::LabelsEntry'];
63  
64 coerce 'LabelsEntry',
65 from HashRef, via { 'Google::Cloud::Edgenetwork::V1::Resources::Network::LabelsEntry'->new($_) };
66  
67 declare 'RepeatedLabelsEntry',
68 as ArrayRef[LabelsEntry()];
69  
70 coerce 'RepeatedLabelsEntry',
71 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Edgenetwork::V1::Resources::Network::LabelsEntry'->new($_) } @$_ ] };
72  
73 declare 'MapStringLabelsEntry',
74 as HashRef[LabelsEntry()];
75  
76 declare 'Subnet',
77 as InstanceOf['Google::Cloud::Edgenetwork::V1::Resources::Subnet'];
78  
79 coerce 'Subnet',
80 from HashRef, via { 'Google::Cloud::Edgenetwork::V1::Resources::Subnet'->new($_) };
81  
82 declare 'RepeatedSubnet',
83 as ArrayRef[Subnet()];
84  
85 coerce 'RepeatedSubnet',
86 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Edgenetwork::V1::Resources::Subnet'->new($_) } @$_ ] };
87  
88 declare 'MapStringSubnet',
89 as HashRef[Subnet()];
90  
91 declare 'BondingType',
92 as (Int | Str);
93  
94 declare 'LabelsEntry',
95 as InstanceOf['Google::Cloud::Edgenetwork::V1::Resources::Subnet::LabelsEntry'];
96  
97 coerce 'LabelsEntry',
98 from HashRef, via { 'Google::Cloud::Edgenetwork::V1::Resources::Subnet::LabelsEntry'->new($_) };
99  
100 declare 'RepeatedLabelsEntry',
101 as ArrayRef[LabelsEntry()];
102  
103 coerce 'RepeatedLabelsEntry',
104 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Edgenetwork::V1::Resources::Subnet::LabelsEntry'->new($_) } @$_ ] };
105  
106 declare 'MapStringLabelsEntry',
107 as HashRef[LabelsEntry()];
108  
109 declare 'Interconnect',
110 as InstanceOf['Google::Cloud::Edgenetwork::V1::Resources::Interconnect'];
111  
112 coerce 'Interconnect',
113 from HashRef, via { 'Google::Cloud::Edgenetwork::V1::Resources::Interconnect'->new($_) };
114  
115 declare 'RepeatedInterconnect',
116 as ArrayRef[Interconnect()];
117  
118 coerce 'RepeatedInterconnect',
119 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Edgenetwork::V1::Resources::Interconnect'->new($_) } @$_ ] };
120  
121 declare 'MapStringInterconnect',
122 as HashRef[Interconnect()];
123  
124 declare 'InterconnectType',
125 as (Int | Str);
126  
127 declare 'LabelsEntry',
128 as InstanceOf['Google::Cloud::Edgenetwork::V1::Resources::Interconnect::LabelsEntry'];
129  
130 coerce 'LabelsEntry',
131 from HashRef, via { 'Google::Cloud::Edgenetwork::V1::Resources::Interconnect::LabelsEntry'->new($_) };
132  
133 declare 'RepeatedLabelsEntry',
134 as ArrayRef[LabelsEntry()];
135  
136 coerce 'RepeatedLabelsEntry',
137 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Edgenetwork::V1::Resources::Interconnect::LabelsEntry'->new($_) } @$_ ] };
138  
139 declare 'MapStringLabelsEntry',
140 as HashRef[LabelsEntry()];
141  
142 declare 'InterconnectAttachment',
143 as InstanceOf['Google::Cloud::Edgenetwork::V1::Resources::InterconnectAttachment'];
144  
145 coerce 'InterconnectAttachment',
146 from HashRef, via { 'Google::Cloud::Edgenetwork::V1::Resources::InterconnectAttachment'->new($_) };
147  
148 declare 'RepeatedInterconnectAttachment',
149 as ArrayRef[InterconnectAttachment()];
150  
151 coerce 'RepeatedInterconnectAttachment',
152 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Edgenetwork::V1::Resources::InterconnectAttachment'->new($_) } @$_ ] };
153  
154 declare 'MapStringInterconnectAttachment',
155 as HashRef[InterconnectAttachment()];
156  
157 declare 'LabelsEntry',
158 as InstanceOf['Google::Cloud::Edgenetwork::V1::Resources::InterconnectAttachment::LabelsEntry'];
159  
160 coerce 'LabelsEntry',
161 from HashRef, via { 'Google::Cloud::Edgenetwork::V1::Resources::InterconnectAttachment::LabelsEntry'->new($_) };
162  
163 declare 'RepeatedLabelsEntry',
164 as ArrayRef[LabelsEntry()];
165  
166 coerce 'RepeatedLabelsEntry',
167 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Edgenetwork::V1::Resources::InterconnectAttachment::LabelsEntry'->new($_) } @$_ ] };
168  
169 declare 'MapStringLabelsEntry',
170 as HashRef[LabelsEntry()];
171  
172 declare 'Router',
173 as InstanceOf['Google::Cloud::Edgenetwork::V1::Resources::Router'];
174  
175 coerce 'Router',
176 from HashRef, via { 'Google::Cloud::Edgenetwork::V1::Resources::Router'->new($_) };
177  
178 declare 'RepeatedRouter',
179 as ArrayRef[Router()];
180  
181 coerce 'RepeatedRouter',
182 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Edgenetwork::V1::Resources::Router'->new($_) } @$_ ] };
183  
184 declare 'MapStringRouter',
185 as HashRef[Router()];
186  
187 declare 'Interface',
188 as InstanceOf['Google::Cloud::Edgenetwork::V1::Resources::Router::Interface'];
189  
190 coerce 'Interface',
191 from HashRef, via { 'Google::Cloud::Edgenetwork::V1::Resources::Router::Interface'->new($_) };
192  
193 declare 'RepeatedInterface',
194 as ArrayRef[Interface()];
195  
196 coerce 'RepeatedInterface',
197 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Edgenetwork::V1::Resources::Router::Interface'->new($_) } @$_ ] };
198  
199 declare 'MapStringInterface',
200 as HashRef[Interface()];
201  
202 declare 'BgpPeer',
203 as InstanceOf['Google::Cloud::Edgenetwork::V1::Resources::Router::BgpPeer'];
204  
205 coerce 'BgpPeer',
206 from HashRef, via { 'Google::Cloud::Edgenetwork::V1::Resources::Router::BgpPeer'->new($_) };
207  
208 declare 'RepeatedBgpPeer',
209 as ArrayRef[BgpPeer()];
210  
211 coerce 'RepeatedBgpPeer',
212 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Edgenetwork::V1::Resources::Router::BgpPeer'->new($_) } @$_ ] };
213  
214 declare 'MapStringBgpPeer',
215 as HashRef[BgpPeer()];
216  
217 declare 'Bgp',
218 as InstanceOf['Google::Cloud::Edgenetwork::V1::Resources::Router::Bgp'];
219  
220 coerce 'Bgp',
221 from HashRef, via { 'Google::Cloud::Edgenetwork::V1::Resources::Router::Bgp'->new($_) };
222  
223 declare 'RepeatedBgp',
224 as ArrayRef[Bgp()];
225  
226 coerce 'RepeatedBgp',
227 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Edgenetwork::V1::Resources::Router::Bgp'->new($_) } @$_ ] };
228  
229 declare 'MapStringBgp',
230 as HashRef[Bgp()];
231  
232 declare 'LabelsEntry',
233 as InstanceOf['Google::Cloud::Edgenetwork::V1::Resources::Router::LabelsEntry'];
234  
235 coerce 'LabelsEntry',
236 from HashRef, via { 'Google::Cloud::Edgenetwork::V1::Resources::Router::LabelsEntry'->new($_) };
237  
238 declare 'RepeatedLabelsEntry',
239 as ArrayRef[LabelsEntry()];
240  
241 coerce 'RepeatedLabelsEntry',
242 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Edgenetwork::V1::Resources::Router::LabelsEntry'->new($_) } @$_ ] };
243  
244 declare 'MapStringLabelsEntry',
245 as HashRef[LabelsEntry()];
246  
247 declare 'LinkLayerAddress',
248 as InstanceOf['Google::Cloud::Edgenetwork::V1::Resources::LinkLayerAddress'];
249  
250 coerce 'LinkLayerAddress',
251 from HashRef, via { 'Google::Cloud::Edgenetwork::V1::Resources::LinkLayerAddress'->new($_) };
252  
253 declare 'RepeatedLinkLayerAddress',
254 as ArrayRef[LinkLayerAddress()];
255  
256 coerce 'RepeatedLinkLayerAddress',
257 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Edgenetwork::V1::Resources::LinkLayerAddress'->new($_) } @$_ ] };
258  
259 declare 'MapStringLinkLayerAddress',
260 as HashRef[LinkLayerAddress()];
261  
262 declare 'SubnetStatus',
263 as InstanceOf['Google::Cloud::Edgenetwork::V1::Resources::SubnetStatus'];
264  
265 coerce 'SubnetStatus',
266 from HashRef, via { 'Google::Cloud::Edgenetwork::V1::Resources::SubnetStatus'->new($_) };
267  
268 declare 'RepeatedSubnetStatus',
269 as ArrayRef[SubnetStatus()];
270  
271 coerce 'RepeatedSubnetStatus',
272 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Edgenetwork::V1::Resources::SubnetStatus'->new($_) } @$_ ] };
273  
274 declare 'MapStringSubnetStatus',
275 as HashRef[SubnetStatus()];
276  
277 declare 'InterconnectDiagnostics',
278 as InstanceOf['Google::Cloud::Edgenetwork::V1::Resources::InterconnectDiagnostics'];
279  
280 coerce 'InterconnectDiagnostics',
281 from HashRef, via { 'Google::Cloud::Edgenetwork::V1::Resources::InterconnectDiagnostics'->new($_) };
282  
283 declare 'RepeatedInterconnectDiagnostics',
284 as ArrayRef[InterconnectDiagnostics()];
285  
286 coerce 'RepeatedInterconnectDiagnostics',
287 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Edgenetwork::V1::Resources::InterconnectDiagnostics'->new($_) } @$_ ] };
288  
289 declare 'MapStringInterconnectDiagnostics',
290 as HashRef[InterconnectDiagnostics()];
291  
292 declare 'LinkStatus',
293 as InstanceOf['Google::Cloud::Edgenetwork::V1::Resources::InterconnectDiagnostics::LinkStatus'];
294  
295 coerce 'LinkStatus',
296 from HashRef, via { 'Google::Cloud::Edgenetwork::V1::Resources::InterconnectDiagnostics::LinkStatus'->new($_) };
297  
298 declare 'RepeatedLinkStatus',
299 as ArrayRef[LinkStatus()];
300  
301 coerce 'RepeatedLinkStatus',
302 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Edgenetwork::V1::Resources::InterconnectDiagnostics::LinkStatus'->new($_) } @$_ ] };
303  
304 declare 'MapStringLinkStatus',
305 as HashRef[LinkStatus()];
306  
307 declare 'PacketCounts',
308 as InstanceOf['Google::Cloud::Edgenetwork::V1::Resources::InterconnectDiagnostics::PacketCounts'];
309  
310 coerce 'PacketCounts',
311 from HashRef, via { 'Google::Cloud::Edgenetwork::V1::Resources::InterconnectDiagnostics::PacketCounts'->new($_) };
312  
313 declare 'RepeatedPacketCounts',
314 as ArrayRef[PacketCounts()];
315  
316 coerce 'RepeatedPacketCounts',
317 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Edgenetwork::V1::Resources::InterconnectDiagnostics::PacketCounts'->new($_) } @$_ ] };
318  
319 declare 'MapStringPacketCounts',
320 as HashRef[PacketCounts()];
321  
322 declare 'LinkLACPStatus',
323 as InstanceOf['Google::Cloud::Edgenetwork::V1::Resources::InterconnectDiagnostics::LinkLACPStatus'];
324  
325 coerce 'LinkLACPStatus',
326 from HashRef, via { 'Google::Cloud::Edgenetwork::V1::Resources::InterconnectDiagnostics::LinkLACPStatus'->new($_) };
327  
328 declare 'RepeatedLinkLACPStatus',
329 as ArrayRef[LinkLACPStatus()];
330  
331 coerce 'RepeatedLinkLACPStatus',
332 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Edgenetwork::V1::Resources::InterconnectDiagnostics::LinkLACPStatus'->new($_) } @$_ ] };
333  
334 declare 'MapStringLinkLACPStatus',
335 as HashRef[LinkLACPStatus()];
336  
337 declare 'State',
338 as (Int | Str);
339  
340 declare 'LinkLLDPStatus',
341 as InstanceOf['Google::Cloud::Edgenetwork::V1::Resources::InterconnectDiagnostics::LinkLLDPStatus'];
342  
343 coerce 'LinkLLDPStatus',
344 from HashRef, via { 'Google::Cloud::Edgenetwork::V1::Resources::InterconnectDiagnostics::LinkLLDPStatus'->new($_) };
345  
346 declare 'RepeatedLinkLLDPStatus',
347 as ArrayRef[LinkLLDPStatus()];
348  
349 coerce 'RepeatedLinkLLDPStatus',
350 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Edgenetwork::V1::Resources::InterconnectDiagnostics::LinkLLDPStatus'->new($_) } @$_ ] };
351  
352 declare 'MapStringLinkLLDPStatus',
353 as HashRef[LinkLLDPStatus()];
354  
355 declare 'RouterStatus',
356 as InstanceOf['Google::Cloud::Edgenetwork::V1::Resources::RouterStatus'];
357  
358 coerce 'RouterStatus',
359 from HashRef, via { 'Google::Cloud::Edgenetwork::V1::Resources::RouterStatus'->new($_) };
360  
361 declare 'RepeatedRouterStatus',
362 as ArrayRef[RouterStatus()];
363  
364 coerce 'RepeatedRouterStatus',
365 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Edgenetwork::V1::Resources::RouterStatus'->new($_) } @$_ ] };
366  
367 declare 'MapStringRouterStatus',
368 as HashRef[RouterStatus()];
369  
370 declare 'BgpPeerStatus',
371 as InstanceOf['Google::Cloud::Edgenetwork::V1::Resources::RouterStatus::BgpPeerStatus'];
372  
373 coerce 'BgpPeerStatus',
374 from HashRef, via { 'Google::Cloud::Edgenetwork::V1::Resources::RouterStatus::BgpPeerStatus'->new($_) };
375  
376 declare 'RepeatedBgpPeerStatus',
377 as ArrayRef[BgpPeerStatus()];
378  
379 coerce 'RepeatedBgpPeerStatus',
380 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Edgenetwork::V1::Resources::RouterStatus::BgpPeerStatus'->new($_) } @$_ ] };
381  
382 declare 'MapStringBgpPeerStatus',
383 as HashRef[BgpPeerStatus()];
384  
385 declare 'BgpStatus',
386 as (Int | Str);
387  
388 declare 'PrefixCounter',
389 as InstanceOf['Google::Cloud::Edgenetwork::V1::Resources::RouterStatus::PrefixCounter'];
390  
391 coerce 'PrefixCounter',
392 from HashRef, via { 'Google::Cloud::Edgenetwork::V1::Resources::RouterStatus::PrefixCounter'->new($_) };
393  
394 declare 'RepeatedPrefixCounter',
395 as ArrayRef[PrefixCounter()];
396  
397 coerce 'RepeatedPrefixCounter',
398 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Edgenetwork::V1::Resources::RouterStatus::PrefixCounter'->new($_) } @$_ ] };
399  
400 declare 'MapStringPrefixCounter',
401 as HashRef[PrefixCounter()];
402  
403 1;
404  
405 __END__