V1/Instance/Types.pm untested

filter: Statementstmt 0.0% 0 / 254 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 259 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::Lustre::V1::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::Lustre::V1::Instance::Instance'];
12  
13 coerce 'Instance',
14 from HashRef, via { 'Google::Cloud::Lustre::V1::Instance::Instance'->new($_) };
15  
16 declare 'RepeatedInstance',
17 as ArrayRef[Instance()];
18  
19 coerce 'RepeatedInstance',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::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::Lustre::V1::Instance::Instance::LabelsEntry'];
30  
31 coerce 'LabelsEntry',
32 from HashRef, via { 'Google::Cloud::Lustre::V1::Instance::Instance::LabelsEntry'->new($_) };
33  
34 declare 'RepeatedLabelsEntry',
35 as ArrayRef[LabelsEntry()];
36  
37 coerce 'RepeatedLabelsEntry',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Instance::Instance::LabelsEntry'->new($_) } @$_ ] };
39  
40 declare 'MapStringLabelsEntry',
41 as HashRef[LabelsEntry()];
42  
43 declare 'DynamicTierOptions',
44 as InstanceOf['Google::Cloud::Lustre::V1::Instance::DynamicTierOptions'];
45  
46 coerce 'DynamicTierOptions',
47 from HashRef, via { 'Google::Cloud::Lustre::V1::Instance::DynamicTierOptions'->new($_) };
48  
49 declare 'RepeatedDynamicTierOptions',
50 as ArrayRef[DynamicTierOptions()];
51  
52 coerce 'RepeatedDynamicTierOptions',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Instance::DynamicTierOptions'->new($_) } @$_ ] };
54  
55 declare 'MapStringDynamicTierOptions',
56 as HashRef[DynamicTierOptions()];
57  
58 declare 'Mode',
59 as (Int | Str);
60  
61 declare 'AccessRulesOptions',
62 as InstanceOf['Google::Cloud::Lustre::V1::Instance::AccessRulesOptions'];
63  
64 coerce 'AccessRulesOptions',
65 from HashRef, via { 'Google::Cloud::Lustre::V1::Instance::AccessRulesOptions'->new($_) };
66  
67 declare 'RepeatedAccessRulesOptions',
68 as ArrayRef[AccessRulesOptions()];
69  
70 coerce 'RepeatedAccessRulesOptions',
71 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Instance::AccessRulesOptions'->new($_) } @$_ ] };
72  
73 declare 'MapStringAccessRulesOptions',
74 as HashRef[AccessRulesOptions()];
75  
76 declare 'SquashMode',
77 as (Int | Str);
78  
79 declare 'AccessRule',
80 as InstanceOf['Google::Cloud::Lustre::V1::Instance::AccessRulesOptions::AccessRule'];
81  
82 coerce 'AccessRule',
83 from HashRef, via { 'Google::Cloud::Lustre::V1::Instance::AccessRulesOptions::AccessRule'->new($_) };
84  
85 declare 'RepeatedAccessRule',
86 as ArrayRef[AccessRule()];
87  
88 coerce 'RepeatedAccessRule',
89 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Instance::AccessRulesOptions::AccessRule'->new($_) } @$_ ] };
90  
91 declare 'MapStringAccessRule',
92 as HashRef[AccessRule()];
93  
94 declare 'ListInstancesRequest',
95 as InstanceOf['Google::Cloud::Lustre::V1::Instance::ListInstancesRequest'];
96  
97 coerce 'ListInstancesRequest',
98 from HashRef, via { 'Google::Cloud::Lustre::V1::Instance::ListInstancesRequest'->new($_) };
99  
100 declare 'RepeatedListInstancesRequest',
101 as ArrayRef[ListInstancesRequest()];
102  
103 coerce 'RepeatedListInstancesRequest',
104 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Instance::ListInstancesRequest'->new($_) } @$_ ] };
105  
106 declare 'MapStringListInstancesRequest',
107 as HashRef[ListInstancesRequest()];
108  
109 declare 'ListInstancesResponse',
110 as InstanceOf['Google::Cloud::Lustre::V1::Instance::ListInstancesResponse'];
111  
112 coerce 'ListInstancesResponse',
113 from HashRef, via { 'Google::Cloud::Lustre::V1::Instance::ListInstancesResponse'->new($_) };
114  
115 declare 'RepeatedListInstancesResponse',
116 as ArrayRef[ListInstancesResponse()];
117  
118 coerce 'RepeatedListInstancesResponse',
119 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Instance::ListInstancesResponse'->new($_) } @$_ ] };
120  
121 declare 'MapStringListInstancesResponse',
122 as HashRef[ListInstancesResponse()];
123  
124 declare 'GetInstanceRequest',
125 as InstanceOf['Google::Cloud::Lustre::V1::Instance::GetInstanceRequest'];
126  
127 coerce 'GetInstanceRequest',
128 from HashRef, via { 'Google::Cloud::Lustre::V1::Instance::GetInstanceRequest'->new($_) };
129  
130 declare 'RepeatedGetInstanceRequest',
131 as ArrayRef[GetInstanceRequest()];
132  
133 coerce 'RepeatedGetInstanceRequest',
134 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Instance::GetInstanceRequest'->new($_) } @$_ ] };
135  
136 declare 'MapStringGetInstanceRequest',
137 as HashRef[GetInstanceRequest()];
138  
139 declare 'CreateInstanceRequest',
140 as InstanceOf['Google::Cloud::Lustre::V1::Instance::CreateInstanceRequest'];
141  
142 coerce 'CreateInstanceRequest',
143 from HashRef, via { 'Google::Cloud::Lustre::V1::Instance::CreateInstanceRequest'->new($_) };
144  
145 declare 'RepeatedCreateInstanceRequest',
146 as ArrayRef[CreateInstanceRequest()];
147  
148 coerce 'RepeatedCreateInstanceRequest',
149 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Instance::CreateInstanceRequest'->new($_) } @$_ ] };
150  
151 declare 'MapStringCreateInstanceRequest',
152 as HashRef[CreateInstanceRequest()];
153  
154 declare 'UpdateInstanceRequest',
155 as InstanceOf['Google::Cloud::Lustre::V1::Instance::UpdateInstanceRequest'];
156  
157 coerce 'UpdateInstanceRequest',
158 from HashRef, via { 'Google::Cloud::Lustre::V1::Instance::UpdateInstanceRequest'->new($_) };
159  
160 declare 'RepeatedUpdateInstanceRequest',
161 as ArrayRef[UpdateInstanceRequest()];
162  
163 coerce 'RepeatedUpdateInstanceRequest',
164 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Instance::UpdateInstanceRequest'->new($_) } @$_ ] };
165  
166 declare 'MapStringUpdateInstanceRequest',
167 as HashRef[UpdateInstanceRequest()];
168  
169 declare 'DeleteInstanceRequest',
170 as InstanceOf['Google::Cloud::Lustre::V1::Instance::DeleteInstanceRequest'];
171  
172 coerce 'DeleteInstanceRequest',
173 from HashRef, via { 'Google::Cloud::Lustre::V1::Instance::DeleteInstanceRequest'->new($_) };
174  
175 declare 'RepeatedDeleteInstanceRequest',
176 as ArrayRef[DeleteInstanceRequest()];
177  
178 coerce 'RepeatedDeleteInstanceRequest',
179 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Instance::DeleteInstanceRequest'->new($_) } @$_ ] };
180  
181 declare 'MapStringDeleteInstanceRequest',
182 as HashRef[DeleteInstanceRequest()];
183  
184 declare 'OperationMetadata',
185 as InstanceOf['Google::Cloud::Lustre::V1::Instance::OperationMetadata'];
186  
187 coerce 'OperationMetadata',
188 from HashRef, via { 'Google::Cloud::Lustre::V1::Instance::OperationMetadata'->new($_) };
189  
190 declare 'RepeatedOperationMetadata',
191 as ArrayRef[OperationMetadata()];
192  
193 coerce 'RepeatedOperationMetadata',
194 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Instance::OperationMetadata'->new($_) } @$_ ] };
195  
196 declare 'MapStringOperationMetadata',
197 as HashRef[OperationMetadata()];
198  
199 declare 'MaintenancePolicy',
200 as InstanceOf['Google::Cloud::Lustre::V1::Instance::MaintenancePolicy'];
201  
202 coerce 'MaintenancePolicy',
203 from HashRef, via { 'Google::Cloud::Lustre::V1::Instance::MaintenancePolicy'->new($_) };
204  
205 declare 'RepeatedMaintenancePolicy',
206 as ArrayRef[MaintenancePolicy()];
207  
208 coerce 'RepeatedMaintenancePolicy',
209 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Instance::MaintenancePolicy'->new($_) } @$_ ] };
210  
211 declare 'MapStringMaintenancePolicy',
212 as HashRef[MaintenancePolicy()];
213  
214 declare 'WeeklyMaintenanceWindow',
215 as InstanceOf['Google::Cloud::Lustre::V1::Instance::MaintenancePolicy::WeeklyMaintenanceWindow'];
216  
217 coerce 'WeeklyMaintenanceWindow',
218 from HashRef, via { 'Google::Cloud::Lustre::V1::Instance::MaintenancePolicy::WeeklyMaintenanceWindow'->new($_) };
219  
220 declare 'RepeatedWeeklyMaintenanceWindow',
221 as ArrayRef[WeeklyMaintenanceWindow()];
222  
223 coerce 'RepeatedWeeklyMaintenanceWindow',
224 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Instance::MaintenancePolicy::WeeklyMaintenanceWindow'->new($_) } @$_ ] };
225  
226 declare 'MapStringWeeklyMaintenanceWindow',
227 as HashRef[WeeklyMaintenanceWindow()];
228  
229 declare 'MaintenanceExclusionWindow',
230 as InstanceOf['Google::Cloud::Lustre::V1::Instance::MaintenancePolicy::MaintenanceExclusionWindow'];
231  
232 coerce 'MaintenanceExclusionWindow',
233 from HashRef, via { 'Google::Cloud::Lustre::V1::Instance::MaintenancePolicy::MaintenanceExclusionWindow'->new($_) };
234  
235 declare 'RepeatedMaintenanceExclusionWindow',
236 as ArrayRef[MaintenanceExclusionWindow()];
237  
238 coerce 'RepeatedMaintenanceExclusionWindow',
239 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Instance::MaintenancePolicy::MaintenanceExclusionWindow'->new($_) } @$_ ] };
240  
241 declare 'MapStringMaintenanceExclusionWindow',
242 as HashRef[MaintenanceExclusionWindow()];
243  
244 declare 'MaintenanceSchedule',
245 as InstanceOf['Google::Cloud::Lustre::V1::Instance::MaintenanceSchedule'];
246  
247 coerce 'MaintenanceSchedule',
248 from HashRef, via { 'Google::Cloud::Lustre::V1::Instance::MaintenanceSchedule'->new($_) };
249  
250 declare 'RepeatedMaintenanceSchedule',
251 as ArrayRef[MaintenanceSchedule()];
252  
253 coerce 'RepeatedMaintenanceSchedule',
254 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Instance::MaintenanceSchedule'->new($_) } @$_ ] };
255  
256 declare 'MapStringMaintenanceSchedule',
257 as HashRef[MaintenanceSchedule()];
258  
259 declare 'RescheduleMaintenanceRequest',
260 as InstanceOf['Google::Cloud::Lustre::V1::Instance::RescheduleMaintenanceRequest'];
261  
262 coerce 'RescheduleMaintenanceRequest',
263 from HashRef, via { 'Google::Cloud::Lustre::V1::Instance::RescheduleMaintenanceRequest'->new($_) };
264  
265 declare 'RepeatedRescheduleMaintenanceRequest',
266 as ArrayRef[RescheduleMaintenanceRequest()];
267  
268 coerce 'RepeatedRescheduleMaintenanceRequest',
269 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Instance::RescheduleMaintenanceRequest'->new($_) } @$_ ] };
270  
271 declare 'MapStringRescheduleMaintenanceRequest',
272 as HashRef[RescheduleMaintenanceRequest()];
273  
274 declare 'RescheduleType',
275 as (Int | Str);
276  
277 declare 'Reschedule',
278 as InstanceOf['Google::Cloud::Lustre::V1::Instance::RescheduleMaintenanceRequest::Reschedule'];
279  
280 coerce 'Reschedule',
281 from HashRef, via { 'Google::Cloud::Lustre::V1::Instance::RescheduleMaintenanceRequest::Reschedule'->new($_) };
282  
283 declare 'RepeatedReschedule',
284 as ArrayRef[Reschedule()];
285  
286 coerce 'RepeatedReschedule',
287 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lustre::V1::Instance::RescheduleMaintenanceRequest::Reschedule'->new($_) } @$_ ] };
288  
289 declare 'MapStringReschedule',
290 as HashRef[Reschedule()];
291  
292 1;
293  
294 __END__