V1/CloudMemcache/Types.pm untested

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