V2/Instance/Types.pm untested

filter: Statementstmt 0.0% 0 / 265 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 270 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::Instance::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 'Instance',
11 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Instance::Instance'];
12  
13 coerce 'Instance',
14 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Instance::Instance'->new($_) };
15  
16 declare 'RepeatedInstance',
17 as ArrayRef[Instance()];
18  
19 coerce 'RepeatedInstance',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Instance::Instance'->new($_) } @$_ ] };
21  
22 declare 'MapStringInstance',
23 as HashRef[Instance()];
24  
25 declare 'State',
26 as (Int | Str);
27  
28 declare 'LabelsEntry',
29 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Instance::Instance::LabelsEntry'];
30  
31 coerce 'LabelsEntry',
32 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Instance::Instance::LabelsEntry'->new($_) };
33  
34 declare 'RepeatedLabelsEntry',
35 as ArrayRef[LabelsEntry()];
36  
37 coerce 'RepeatedLabelsEntry',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Instance::Instance::LabelsEntry'->new($_) } @$_ ] };
39  
40 declare 'MapStringLabelsEntry',
41 as HashRef[LabelsEntry()];
42  
43 declare 'GetInstanceRequest',
44 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Instance::GetInstanceRequest'];
45  
46 coerce 'GetInstanceRequest',
47 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Instance::GetInstanceRequest'->new($_) };
48  
49 declare 'RepeatedGetInstanceRequest',
50 as ArrayRef[GetInstanceRequest()];
51  
52 coerce 'RepeatedGetInstanceRequest',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Instance::GetInstanceRequest'->new($_) } @$_ ] };
54  
55 declare 'MapStringGetInstanceRequest',
56 as HashRef[GetInstanceRequest()];
57  
58 declare 'ListInstancesRequest',
59 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Instance::ListInstancesRequest'];
60  
61 coerce 'ListInstancesRequest',
62 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Instance::ListInstancesRequest'->new($_) };
63  
64 declare 'RepeatedListInstancesRequest',
65 as ArrayRef[ListInstancesRequest()];
66  
67 coerce 'RepeatedListInstancesRequest',
68 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Instance::ListInstancesRequest'->new($_) } @$_ ] };
69  
70 declare 'MapStringListInstancesRequest',
71 as HashRef[ListInstancesRequest()];
72  
73 declare 'ListInstancesResponse',
74 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Instance::ListInstancesResponse'];
75  
76 coerce 'ListInstancesResponse',
77 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Instance::ListInstancesResponse'->new($_) };
78  
79 declare 'RepeatedListInstancesResponse',
80 as ArrayRef[ListInstancesResponse()];
81  
82 coerce 'RepeatedListInstancesResponse',
83 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Instance::ListInstancesResponse'->new($_) } @$_ ] };
84  
85 declare 'MapStringListInstancesResponse',
86 as HashRef[ListInstancesResponse()];
87  
88 declare 'UpdateInstanceRequest',
89 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Instance::UpdateInstanceRequest'];
90  
91 coerce 'UpdateInstanceRequest',
92 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Instance::UpdateInstanceRequest'->new($_) };
93  
94 declare 'RepeatedUpdateInstanceRequest',
95 as ArrayRef[UpdateInstanceRequest()];
96  
97 coerce 'RepeatedUpdateInstanceRequest',
98 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Instance::UpdateInstanceRequest'->new($_) } @$_ ] };
99  
100 declare 'MapStringUpdateInstanceRequest',
101 as HashRef[UpdateInstanceRequest()];
102  
103 declare 'RenameInstanceRequest',
104 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Instance::RenameInstanceRequest'];
105  
106 coerce 'RenameInstanceRequest',
107 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Instance::RenameInstanceRequest'->new($_) };
108  
109 declare 'RepeatedRenameInstanceRequest',
110 as ArrayRef[RenameInstanceRequest()];
111  
112 coerce 'RepeatedRenameInstanceRequest',
113 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Instance::RenameInstanceRequest'->new($_) } @$_ ] };
114  
115 declare 'MapStringRenameInstanceRequest',
116 as HashRef[RenameInstanceRequest()];
117  
118 declare 'ResetInstanceRequest',
119 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Instance::ResetInstanceRequest'];
120  
121 coerce 'ResetInstanceRequest',
122 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Instance::ResetInstanceRequest'->new($_) };
123  
124 declare 'RepeatedResetInstanceRequest',
125 as ArrayRef[ResetInstanceRequest()];
126  
127 coerce 'RepeatedResetInstanceRequest',
128 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Instance::ResetInstanceRequest'->new($_) } @$_ ] };
129  
130 declare 'MapStringResetInstanceRequest',
131 as HashRef[ResetInstanceRequest()];
132  
133 declare 'StartInstanceRequest',
134 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Instance::StartInstanceRequest'];
135  
136 coerce 'StartInstanceRequest',
137 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Instance::StartInstanceRequest'->new($_) };
138  
139 declare 'RepeatedStartInstanceRequest',
140 as ArrayRef[StartInstanceRequest()];
141  
142 coerce 'RepeatedStartInstanceRequest',
143 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Instance::StartInstanceRequest'->new($_) } @$_ ] };
144  
145 declare 'MapStringStartInstanceRequest',
146 as HashRef[StartInstanceRequest()];
147  
148 declare 'StartInstanceResponse',
149 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Instance::StartInstanceResponse'];
150  
151 coerce 'StartInstanceResponse',
152 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Instance::StartInstanceResponse'->new($_) };
153  
154 declare 'RepeatedStartInstanceResponse',
155 as ArrayRef[StartInstanceResponse()];
156  
157 coerce 'RepeatedStartInstanceResponse',
158 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Instance::StartInstanceResponse'->new($_) } @$_ ] };
159  
160 declare 'MapStringStartInstanceResponse',
161 as HashRef[StartInstanceResponse()];
162  
163 declare 'StopInstanceRequest',
164 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Instance::StopInstanceRequest'];
165  
166 coerce 'StopInstanceRequest',
167 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Instance::StopInstanceRequest'->new($_) };
168  
169 declare 'RepeatedStopInstanceRequest',
170 as ArrayRef[StopInstanceRequest()];
171  
172 coerce 'RepeatedStopInstanceRequest',
173 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Instance::StopInstanceRequest'->new($_) } @$_ ] };
174  
175 declare 'MapStringStopInstanceRequest',
176 as HashRef[StopInstanceRequest()];
177  
178 declare 'StopInstanceResponse',
179 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Instance::StopInstanceResponse'];
180  
181 coerce 'StopInstanceResponse',
182 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Instance::StopInstanceResponse'->new($_) };
183  
184 declare 'RepeatedStopInstanceResponse',
185 as ArrayRef[StopInstanceResponse()];
186  
187 coerce 'RepeatedStopInstanceResponse',
188 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Instance::StopInstanceResponse'->new($_) } @$_ ] };
189  
190 declare 'MapStringStopInstanceResponse',
191 as HashRef[StopInstanceResponse()];
192  
193 declare 'EnableInteractiveSerialConsoleRequest',
194 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Instance::EnableInteractiveSerialConsoleRequest'];
195  
196 coerce 'EnableInteractiveSerialConsoleRequest',
197 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Instance::EnableInteractiveSerialConsoleRequest'->new($_) };
198  
199 declare 'RepeatedEnableInteractiveSerialConsoleRequest',
200 as ArrayRef[EnableInteractiveSerialConsoleRequest()];
201  
202 coerce 'RepeatedEnableInteractiveSerialConsoleRequest',
203 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Instance::EnableInteractiveSerialConsoleRequest'->new($_) } @$_ ] };
204  
205 declare 'MapStringEnableInteractiveSerialConsoleRequest',
206 as HashRef[EnableInteractiveSerialConsoleRequest()];
207  
208 declare 'EnableInteractiveSerialConsoleResponse',
209 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Instance::EnableInteractiveSerialConsoleResponse'];
210  
211 coerce 'EnableInteractiveSerialConsoleResponse',
212 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Instance::EnableInteractiveSerialConsoleResponse'->new($_) };
213  
214 declare 'RepeatedEnableInteractiveSerialConsoleResponse',
215 as ArrayRef[EnableInteractiveSerialConsoleResponse()];
216  
217 coerce 'RepeatedEnableInteractiveSerialConsoleResponse',
218 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Instance::EnableInteractiveSerialConsoleResponse'->new($_) } @$_ ] };
219  
220 declare 'MapStringEnableInteractiveSerialConsoleResponse',
221 as HashRef[EnableInteractiveSerialConsoleResponse()];
222  
223 declare 'DisableInteractiveSerialConsoleRequest',
224 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Instance::DisableInteractiveSerialConsoleRequest'];
225  
226 coerce 'DisableInteractiveSerialConsoleRequest',
227 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Instance::DisableInteractiveSerialConsoleRequest'->new($_) };
228  
229 declare 'RepeatedDisableInteractiveSerialConsoleRequest',
230 as ArrayRef[DisableInteractiveSerialConsoleRequest()];
231  
232 coerce 'RepeatedDisableInteractiveSerialConsoleRequest',
233 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Instance::DisableInteractiveSerialConsoleRequest'->new($_) } @$_ ] };
234  
235 declare 'MapStringDisableInteractiveSerialConsoleRequest',
236 as HashRef[DisableInteractiveSerialConsoleRequest()];
237  
238 declare 'DisableInteractiveSerialConsoleResponse',
239 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Instance::DisableInteractiveSerialConsoleResponse'];
240  
241 coerce 'DisableInteractiveSerialConsoleResponse',
242 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Instance::DisableInteractiveSerialConsoleResponse'->new($_) };
243  
244 declare 'RepeatedDisableInteractiveSerialConsoleResponse',
245 as ArrayRef[DisableInteractiveSerialConsoleResponse()];
246  
247 coerce 'RepeatedDisableInteractiveSerialConsoleResponse',
248 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Instance::DisableInteractiveSerialConsoleResponse'->new($_) } @$_ ] };
249  
250 declare 'MapStringDisableInteractiveSerialConsoleResponse',
251 as HashRef[DisableInteractiveSerialConsoleResponse()];
252  
253 declare 'DetachLunRequest',
254 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Instance::DetachLunRequest'];
255  
256 coerce 'DetachLunRequest',
257 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Instance::DetachLunRequest'->new($_) };
258  
259 declare 'RepeatedDetachLunRequest',
260 as ArrayRef[DetachLunRequest()];
261  
262 coerce 'RepeatedDetachLunRequest',
263 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Instance::DetachLunRequest'->new($_) } @$_ ] };
264  
265 declare 'MapStringDetachLunRequest',
266 as HashRef[DetachLunRequest()];
267  
268 declare 'ServerNetworkTemplate',
269 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Instance::ServerNetworkTemplate'];
270  
271 coerce 'ServerNetworkTemplate',
272 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Instance::ServerNetworkTemplate'->new($_) };
273  
274 declare 'RepeatedServerNetworkTemplate',
275 as ArrayRef[ServerNetworkTemplate()];
276  
277 coerce 'RepeatedServerNetworkTemplate',
278 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Instance::ServerNetworkTemplate'->new($_) } @$_ ] };
279  
280 declare 'MapStringServerNetworkTemplate',
281 as HashRef[ServerNetworkTemplate()];
282  
283 declare 'LogicalInterface',
284 as InstanceOf['Google::Cloud::Baremetalsolution::V2::Instance::ServerNetworkTemplate::LogicalInterface'];
285  
286 coerce 'LogicalInterface',
287 from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Instance::ServerNetworkTemplate::LogicalInterface'->new($_) };
288  
289 declare 'RepeatedLogicalInterface',
290 as ArrayRef[LogicalInterface()];
291  
292 coerce 'RepeatedLogicalInterface',
293 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Instance::ServerNetworkTemplate::LogicalInterface'->new($_) } @$_ ] };
294  
295 declare 'MapStringLogicalInterface',
296 as HashRef[LogicalInterface()];
297  
298 declare 'InterfaceType',
299 as (Int | Str);
300  
301 1;
302  
303 __END__