V2/Network/Types.pm untested

filter: Statementstmt 0.0% 0 / 240 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 245 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::Baremetalsolution::V2::Network::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 'Network',
11 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Network::Network'];
12  
13 coerce 'Network',
14 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Network::Network'->new($_) };
15  
16 declare 'RepeatedNetwork',
17 as ArrayRef[Network()];
18  
19 coerce 'RepeatedNetwork',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Network::Network'->new($_) } @$_ ] };
21  
22 declare 'MapStringNetwork',
23 as HashRef[Network()];
24  
25 declare 'Type',
26 as (Int | Str);
27  
28 declare 'State',
29 as (Int | Str);
30  
31 declare 'LabelsEntry',
32 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Network::Network::LabelsEntry'];
33  
34 coerce 'LabelsEntry',
35 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Network::Network::LabelsEntry'->new($_) };
36  
37 declare 'RepeatedLabelsEntry',
38 as ArrayRef[LabelsEntry()];
39  
40 coerce 'RepeatedLabelsEntry',
41 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Network::Network::LabelsEntry'->new($_) } @$_ ] };
42  
43 declare 'MapStringLabelsEntry',
44 as HashRef[LabelsEntry()];
45  
46 declare 'NetworkAddressReservation',
47 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Network::NetworkAddressReservation'];
48  
49 coerce 'NetworkAddressReservation',
50 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Network::NetworkAddressReservation'->new($_) };
51  
52 declare 'RepeatedNetworkAddressReservation',
53 as ArrayRef[NetworkAddressReservation()];
54  
55 coerce 'RepeatedNetworkAddressReservation',
56 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Network::NetworkAddressReservation'->new($_) } @$_ ] };
57  
58 declare 'MapStringNetworkAddressReservation',
59 as HashRef[NetworkAddressReservation()];
60  
61 declare 'VRF',
62 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Network::VRF'];
63  
64 coerce 'VRF',
65 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Network::VRF'->new($_) };
66  
67 declare 'RepeatedVRF',
68 as ArrayRef[VRF()];
69  
70 coerce 'RepeatedVRF',
71 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Network::VRF'->new($_) } @$_ ] };
72  
73 declare 'MapStringVRF',
74 as HashRef[VRF()];
75  
76 declare 'State',
77 as (Int | Str);
78  
79 declare 'QosPolicy',
80 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Network::VRF::QosPolicy'];
81  
82 coerce 'QosPolicy',
83 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Network::VRF::QosPolicy'->new($_) };
84  
85 declare 'RepeatedQosPolicy',
86 as ArrayRef[QosPolicy()];
87  
88 coerce 'RepeatedQosPolicy',
89 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Network::VRF::QosPolicy'->new($_) } @$_ ] };
90  
91 declare 'MapStringQosPolicy',
92 as HashRef[QosPolicy()];
93  
94 declare 'VlanAttachment',
95 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Network::VRF::VlanAttachment'];
96  
97 coerce 'VlanAttachment',
98 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Network::VRF::VlanAttachment'->new($_) };
99  
100 declare 'RepeatedVlanAttachment',
101 as ArrayRef[VlanAttachment()];
102  
103 coerce 'RepeatedVlanAttachment',
104 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Network::VRF::VlanAttachment'->new($_) } @$_ ] };
105  
106 declare 'MapStringVlanAttachment',
107 as HashRef[VlanAttachment()];
108  
109 declare 'LogicalInterface',
110 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Network::LogicalInterface'];
111  
112 coerce 'LogicalInterface',
113 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Network::LogicalInterface'->new($_) };
114  
115 declare 'RepeatedLogicalInterface',
116 as ArrayRef[LogicalInterface()];
117  
118 coerce 'RepeatedLogicalInterface',
119 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Network::LogicalInterface'->new($_) } @$_ ] };
120  
121 declare 'MapStringLogicalInterface',
122 as HashRef[LogicalInterface()];
123  
124 declare 'LogicalNetworkInterface',
125 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Network::LogicalInterface::LogicalNetworkInterface'];
126  
127 coerce 'LogicalNetworkInterface',
128 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Network::LogicalInterface::LogicalNetworkInterface'->new($_) };
129  
130 declare 'RepeatedLogicalNetworkInterface',
131 as ArrayRef[LogicalNetworkInterface()];
132  
133 coerce 'RepeatedLogicalNetworkInterface',
134 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Network::LogicalInterface::LogicalNetworkInterface'->new($_) } @$_ ] };
135  
136 declare 'MapStringLogicalNetworkInterface',
137 as HashRef[LogicalNetworkInterface()];
138  
139 declare 'GetNetworkRequest',
140 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Network::GetNetworkRequest'];
141  
142 coerce 'GetNetworkRequest',
143 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Network::GetNetworkRequest'->new($_) };
144  
145 declare 'RepeatedGetNetworkRequest',
146 as ArrayRef[GetNetworkRequest()];
147  
148 coerce 'RepeatedGetNetworkRequest',
149 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Network::GetNetworkRequest'->new($_) } @$_ ] };
150  
151 declare 'MapStringGetNetworkRequest',
152 as HashRef[GetNetworkRequest()];
153  
154 declare 'ListNetworksRequest',
155 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Network::ListNetworksRequest'];
156  
157 coerce 'ListNetworksRequest',
158 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Network::ListNetworksRequest'->new($_) };
159  
160 declare 'RepeatedListNetworksRequest',
161 as ArrayRef[ListNetworksRequest()];
162  
163 coerce 'RepeatedListNetworksRequest',
164 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Network::ListNetworksRequest'->new($_) } @$_ ] };
165  
166 declare 'MapStringListNetworksRequest',
167 as HashRef[ListNetworksRequest()];
168  
169 declare 'ListNetworksResponse',
170 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Network::ListNetworksResponse'];
171  
172 coerce 'ListNetworksResponse',
173 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Network::ListNetworksResponse'->new($_) };
174  
175 declare 'RepeatedListNetworksResponse',
176 as ArrayRef[ListNetworksResponse()];
177  
178 coerce 'RepeatedListNetworksResponse',
179 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Network::ListNetworksResponse'->new($_) } @$_ ] };
180  
181 declare 'MapStringListNetworksResponse',
182 as HashRef[ListNetworksResponse()];
183  
184 declare 'UpdateNetworkRequest',
185 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Network::UpdateNetworkRequest'];
186  
187 coerce 'UpdateNetworkRequest',
188 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Network::UpdateNetworkRequest'->new($_) };
189  
190 declare 'RepeatedUpdateNetworkRequest',
191 as ArrayRef[UpdateNetworkRequest()];
192  
193 coerce 'RepeatedUpdateNetworkRequest',
194 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Network::UpdateNetworkRequest'->new($_) } @$_ ] };
195  
196 declare 'MapStringUpdateNetworkRequest',
197 as HashRef[UpdateNetworkRequest()];
198  
199 declare 'NetworkUsage',
200 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Network::NetworkUsage'];
201  
202 coerce 'NetworkUsage',
203 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Network::NetworkUsage'->new($_) };
204  
205 declare 'RepeatedNetworkUsage',
206 as ArrayRef[NetworkUsage()];
207  
208 coerce 'RepeatedNetworkUsage',
209 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Network::NetworkUsage'->new($_) } @$_ ] };
210  
211 declare 'MapStringNetworkUsage',
212 as HashRef[NetworkUsage()];
213  
214 declare 'ListNetworkUsageRequest',
215 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Network::ListNetworkUsageRequest'];
216  
217 coerce 'ListNetworkUsageRequest',
218 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Network::ListNetworkUsageRequest'->new($_) };
219  
220 declare 'RepeatedListNetworkUsageRequest',
221 as ArrayRef[ListNetworkUsageRequest()];
222  
223 coerce 'RepeatedListNetworkUsageRequest',
224 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Network::ListNetworkUsageRequest'->new($_) } @$_ ] };
225  
226 declare 'MapStringListNetworkUsageRequest',
227 as HashRef[ListNetworkUsageRequest()];
228  
229 declare 'ListNetworkUsageResponse',
230 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Network::ListNetworkUsageResponse'];
231  
232 coerce 'ListNetworkUsageResponse',
233 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Network::ListNetworkUsageResponse'->new($_) };
234  
235 declare 'RepeatedListNetworkUsageResponse',
236 as ArrayRef[ListNetworkUsageResponse()];
237  
238 coerce 'RepeatedListNetworkUsageResponse',
239 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Network::ListNetworkUsageResponse'->new($_) } @$_ ] };
240  
241 declare 'MapStringListNetworkUsageResponse',
242 as HashRef[ListNetworkUsageResponse()];
243  
244 declare 'NetworkMountPoint',
245 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Network::NetworkMountPoint'];
246  
247 coerce 'NetworkMountPoint',
248 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Network::NetworkMountPoint'->new($_) };
249  
250 declare 'RepeatedNetworkMountPoint',
251 as ArrayRef[NetworkMountPoint()];
252  
253 coerce 'RepeatedNetworkMountPoint',
254 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Network::NetworkMountPoint'->new($_) } @$_ ] };
255  
256 declare 'MapStringNetworkMountPoint',
257 as HashRef[NetworkMountPoint()];
258  
259 declare 'RenameNetworkRequest',
260 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Network::RenameNetworkRequest'];
261  
262 coerce 'RenameNetworkRequest',
263 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Network::RenameNetworkRequest'->new($_) };
264  
265 declare 'RepeatedRenameNetworkRequest',
266 as ArrayRef[RenameNetworkRequest()];
267  
268 coerce 'RepeatedRenameNetworkRequest',
269 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Network::RenameNetworkRequest'->new($_) } @$_ ] };
270  
271 declare 'MapStringRenameNetworkRequest',
272 as HashRef[RenameNetworkRequest()];
273  
274 1;
275  
276 __END__