V1/Apigateway/Types.pm untested

filter: Statementstmt 0.0% 0 / 399 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 404 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::Apigateway::V1::Apigateway::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 'Api',
11 as InstanceOf['Google::Cloud::Apigateway::V1::Apigateway::Api'];
12  
13 coerce 'Api',
14 from HashRef, via { 'Google::Cloud::Apigateway::V1::Apigateway::Api'->new($_) };
15  
16 declare 'RepeatedApi',
17 as ArrayRef[Api()];
18  
19 coerce 'RepeatedApi',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigateway::V1::Apigateway::Api'->new($_) } @$_ ] };
21  
22 declare 'MapStringApi',
23 as HashRef[Api()];
24  
25 declare 'State',
26 as (Int | Str);
27  
28 declare 'LabelsEntry',
29 as InstanceOf['Google::Cloud::Apigateway::V1::Apigateway::Api::LabelsEntry'];
30  
31 coerce 'LabelsEntry',
32 from HashRef, via { 'Google::Cloud::Apigateway::V1::Apigateway::Api::LabelsEntry'->new($_) };
33  
34 declare 'RepeatedLabelsEntry',
35 as ArrayRef[LabelsEntry()];
36  
37 coerce 'RepeatedLabelsEntry',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigateway::V1::Apigateway::Api::LabelsEntry'->new($_) } @$_ ] };
39  
40 declare 'MapStringLabelsEntry',
41 as HashRef[LabelsEntry()];
42  
43 declare 'ApiConfig',
44 as InstanceOf['Google::Cloud::Apigateway::V1::Apigateway::ApiConfig'];
45  
46 coerce 'ApiConfig',
47 from HashRef, via { 'Google::Cloud::Apigateway::V1::Apigateway::ApiConfig'->new($_) };
48  
49 declare 'RepeatedApiConfig',
50 as ArrayRef[ApiConfig()];
51  
52 coerce 'RepeatedApiConfig',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigateway::V1::Apigateway::ApiConfig'->new($_) } @$_ ] };
54  
55 declare 'MapStringApiConfig',
56 as HashRef[ApiConfig()];
57  
58 declare 'State',
59 as (Int | Str);
60  
61 declare 'File',
62 as InstanceOf['Google::Cloud::Apigateway::V1::Apigateway::ApiConfig::File'];
63  
64 coerce 'File',
65 from HashRef, via { 'Google::Cloud::Apigateway::V1::Apigateway::ApiConfig::File'->new($_) };
66  
67 declare 'RepeatedFile',
68 as ArrayRef[File()];
69  
70 coerce 'RepeatedFile',
71 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigateway::V1::Apigateway::ApiConfig::File'->new($_) } @$_ ] };
72  
73 declare 'MapStringFile',
74 as HashRef[File()];
75  
76 declare 'OpenApiDocument',
77 as InstanceOf['Google::Cloud::Apigateway::V1::Apigateway::ApiConfig::OpenApiDocument'];
78  
79 coerce 'OpenApiDocument',
80 from HashRef, via { 'Google::Cloud::Apigateway::V1::Apigateway::ApiConfig::OpenApiDocument'->new($_) };
81  
82 declare 'RepeatedOpenApiDocument',
83 as ArrayRef[OpenApiDocument()];
84  
85 coerce 'RepeatedOpenApiDocument',
86 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigateway::V1::Apigateway::ApiConfig::OpenApiDocument'->new($_) } @$_ ] };
87  
88 declare 'MapStringOpenApiDocument',
89 as HashRef[OpenApiDocument()];
90  
91 declare 'GrpcServiceDefinition',
92 as InstanceOf['Google::Cloud::Apigateway::V1::Apigateway::ApiConfig::GrpcServiceDefinition'];
93  
94 coerce 'GrpcServiceDefinition',
95 from HashRef, via { 'Google::Cloud::Apigateway::V1::Apigateway::ApiConfig::GrpcServiceDefinition'->new($_) };
96  
97 declare 'RepeatedGrpcServiceDefinition',
98 as ArrayRef[GrpcServiceDefinition()];
99  
100 coerce 'RepeatedGrpcServiceDefinition',
101 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigateway::V1::Apigateway::ApiConfig::GrpcServiceDefinition'->new($_) } @$_ ] };
102  
103 declare 'MapStringGrpcServiceDefinition',
104 as HashRef[GrpcServiceDefinition()];
105  
106 declare 'LabelsEntry',
107 as InstanceOf['Google::Cloud::Apigateway::V1::Apigateway::ApiConfig::LabelsEntry'];
108  
109 coerce 'LabelsEntry',
110 from HashRef, via { 'Google::Cloud::Apigateway::V1::Apigateway::ApiConfig::LabelsEntry'->new($_) };
111  
112 declare 'RepeatedLabelsEntry',
113 as ArrayRef[LabelsEntry()];
114  
115 coerce 'RepeatedLabelsEntry',
116 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigateway::V1::Apigateway::ApiConfig::LabelsEntry'->new($_) } @$_ ] };
117  
118 declare 'MapStringLabelsEntry',
119 as HashRef[LabelsEntry()];
120  
121 declare 'Gateway',
122 as InstanceOf['Google::Cloud::Apigateway::V1::Apigateway::Gateway'];
123  
124 coerce 'Gateway',
125 from HashRef, via { 'Google::Cloud::Apigateway::V1::Apigateway::Gateway'->new($_) };
126  
127 declare 'RepeatedGateway',
128 as ArrayRef[Gateway()];
129  
130 coerce 'RepeatedGateway',
131 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigateway::V1::Apigateway::Gateway'->new($_) } @$_ ] };
132  
133 declare 'MapStringGateway',
134 as HashRef[Gateway()];
135  
136 declare 'State',
137 as (Int | Str);
138  
139 declare 'StreamingMode',
140 as (Int | Str);
141  
142 declare 'EffectiveStreamingMode',
143 as (Int | Str);
144  
145 declare 'LabelsEntry',
146 as InstanceOf['Google::Cloud::Apigateway::V1::Apigateway::Gateway::LabelsEntry'];
147  
148 coerce 'LabelsEntry',
149 from HashRef, via { 'Google::Cloud::Apigateway::V1::Apigateway::Gateway::LabelsEntry'->new($_) };
150  
151 declare 'RepeatedLabelsEntry',
152 as ArrayRef[LabelsEntry()];
153  
154 coerce 'RepeatedLabelsEntry',
155 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigateway::V1::Apigateway::Gateway::LabelsEntry'->new($_) } @$_ ] };
156  
157 declare 'MapStringLabelsEntry',
158 as HashRef[LabelsEntry()];
159  
160 declare 'ListGatewaysRequest',
161 as InstanceOf['Google::Cloud::Apigateway::V1::Apigateway::ListGatewaysRequest'];
162  
163 coerce 'ListGatewaysRequest',
164 from HashRef, via { 'Google::Cloud::Apigateway::V1::Apigateway::ListGatewaysRequest'->new($_) };
165  
166 declare 'RepeatedListGatewaysRequest',
167 as ArrayRef[ListGatewaysRequest()];
168  
169 coerce 'RepeatedListGatewaysRequest',
170 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigateway::V1::Apigateway::ListGatewaysRequest'->new($_) } @$_ ] };
171  
172 declare 'MapStringListGatewaysRequest',
173 as HashRef[ListGatewaysRequest()];
174  
175 declare 'ListGatewaysResponse',
176 as InstanceOf['Google::Cloud::Apigateway::V1::Apigateway::ListGatewaysResponse'];
177  
178 coerce 'ListGatewaysResponse',
179 from HashRef, via { 'Google::Cloud::Apigateway::V1::Apigateway::ListGatewaysResponse'->new($_) };
180  
181 declare 'RepeatedListGatewaysResponse',
182 as ArrayRef[ListGatewaysResponse()];
183  
184 coerce 'RepeatedListGatewaysResponse',
185 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigateway::V1::Apigateway::ListGatewaysResponse'->new($_) } @$_ ] };
186  
187 declare 'MapStringListGatewaysResponse',
188 as HashRef[ListGatewaysResponse()];
189  
190 declare 'GetGatewayRequest',
191 as InstanceOf['Google::Cloud::Apigateway::V1::Apigateway::GetGatewayRequest'];
192  
193 coerce 'GetGatewayRequest',
194 from HashRef, via { 'Google::Cloud::Apigateway::V1::Apigateway::GetGatewayRequest'->new($_) };
195  
196 declare 'RepeatedGetGatewayRequest',
197 as ArrayRef[GetGatewayRequest()];
198  
199 coerce 'RepeatedGetGatewayRequest',
200 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigateway::V1::Apigateway::GetGatewayRequest'->new($_) } @$_ ] };
201  
202 declare 'MapStringGetGatewayRequest',
203 as HashRef[GetGatewayRequest()];
204  
205 declare 'CreateGatewayRequest',
206 as InstanceOf['Google::Cloud::Apigateway::V1::Apigateway::CreateGatewayRequest'];
207  
208 coerce 'CreateGatewayRequest',
209 from HashRef, via { 'Google::Cloud::Apigateway::V1::Apigateway::CreateGatewayRequest'->new($_) };
210  
211 declare 'RepeatedCreateGatewayRequest',
212 as ArrayRef[CreateGatewayRequest()];
213  
214 coerce 'RepeatedCreateGatewayRequest',
215 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigateway::V1::Apigateway::CreateGatewayRequest'->new($_) } @$_ ] };
216  
217 declare 'MapStringCreateGatewayRequest',
218 as HashRef[CreateGatewayRequest()];
219  
220 declare 'UpdateGatewayRequest',
221 as InstanceOf['Google::Cloud::Apigateway::V1::Apigateway::UpdateGatewayRequest'];
222  
223 coerce 'UpdateGatewayRequest',
224 from HashRef, via { 'Google::Cloud::Apigateway::V1::Apigateway::UpdateGatewayRequest'->new($_) };
225  
226 declare 'RepeatedUpdateGatewayRequest',
227 as ArrayRef[UpdateGatewayRequest()];
228  
229 coerce 'RepeatedUpdateGatewayRequest',
230 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigateway::V1::Apigateway::UpdateGatewayRequest'->new($_) } @$_ ] };
231  
232 declare 'MapStringUpdateGatewayRequest',
233 as HashRef[UpdateGatewayRequest()];
234  
235 declare 'DeleteGatewayRequest',
236 as InstanceOf['Google::Cloud::Apigateway::V1::Apigateway::DeleteGatewayRequest'];
237  
238 coerce 'DeleteGatewayRequest',
239 from HashRef, via { 'Google::Cloud::Apigateway::V1::Apigateway::DeleteGatewayRequest'->new($_) };
240  
241 declare 'RepeatedDeleteGatewayRequest',
242 as ArrayRef[DeleteGatewayRequest()];
243  
244 coerce 'RepeatedDeleteGatewayRequest',
245 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigateway::V1::Apigateway::DeleteGatewayRequest'->new($_) } @$_ ] };
246  
247 declare 'MapStringDeleteGatewayRequest',
248 as HashRef[DeleteGatewayRequest()];
249  
250 declare 'ListApisRequest',
251 as InstanceOf['Google::Cloud::Apigateway::V1::Apigateway::ListApisRequest'];
252  
253 coerce 'ListApisRequest',
254 from HashRef, via { 'Google::Cloud::Apigateway::V1::Apigateway::ListApisRequest'->new($_) };
255  
256 declare 'RepeatedListApisRequest',
257 as ArrayRef[ListApisRequest()];
258  
259 coerce 'RepeatedListApisRequest',
260 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigateway::V1::Apigateway::ListApisRequest'->new($_) } @$_ ] };
261  
262 declare 'MapStringListApisRequest',
263 as HashRef[ListApisRequest()];
264  
265 declare 'ListApisResponse',
266 as InstanceOf['Google::Cloud::Apigateway::V1::Apigateway::ListApisResponse'];
267  
268 coerce 'ListApisResponse',
269 from HashRef, via { 'Google::Cloud::Apigateway::V1::Apigateway::ListApisResponse'->new($_) };
270  
271 declare 'RepeatedListApisResponse',
272 as ArrayRef[ListApisResponse()];
273  
274 coerce 'RepeatedListApisResponse',
275 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigateway::V1::Apigateway::ListApisResponse'->new($_) } @$_ ] };
276  
277 declare 'MapStringListApisResponse',
278 as HashRef[ListApisResponse()];
279  
280 declare 'GetApiRequest',
281 as InstanceOf['Google::Cloud::Apigateway::V1::Apigateway::GetApiRequest'];
282  
283 coerce 'GetApiRequest',
284 from HashRef, via { 'Google::Cloud::Apigateway::V1::Apigateway::GetApiRequest'->new($_) };
285  
286 declare 'RepeatedGetApiRequest',
287 as ArrayRef[GetApiRequest()];
288  
289 coerce 'RepeatedGetApiRequest',
290 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigateway::V1::Apigateway::GetApiRequest'->new($_) } @$_ ] };
291  
292 declare 'MapStringGetApiRequest',
293 as HashRef[GetApiRequest()];
294  
295 declare 'CreateApiRequest',
296 as InstanceOf['Google::Cloud::Apigateway::V1::Apigateway::CreateApiRequest'];
297  
298 coerce 'CreateApiRequest',
299 from HashRef, via { 'Google::Cloud::Apigateway::V1::Apigateway::CreateApiRequest'->new($_) };
300  
301 declare 'RepeatedCreateApiRequest',
302 as ArrayRef[CreateApiRequest()];
303  
304 coerce 'RepeatedCreateApiRequest',
305 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigateway::V1::Apigateway::CreateApiRequest'->new($_) } @$_ ] };
306  
307 declare 'MapStringCreateApiRequest',
308 as HashRef[CreateApiRequest()];
309  
310 declare 'UpdateApiRequest',
311 as InstanceOf['Google::Cloud::Apigateway::V1::Apigateway::UpdateApiRequest'];
312  
313 coerce 'UpdateApiRequest',
314 from HashRef, via { 'Google::Cloud::Apigateway::V1::Apigateway::UpdateApiRequest'->new($_) };
315  
316 declare 'RepeatedUpdateApiRequest',
317 as ArrayRef[UpdateApiRequest()];
318  
319 coerce 'RepeatedUpdateApiRequest',
320 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigateway::V1::Apigateway::UpdateApiRequest'->new($_) } @$_ ] };
321  
322 declare 'MapStringUpdateApiRequest',
323 as HashRef[UpdateApiRequest()];
324  
325 declare 'DeleteApiRequest',
326 as InstanceOf['Google::Cloud::Apigateway::V1::Apigateway::DeleteApiRequest'];
327  
328 coerce 'DeleteApiRequest',
329 from HashRef, via { 'Google::Cloud::Apigateway::V1::Apigateway::DeleteApiRequest'->new($_) };
330  
331 declare 'RepeatedDeleteApiRequest',
332 as ArrayRef[DeleteApiRequest()];
333  
334 coerce 'RepeatedDeleteApiRequest',
335 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigateway::V1::Apigateway::DeleteApiRequest'->new($_) } @$_ ] };
336  
337 declare 'MapStringDeleteApiRequest',
338 as HashRef[DeleteApiRequest()];
339  
340 declare 'ListApiConfigsRequest',
341 as InstanceOf['Google::Cloud::Apigateway::V1::Apigateway::ListApiConfigsRequest'];
342  
343 coerce 'ListApiConfigsRequest',
344 from HashRef, via { 'Google::Cloud::Apigateway::V1::Apigateway::ListApiConfigsRequest'->new($_) };
345  
346 declare 'RepeatedListApiConfigsRequest',
347 as ArrayRef[ListApiConfigsRequest()];
348  
349 coerce 'RepeatedListApiConfigsRequest',
350 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigateway::V1::Apigateway::ListApiConfigsRequest'->new($_) } @$_ ] };
351  
352 declare 'MapStringListApiConfigsRequest',
353 as HashRef[ListApiConfigsRequest()];
354  
355 declare 'ListApiConfigsResponse',
356 as InstanceOf['Google::Cloud::Apigateway::V1::Apigateway::ListApiConfigsResponse'];
357  
358 coerce 'ListApiConfigsResponse',
359 from HashRef, via { 'Google::Cloud::Apigateway::V1::Apigateway::ListApiConfigsResponse'->new($_) };
360  
361 declare 'RepeatedListApiConfigsResponse',
362 as ArrayRef[ListApiConfigsResponse()];
363  
364 coerce 'RepeatedListApiConfigsResponse',
365 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigateway::V1::Apigateway::ListApiConfigsResponse'->new($_) } @$_ ] };
366  
367 declare 'MapStringListApiConfigsResponse',
368 as HashRef[ListApiConfigsResponse()];
369  
370 declare 'GetApiConfigRequest',
371 as InstanceOf['Google::Cloud::Apigateway::V1::Apigateway::GetApiConfigRequest'];
372  
373 coerce 'GetApiConfigRequest',
374 from HashRef, via { 'Google::Cloud::Apigateway::V1::Apigateway::GetApiConfigRequest'->new($_) };
375  
376 declare 'RepeatedGetApiConfigRequest',
377 as ArrayRef[GetApiConfigRequest()];
378  
379 coerce 'RepeatedGetApiConfigRequest',
380 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigateway::V1::Apigateway::GetApiConfigRequest'->new($_) } @$_ ] };
381  
382 declare 'MapStringGetApiConfigRequest',
383 as HashRef[GetApiConfigRequest()];
384  
385 declare 'ConfigView',
386 as (Int | Str);
387  
388 declare 'CreateApiConfigRequest',
389 as InstanceOf['Google::Cloud::Apigateway::V1::Apigateway::CreateApiConfigRequest'];
390  
391 coerce 'CreateApiConfigRequest',
392 from HashRef, via { 'Google::Cloud::Apigateway::V1::Apigateway::CreateApiConfigRequest'->new($_) };
393  
394 declare 'RepeatedCreateApiConfigRequest',
395 as ArrayRef[CreateApiConfigRequest()];
396  
397 coerce 'RepeatedCreateApiConfigRequest',
398 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigateway::V1::Apigateway::CreateApiConfigRequest'->new($_) } @$_ ] };
399  
400 declare 'MapStringCreateApiConfigRequest',
401 as HashRef[CreateApiConfigRequest()];
402  
403 declare 'UpdateApiConfigRequest',
404 as InstanceOf['Google::Cloud::Apigateway::V1::Apigateway::UpdateApiConfigRequest'];
405  
406 coerce 'UpdateApiConfigRequest',
407 from HashRef, via { 'Google::Cloud::Apigateway::V1::Apigateway::UpdateApiConfigRequest'->new($_) };
408  
409 declare 'RepeatedUpdateApiConfigRequest',
410 as ArrayRef[UpdateApiConfigRequest()];
411  
412 coerce 'RepeatedUpdateApiConfigRequest',
413 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigateway::V1::Apigateway::UpdateApiConfigRequest'->new($_) } @$_ ] };
414  
415 declare 'MapStringUpdateApiConfigRequest',
416 as HashRef[UpdateApiConfigRequest()];
417  
418 declare 'DeleteApiConfigRequest',
419 as InstanceOf['Google::Cloud::Apigateway::V1::Apigateway::DeleteApiConfigRequest'];
420  
421 coerce 'DeleteApiConfigRequest',
422 from HashRef, via { 'Google::Cloud::Apigateway::V1::Apigateway::DeleteApiConfigRequest'->new($_) };
423  
424 declare 'RepeatedDeleteApiConfigRequest',
425 as ArrayRef[DeleteApiConfigRequest()];
426  
427 coerce 'RepeatedDeleteApiConfigRequest',
428 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigateway::V1::Apigateway::DeleteApiConfigRequest'->new($_) } @$_ ] };
429  
430 declare 'MapStringDeleteApiConfigRequest',
431 as HashRef[DeleteApiConfigRequest()];
432  
433 declare 'OperationMetadata',
434 as InstanceOf['Google::Cloud::Apigateway::V1::Apigateway::OperationMetadata'];
435  
436 coerce 'OperationMetadata',
437 from HashRef, via { 'Google::Cloud::Apigateway::V1::Apigateway::OperationMetadata'->new($_) };
438  
439 declare 'RepeatedOperationMetadata',
440 as ArrayRef[OperationMetadata()];
441  
442 coerce 'RepeatedOperationMetadata',
443 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigateway::V1::Apigateway::OperationMetadata'->new($_) } @$_ ] };
444  
445 declare 'MapStringOperationMetadata',
446 as HashRef[OperationMetadata()];
447  
448 declare 'Diagnostic',
449 as InstanceOf['Google::Cloud::Apigateway::V1::Apigateway::OperationMetadata::Diagnostic'];
450  
451 coerce 'Diagnostic',
452 from HashRef, via { 'Google::Cloud::Apigateway::V1::Apigateway::OperationMetadata::Diagnostic'->new($_) };
453  
454 declare 'RepeatedDiagnostic',
455 as ArrayRef[Diagnostic()];
456  
457 coerce 'RepeatedDiagnostic',
458 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigateway::V1::Apigateway::OperationMetadata::Diagnostic'->new($_) } @$_ ] };
459  
460 declare 'MapStringDiagnostic',
461 as HashRef[Diagnostic()];
462  
463 1;
464  
465 __END__