V1beta2/CloudMemcache/Types.pm untested

filter: Statementstmt 0.0% 0 / 333 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 338 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::Memcache::V1beta2::CloudMemcache::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 'MemcacheVersion',
11 as (Int | Str);
12  
13 declare 'Instance',
14 as InstanceOf['Google::Cloud::Memcache::V1beta2::CloudMemcache::Instance'];
15  
16 coerce 'Instance',
17 from HashRef, via { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::Instance'->new($_) };
18  
19 declare 'RepeatedInstance',
20 as ArrayRef[Instance()];
21  
22 coerce 'RepeatedInstance',
23 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::Instance'->new($_) } @$_ ] };
24  
25 declare 'MapStringInstance',
26 as HashRef[Instance()];
27  
28 declare 'State',
29 as (Int | Str);
30  
31 declare 'NodeConfig',
32 as InstanceOf['Google::Cloud::Memcache::V1beta2::CloudMemcache::Instance::NodeConfig'];
33  
34 coerce 'NodeConfig',
35 from HashRef, via { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::Instance::NodeConfig'->new($_) };
36  
37 declare 'RepeatedNodeConfig',
38 as ArrayRef[NodeConfig()];
39  
40 coerce 'RepeatedNodeConfig',
41 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::Instance::NodeConfig'->new($_) } @$_ ] };
42  
43 declare 'MapStringNodeConfig',
44 as HashRef[NodeConfig()];
45  
46 declare 'Node',
47 as InstanceOf['Google::Cloud::Memcache::V1beta2::CloudMemcache::Instance::Node'];
48  
49 coerce 'Node',
50 from HashRef, via { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::Instance::Node'->new($_) };
51  
52 declare 'RepeatedNode',
53 as ArrayRef[Node()];
54  
55 coerce 'RepeatedNode',
56 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::Instance::Node'->new($_) } @$_ ] };
57  
58 declare 'MapStringNode',
59 as HashRef[Node()];
60  
61 declare 'State',
62 as (Int | Str);
63  
64 declare 'InstanceMessage',
65 as InstanceOf['Google::Cloud::Memcache::V1beta2::CloudMemcache::Instance::InstanceMessage'];
66  
67 coerce 'InstanceMessage',
68 from HashRef, via { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::Instance::InstanceMessage'->new($_) };
69  
70 declare 'RepeatedInstanceMessage',
71 as ArrayRef[InstanceMessage()];
72  
73 coerce 'RepeatedInstanceMessage',
74 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::Instance::InstanceMessage'->new($_) } @$_ ] };
75  
76 declare 'MapStringInstanceMessage',
77 as HashRef[InstanceMessage()];
78  
79 declare 'Code',
80 as (Int | Str);
81  
82 declare 'LabelsEntry',
83 as InstanceOf['Google::Cloud::Memcache::V1beta2::CloudMemcache::Instance::LabelsEntry'];
84  
85 coerce 'LabelsEntry',
86 from HashRef, via { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::Instance::LabelsEntry'->new($_) };
87  
88 declare 'RepeatedLabelsEntry',
89 as ArrayRef[LabelsEntry()];
90  
91 coerce 'RepeatedLabelsEntry',
92 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::Instance::LabelsEntry'->new($_) } @$_ ] };
93  
94 declare 'MapStringLabelsEntry',
95 as HashRef[LabelsEntry()];
96  
97 declare 'MaintenancePolicy',
98 as InstanceOf['Google::Cloud::Memcache::V1beta2::CloudMemcache::MaintenancePolicy'];
99  
100 coerce 'MaintenancePolicy',
101 from HashRef, via { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::MaintenancePolicy'->new($_) };
102  
103 declare 'RepeatedMaintenancePolicy',
104 as ArrayRef[MaintenancePolicy()];
105  
106 coerce 'RepeatedMaintenancePolicy',
107 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::MaintenancePolicy'->new($_) } @$_ ] };
108  
109 declare 'MapStringMaintenancePolicy',
110 as HashRef[MaintenancePolicy()];
111  
112 declare 'WeeklyMaintenanceWindow',
113 as InstanceOf['Google::Cloud::Memcache::V1beta2::CloudMemcache::WeeklyMaintenanceWindow'];
114  
115 coerce 'WeeklyMaintenanceWindow',
116 from HashRef, via { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::WeeklyMaintenanceWindow'->new($_) };
117  
118 declare 'RepeatedWeeklyMaintenanceWindow',
119 as ArrayRef[WeeklyMaintenanceWindow()];
120  
121 coerce 'RepeatedWeeklyMaintenanceWindow',
122 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::WeeklyMaintenanceWindow'->new($_) } @$_ ] };
123  
124 declare 'MapStringWeeklyMaintenanceWindow',
125 as HashRef[WeeklyMaintenanceWindow()];
126  
127 declare 'MaintenanceSchedule',
128 as InstanceOf['Google::Cloud::Memcache::V1beta2::CloudMemcache::MaintenanceSchedule'];
129  
130 coerce 'MaintenanceSchedule',
131 from HashRef, via { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::MaintenanceSchedule'->new($_) };
132  
133 declare 'RepeatedMaintenanceSchedule',
134 as ArrayRef[MaintenanceSchedule()];
135  
136 coerce 'RepeatedMaintenanceSchedule',
137 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::MaintenanceSchedule'->new($_) } @$_ ] };
138  
139 declare 'MapStringMaintenanceSchedule',
140 as HashRef[MaintenanceSchedule()];
141  
142 declare 'ListInstancesRequest',
143 as InstanceOf['Google::Cloud::Memcache::V1beta2::CloudMemcache::ListInstancesRequest'];
144  
145 coerce 'ListInstancesRequest',
146 from HashRef, via { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::ListInstancesRequest'->new($_) };
147  
148 declare 'RepeatedListInstancesRequest',
149 as ArrayRef[ListInstancesRequest()];
150  
151 coerce 'RepeatedListInstancesRequest',
152 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::ListInstancesRequest'->new($_) } @$_ ] };
153  
154 declare 'MapStringListInstancesRequest',
155 as HashRef[ListInstancesRequest()];
156  
157 declare 'ListInstancesResponse',
158 as InstanceOf['Google::Cloud::Memcache::V1beta2::CloudMemcache::ListInstancesResponse'];
159  
160 coerce 'ListInstancesResponse',
161 from HashRef, via { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::ListInstancesResponse'->new($_) };
162  
163 declare 'RepeatedListInstancesResponse',
164 as ArrayRef[ListInstancesResponse()];
165  
166 coerce 'RepeatedListInstancesResponse',
167 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::ListInstancesResponse'->new($_) } @$_ ] };
168  
169 declare 'MapStringListInstancesResponse',
170 as HashRef[ListInstancesResponse()];
171  
172 declare 'GetInstanceRequest',
173 as InstanceOf['Google::Cloud::Memcache::V1beta2::CloudMemcache::GetInstanceRequest'];
174  
175 coerce 'GetInstanceRequest',
176 from HashRef, via { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::GetInstanceRequest'->new($_) };
177  
178 declare 'RepeatedGetInstanceRequest',
179 as ArrayRef[GetInstanceRequest()];
180  
181 coerce 'RepeatedGetInstanceRequest',
182 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::GetInstanceRequest'->new($_) } @$_ ] };
183  
184 declare 'MapStringGetInstanceRequest',
185 as HashRef[GetInstanceRequest()];
186  
187 declare 'CreateInstanceRequest',
188 as InstanceOf['Google::Cloud::Memcache::V1beta2::CloudMemcache::CreateInstanceRequest'];
189  
190 coerce 'CreateInstanceRequest',
191 from HashRef, via { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::CreateInstanceRequest'->new($_) };
192  
193 declare 'RepeatedCreateInstanceRequest',
194 as ArrayRef[CreateInstanceRequest()];
195  
196 coerce 'RepeatedCreateInstanceRequest',
197 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::CreateInstanceRequest'->new($_) } @$_ ] };
198  
199 declare 'MapStringCreateInstanceRequest',
200 as HashRef[CreateInstanceRequest()];
201  
202 declare 'UpdateInstanceRequest',
203 as InstanceOf['Google::Cloud::Memcache::V1beta2::CloudMemcache::UpdateInstanceRequest'];
204  
205 coerce 'UpdateInstanceRequest',
206 from HashRef, via { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::UpdateInstanceRequest'->new($_) };
207  
208 declare 'RepeatedUpdateInstanceRequest',
209 as ArrayRef[UpdateInstanceRequest()];
210  
211 coerce 'RepeatedUpdateInstanceRequest',
212 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::UpdateInstanceRequest'->new($_) } @$_ ] };
213  
214 declare 'MapStringUpdateInstanceRequest',
215 as HashRef[UpdateInstanceRequest()];
216  
217 declare 'DeleteInstanceRequest',
218 as InstanceOf['Google::Cloud::Memcache::V1beta2::CloudMemcache::DeleteInstanceRequest'];
219  
220 coerce 'DeleteInstanceRequest',
221 from HashRef, via { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::DeleteInstanceRequest'->new($_) };
222  
223 declare 'RepeatedDeleteInstanceRequest',
224 as ArrayRef[DeleteInstanceRequest()];
225  
226 coerce 'RepeatedDeleteInstanceRequest',
227 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::DeleteInstanceRequest'->new($_) } @$_ ] };
228  
229 declare 'MapStringDeleteInstanceRequest',
230 as HashRef[DeleteInstanceRequest()];
231  
232 declare 'RescheduleMaintenanceRequest',
233 as InstanceOf['Google::Cloud::Memcache::V1beta2::CloudMemcache::RescheduleMaintenanceRequest'];
234  
235 coerce 'RescheduleMaintenanceRequest',
236 from HashRef, via { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::RescheduleMaintenanceRequest'->new($_) };
237  
238 declare 'RepeatedRescheduleMaintenanceRequest',
239 as ArrayRef[RescheduleMaintenanceRequest()];
240  
241 coerce 'RepeatedRescheduleMaintenanceRequest',
242 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::RescheduleMaintenanceRequest'->new($_) } @$_ ] };
243  
244 declare 'MapStringRescheduleMaintenanceRequest',
245 as HashRef[RescheduleMaintenanceRequest()];
246  
247 declare 'RescheduleType',
248 as (Int | Str);
249  
250 declare 'ApplyParametersRequest',
251 as InstanceOf['Google::Cloud::Memcache::V1beta2::CloudMemcache::ApplyParametersRequest'];
252  
253 coerce 'ApplyParametersRequest',
254 from HashRef, via { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::ApplyParametersRequest'->new($_) };
255  
256 declare 'RepeatedApplyParametersRequest',
257 as ArrayRef[ApplyParametersRequest()];
258  
259 coerce 'RepeatedApplyParametersRequest',
260 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::ApplyParametersRequest'->new($_) } @$_ ] };
261  
262 declare 'MapStringApplyParametersRequest',
263 as HashRef[ApplyParametersRequest()];
264  
265 declare 'UpdateParametersRequest',
266 as InstanceOf['Google::Cloud::Memcache::V1beta2::CloudMemcache::UpdateParametersRequest'];
267  
268 coerce 'UpdateParametersRequest',
269 from HashRef, via { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::UpdateParametersRequest'->new($_) };
270  
271 declare 'RepeatedUpdateParametersRequest',
272 as ArrayRef[UpdateParametersRequest()];
273  
274 coerce 'RepeatedUpdateParametersRequest',
275 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::UpdateParametersRequest'->new($_) } @$_ ] };
276  
277 declare 'MapStringUpdateParametersRequest',
278 as HashRef[UpdateParametersRequest()];
279  
280 declare 'ApplySoftwareUpdateRequest',
281 as InstanceOf['Google::Cloud::Memcache::V1beta2::CloudMemcache::ApplySoftwareUpdateRequest'];
282  
283 coerce 'ApplySoftwareUpdateRequest',
284 from HashRef, via { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::ApplySoftwareUpdateRequest'->new($_) };
285  
286 declare 'RepeatedApplySoftwareUpdateRequest',
287 as ArrayRef[ApplySoftwareUpdateRequest()];
288  
289 coerce 'RepeatedApplySoftwareUpdateRequest',
290 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::ApplySoftwareUpdateRequest'->new($_) } @$_ ] };
291  
292 declare 'MapStringApplySoftwareUpdateRequest',
293 as HashRef[ApplySoftwareUpdateRequest()];
294  
295 declare 'MemcacheParameters',
296 as InstanceOf['Google::Cloud::Memcache::V1beta2::CloudMemcache::MemcacheParameters'];
297  
298 coerce 'MemcacheParameters',
299 from HashRef, via { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::MemcacheParameters'->new($_) };
300  
301 declare 'RepeatedMemcacheParameters',
302 as ArrayRef[MemcacheParameters()];
303  
304 coerce 'RepeatedMemcacheParameters',
305 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::MemcacheParameters'->new($_) } @$_ ] };
306  
307 declare 'MapStringMemcacheParameters',
308 as HashRef[MemcacheParameters()];
309  
310 declare 'ParamsEntry',
311 as InstanceOf['Google::Cloud::Memcache::V1beta2::CloudMemcache::MemcacheParameters::ParamsEntry'];
312  
313 coerce 'ParamsEntry',
314 from HashRef, via { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::MemcacheParameters::ParamsEntry'->new($_) };
315  
316 declare 'RepeatedParamsEntry',
317 as ArrayRef[ParamsEntry()];
318  
319 coerce 'RepeatedParamsEntry',
320 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::MemcacheParameters::ParamsEntry'->new($_) } @$_ ] };
321  
322 declare 'MapStringParamsEntry',
323 as HashRef[ParamsEntry()];
324  
325 declare 'OperationMetadata',
326 as InstanceOf['Google::Cloud::Memcache::V1beta2::CloudMemcache::OperationMetadata'];
327  
328 coerce 'OperationMetadata',
329 from HashRef, via { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::OperationMetadata'->new($_) };
330  
331 declare 'RepeatedOperationMetadata',
332 as ArrayRef[OperationMetadata()];
333  
334 coerce 'RepeatedOperationMetadata',
335 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::OperationMetadata'->new($_) } @$_ ] };
336  
337 declare 'MapStringOperationMetadata',
338 as HashRef[OperationMetadata()];
339  
340 declare 'LocationMetadata',
341 as InstanceOf['Google::Cloud::Memcache::V1beta2::CloudMemcache::LocationMetadata'];
342  
343 coerce 'LocationMetadata',
344 from HashRef, via { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::LocationMetadata'->new($_) };
345  
346 declare 'RepeatedLocationMetadata',
347 as ArrayRef[LocationMetadata()];
348  
349 coerce 'RepeatedLocationMetadata',
350 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::LocationMetadata'->new($_) } @$_ ] };
351  
352 declare 'MapStringLocationMetadata',
353 as HashRef[LocationMetadata()];
354  
355 declare 'AvailableZonesEntry',
356 as InstanceOf['Google::Cloud::Memcache::V1beta2::CloudMemcache::LocationMetadata::AvailableZonesEntry'];
357  
358 coerce 'AvailableZonesEntry',
359 from HashRef, via { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::LocationMetadata::AvailableZonesEntry'->new($_) };
360  
361 declare 'RepeatedAvailableZonesEntry',
362 as ArrayRef[AvailableZonesEntry()];
363  
364 coerce 'RepeatedAvailableZonesEntry',
365 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::LocationMetadata::AvailableZonesEntry'->new($_) } @$_ ] };
366  
367 declare 'MapStringAvailableZonesEntry',
368 as HashRef[AvailableZonesEntry()];
369  
370 declare 'ZoneMetadata',
371 as InstanceOf['Google::Cloud::Memcache::V1beta2::CloudMemcache::ZoneMetadata'];
372  
373 coerce 'ZoneMetadata',
374 from HashRef, via { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::ZoneMetadata'->new($_) };
375  
376 declare 'RepeatedZoneMetadata',
377 as ArrayRef[ZoneMetadata()];
378  
379 coerce 'RepeatedZoneMetadata',
380 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Memcache::V1beta2::CloudMemcache::ZoneMetadata'->new($_) } @$_ ] };
381  
382 declare 'MapStringZoneMetadata',
383 as HashRef[ZoneMetadata()];
384  
385 1;
386  
387 __END__