V1/Functions/Types.pm untested

filter: Statementstmt 0.0% 0 / 359 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 364 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::Functions::V1::Functions::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 'CloudFunctionStatus',
11 as (Int | Str);
12  
13 declare 'CloudFunction',
14 as InstanceOf['Google::Cloud::Functions::V1::Functions::CloudFunction'];
15  
16 coerce 'CloudFunction',
17 from HashRef, via { 'Google::Cloud::Functions::V1::Functions::CloudFunction'->new($_) };
18  
19 declare 'RepeatedCloudFunction',
20 as ArrayRef[CloudFunction()];
21  
22 coerce 'RepeatedCloudFunction',
23 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V1::Functions::CloudFunction'->new($_) } @$_ ] };
24  
25 declare 'MapStringCloudFunction',
26 as HashRef[CloudFunction()];
27  
28 declare 'VpcConnectorEgressSettings',
29 as (Int | Str);
30  
31 declare 'IngressSettings',
32 as (Int | Str);
33  
34 declare 'DockerRegistry',
35 as (Int | Str);
36  
37 declare 'AutomaticUpdatePolicy',
38 as InstanceOf['Google::Cloud::Functions::V1::Functions::CloudFunction::AutomaticUpdatePolicy'];
39  
40 coerce 'AutomaticUpdatePolicy',
41 from HashRef, via { 'Google::Cloud::Functions::V1::Functions::CloudFunction::AutomaticUpdatePolicy'->new($_) };
42  
43 declare 'RepeatedAutomaticUpdatePolicy',
44 as ArrayRef[AutomaticUpdatePolicy()];
45  
46 coerce 'RepeatedAutomaticUpdatePolicy',
47 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V1::Functions::CloudFunction::AutomaticUpdatePolicy'->new($_) } @$_ ] };
48  
49 declare 'MapStringAutomaticUpdatePolicy',
50 as HashRef[AutomaticUpdatePolicy()];
51  
52 declare 'OnDeployUpdatePolicy',
53 as InstanceOf['Google::Cloud::Functions::V1::Functions::CloudFunction::OnDeployUpdatePolicy'];
54  
55 coerce 'OnDeployUpdatePolicy',
56 from HashRef, via { 'Google::Cloud::Functions::V1::Functions::CloudFunction::OnDeployUpdatePolicy'->new($_) };
57  
58 declare 'RepeatedOnDeployUpdatePolicy',
59 as ArrayRef[OnDeployUpdatePolicy()];
60  
61 coerce 'RepeatedOnDeployUpdatePolicy',
62 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V1::Functions::CloudFunction::OnDeployUpdatePolicy'->new($_) } @$_ ] };
63  
64 declare 'MapStringOnDeployUpdatePolicy',
65 as HashRef[OnDeployUpdatePolicy()];
66  
67 declare 'LabelsEntry',
68 as InstanceOf['Google::Cloud::Functions::V1::Functions::CloudFunction::LabelsEntry'];
69  
70 coerce 'LabelsEntry',
71 from HashRef, via { 'Google::Cloud::Functions::V1::Functions::CloudFunction::LabelsEntry'->new($_) };
72  
73 declare 'RepeatedLabelsEntry',
74 as ArrayRef[LabelsEntry()];
75  
76 coerce 'RepeatedLabelsEntry',
77 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V1::Functions::CloudFunction::LabelsEntry'->new($_) } @$_ ] };
78  
79 declare 'MapStringLabelsEntry',
80 as HashRef[LabelsEntry()];
81  
82 declare 'EnvironmentVariablesEntry',
83 as InstanceOf['Google::Cloud::Functions::V1::Functions::CloudFunction::EnvironmentVariablesEntry'];
84  
85 coerce 'EnvironmentVariablesEntry',
86 from HashRef, via { 'Google::Cloud::Functions::V1::Functions::CloudFunction::EnvironmentVariablesEntry'->new($_) };
87  
88 declare 'RepeatedEnvironmentVariablesEntry',
89 as ArrayRef[EnvironmentVariablesEntry()];
90  
91 coerce 'RepeatedEnvironmentVariablesEntry',
92 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V1::Functions::CloudFunction::EnvironmentVariablesEntry'->new($_) } @$_ ] };
93  
94 declare 'MapStringEnvironmentVariablesEntry',
95 as HashRef[EnvironmentVariablesEntry()];
96  
97 declare 'BuildEnvironmentVariablesEntry',
98 as InstanceOf['Google::Cloud::Functions::V1::Functions::CloudFunction::BuildEnvironmentVariablesEntry'];
99  
100 coerce 'BuildEnvironmentVariablesEntry',
101 from HashRef, via { 'Google::Cloud::Functions::V1::Functions::CloudFunction::BuildEnvironmentVariablesEntry'->new($_) };
102  
103 declare 'RepeatedBuildEnvironmentVariablesEntry',
104 as ArrayRef[BuildEnvironmentVariablesEntry()];
105  
106 coerce 'RepeatedBuildEnvironmentVariablesEntry',
107 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V1::Functions::CloudFunction::BuildEnvironmentVariablesEntry'->new($_) } @$_ ] };
108  
109 declare 'MapStringBuildEnvironmentVariablesEntry',
110 as HashRef[BuildEnvironmentVariablesEntry()];
111  
112 declare 'SourceRepository',
113 as InstanceOf['Google::Cloud::Functions::V1::Functions::SourceRepository'];
114  
115 coerce 'SourceRepository',
116 from HashRef, via { 'Google::Cloud::Functions::V1::Functions::SourceRepository'->new($_) };
117  
118 declare 'RepeatedSourceRepository',
119 as ArrayRef[SourceRepository()];
120  
121 coerce 'RepeatedSourceRepository',
122 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V1::Functions::SourceRepository'->new($_) } @$_ ] };
123  
124 declare 'MapStringSourceRepository',
125 as HashRef[SourceRepository()];
126  
127 declare 'HttpsTrigger',
128 as InstanceOf['Google::Cloud::Functions::V1::Functions::HttpsTrigger'];
129  
130 coerce 'HttpsTrigger',
131 from HashRef, via { 'Google::Cloud::Functions::V1::Functions::HttpsTrigger'->new($_) };
132  
133 declare 'RepeatedHttpsTrigger',
134 as ArrayRef[HttpsTrigger()];
135  
136 coerce 'RepeatedHttpsTrigger',
137 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V1::Functions::HttpsTrigger'->new($_) } @$_ ] };
138  
139 declare 'MapStringHttpsTrigger',
140 as HashRef[HttpsTrigger()];
141  
142 declare 'SecurityLevel',
143 as (Int | Str);
144  
145 declare 'EventTrigger',
146 as InstanceOf['Google::Cloud::Functions::V1::Functions::EventTrigger'];
147  
148 coerce 'EventTrigger',
149 from HashRef, via { 'Google::Cloud::Functions::V1::Functions::EventTrigger'->new($_) };
150  
151 declare 'RepeatedEventTrigger',
152 as ArrayRef[EventTrigger()];
153  
154 coerce 'RepeatedEventTrigger',
155 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V1::Functions::EventTrigger'->new($_) } @$_ ] };
156  
157 declare 'MapStringEventTrigger',
158 as HashRef[EventTrigger()];
159  
160 declare 'FailurePolicy',
161 as InstanceOf['Google::Cloud::Functions::V1::Functions::FailurePolicy'];
162  
163 coerce 'FailurePolicy',
164 from HashRef, via { 'Google::Cloud::Functions::V1::Functions::FailurePolicy'->new($_) };
165  
166 declare 'RepeatedFailurePolicy',
167 as ArrayRef[FailurePolicy()];
168  
169 coerce 'RepeatedFailurePolicy',
170 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V1::Functions::FailurePolicy'->new($_) } @$_ ] };
171  
172 declare 'MapStringFailurePolicy',
173 as HashRef[FailurePolicy()];
174  
175 declare 'Retry',
176 as InstanceOf['Google::Cloud::Functions::V1::Functions::FailurePolicy::Retry'];
177  
178 coerce 'Retry',
179 from HashRef, via { 'Google::Cloud::Functions::V1::Functions::FailurePolicy::Retry'->new($_) };
180  
181 declare 'RepeatedRetry',
182 as ArrayRef[Retry()];
183  
184 coerce 'RepeatedRetry',
185 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V1::Functions::FailurePolicy::Retry'->new($_) } @$_ ] };
186  
187 declare 'MapStringRetry',
188 as HashRef[Retry()];
189  
190 declare 'SecretEnvVar',
191 as InstanceOf['Google::Cloud::Functions::V1::Functions::SecretEnvVar'];
192  
193 coerce 'SecretEnvVar',
194 from HashRef, via { 'Google::Cloud::Functions::V1::Functions::SecretEnvVar'->new($_) };
195  
196 declare 'RepeatedSecretEnvVar',
197 as ArrayRef[SecretEnvVar()];
198  
199 coerce 'RepeatedSecretEnvVar',
200 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V1::Functions::SecretEnvVar'->new($_) } @$_ ] };
201  
202 declare 'MapStringSecretEnvVar',
203 as HashRef[SecretEnvVar()];
204  
205 declare 'SecretVolume',
206 as InstanceOf['Google::Cloud::Functions::V1::Functions::SecretVolume'];
207  
208 coerce 'SecretVolume',
209 from HashRef, via { 'Google::Cloud::Functions::V1::Functions::SecretVolume'->new($_) };
210  
211 declare 'RepeatedSecretVolume',
212 as ArrayRef[SecretVolume()];
213  
214 coerce 'RepeatedSecretVolume',
215 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V1::Functions::SecretVolume'->new($_) } @$_ ] };
216  
217 declare 'MapStringSecretVolume',
218 as HashRef[SecretVolume()];
219  
220 declare 'SecretVersion',
221 as InstanceOf['Google::Cloud::Functions::V1::Functions::SecretVolume::SecretVersion'];
222  
223 coerce 'SecretVersion',
224 from HashRef, via { 'Google::Cloud::Functions::V1::Functions::SecretVolume::SecretVersion'->new($_) };
225  
226 declare 'RepeatedSecretVersion',
227 as ArrayRef[SecretVersion()];
228  
229 coerce 'RepeatedSecretVersion',
230 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V1::Functions::SecretVolume::SecretVersion'->new($_) } @$_ ] };
231  
232 declare 'MapStringSecretVersion',
233 as HashRef[SecretVersion()];
234  
235 declare 'CreateFunctionRequest',
236 as InstanceOf['Google::Cloud::Functions::V1::Functions::CreateFunctionRequest'];
237  
238 coerce 'CreateFunctionRequest',
239 from HashRef, via { 'Google::Cloud::Functions::V1::Functions::CreateFunctionRequest'->new($_) };
240  
241 declare 'RepeatedCreateFunctionRequest',
242 as ArrayRef[CreateFunctionRequest()];
243  
244 coerce 'RepeatedCreateFunctionRequest',
245 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V1::Functions::CreateFunctionRequest'->new($_) } @$_ ] };
246  
247 declare 'MapStringCreateFunctionRequest',
248 as HashRef[CreateFunctionRequest()];
249  
250 declare 'UpdateFunctionRequest',
251 as InstanceOf['Google::Cloud::Functions::V1::Functions::UpdateFunctionRequest'];
252  
253 coerce 'UpdateFunctionRequest',
254 from HashRef, via { 'Google::Cloud::Functions::V1::Functions::UpdateFunctionRequest'->new($_) };
255  
256 declare 'RepeatedUpdateFunctionRequest',
257 as ArrayRef[UpdateFunctionRequest()];
258  
259 coerce 'RepeatedUpdateFunctionRequest',
260 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V1::Functions::UpdateFunctionRequest'->new($_) } @$_ ] };
261  
262 declare 'MapStringUpdateFunctionRequest',
263 as HashRef[UpdateFunctionRequest()];
264  
265 declare 'GetFunctionRequest',
266 as InstanceOf['Google::Cloud::Functions::V1::Functions::GetFunctionRequest'];
267  
268 coerce 'GetFunctionRequest',
269 from HashRef, via { 'Google::Cloud::Functions::V1::Functions::GetFunctionRequest'->new($_) };
270  
271 declare 'RepeatedGetFunctionRequest',
272 as ArrayRef[GetFunctionRequest()];
273  
274 coerce 'RepeatedGetFunctionRequest',
275 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V1::Functions::GetFunctionRequest'->new($_) } @$_ ] };
276  
277 declare 'MapStringGetFunctionRequest',
278 as HashRef[GetFunctionRequest()];
279  
280 declare 'ListFunctionsRequest',
281 as InstanceOf['Google::Cloud::Functions::V1::Functions::ListFunctionsRequest'];
282  
283 coerce 'ListFunctionsRequest',
284 from HashRef, via { 'Google::Cloud::Functions::V1::Functions::ListFunctionsRequest'->new($_) };
285  
286 declare 'RepeatedListFunctionsRequest',
287 as ArrayRef[ListFunctionsRequest()];
288  
289 coerce 'RepeatedListFunctionsRequest',
290 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V1::Functions::ListFunctionsRequest'->new($_) } @$_ ] };
291  
292 declare 'MapStringListFunctionsRequest',
293 as HashRef[ListFunctionsRequest()];
294  
295 declare 'ListFunctionsResponse',
296 as InstanceOf['Google::Cloud::Functions::V1::Functions::ListFunctionsResponse'];
297  
298 coerce 'ListFunctionsResponse',
299 from HashRef, via { 'Google::Cloud::Functions::V1::Functions::ListFunctionsResponse'->new($_) };
300  
301 declare 'RepeatedListFunctionsResponse',
302 as ArrayRef[ListFunctionsResponse()];
303  
304 coerce 'RepeatedListFunctionsResponse',
305 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V1::Functions::ListFunctionsResponse'->new($_) } @$_ ] };
306  
307 declare 'MapStringListFunctionsResponse',
308 as HashRef[ListFunctionsResponse()];
309  
310 declare 'DeleteFunctionRequest',
311 as InstanceOf['Google::Cloud::Functions::V1::Functions::DeleteFunctionRequest'];
312  
313 coerce 'DeleteFunctionRequest',
314 from HashRef, via { 'Google::Cloud::Functions::V1::Functions::DeleteFunctionRequest'->new($_) };
315  
316 declare 'RepeatedDeleteFunctionRequest',
317 as ArrayRef[DeleteFunctionRequest()];
318  
319 coerce 'RepeatedDeleteFunctionRequest',
320 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V1::Functions::DeleteFunctionRequest'->new($_) } @$_ ] };
321  
322 declare 'MapStringDeleteFunctionRequest',
323 as HashRef[DeleteFunctionRequest()];
324  
325 declare 'CallFunctionRequest',
326 as InstanceOf['Google::Cloud::Functions::V1::Functions::CallFunctionRequest'];
327  
328 coerce 'CallFunctionRequest',
329 from HashRef, via { 'Google::Cloud::Functions::V1::Functions::CallFunctionRequest'->new($_) };
330  
331 declare 'RepeatedCallFunctionRequest',
332 as ArrayRef[CallFunctionRequest()];
333  
334 coerce 'RepeatedCallFunctionRequest',
335 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V1::Functions::CallFunctionRequest'->new($_) } @$_ ] };
336  
337 declare 'MapStringCallFunctionRequest',
338 as HashRef[CallFunctionRequest()];
339  
340 declare 'CallFunctionResponse',
341 as InstanceOf['Google::Cloud::Functions::V1::Functions::CallFunctionResponse'];
342  
343 coerce 'CallFunctionResponse',
344 from HashRef, via { 'Google::Cloud::Functions::V1::Functions::CallFunctionResponse'->new($_) };
345  
346 declare 'RepeatedCallFunctionResponse',
347 as ArrayRef[CallFunctionResponse()];
348  
349 coerce 'RepeatedCallFunctionResponse',
350 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V1::Functions::CallFunctionResponse'->new($_) } @$_ ] };
351  
352 declare 'MapStringCallFunctionResponse',
353 as HashRef[CallFunctionResponse()];
354  
355 declare 'GenerateUploadUrlRequest',
356 as InstanceOf['Google::Cloud::Functions::V1::Functions::GenerateUploadUrlRequest'];
357  
358 coerce 'GenerateUploadUrlRequest',
359 from HashRef, via { 'Google::Cloud::Functions::V1::Functions::GenerateUploadUrlRequest'->new($_) };
360  
361 declare 'RepeatedGenerateUploadUrlRequest',
362 as ArrayRef[GenerateUploadUrlRequest()];
363  
364 coerce 'RepeatedGenerateUploadUrlRequest',
365 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V1::Functions::GenerateUploadUrlRequest'->new($_) } @$_ ] };
366  
367 declare 'MapStringGenerateUploadUrlRequest',
368 as HashRef[GenerateUploadUrlRequest()];
369  
370 declare 'GenerateUploadUrlResponse',
371 as InstanceOf['Google::Cloud::Functions::V1::Functions::GenerateUploadUrlResponse'];
372  
373 coerce 'GenerateUploadUrlResponse',
374 from HashRef, via { 'Google::Cloud::Functions::V1::Functions::GenerateUploadUrlResponse'->new($_) };
375  
376 declare 'RepeatedGenerateUploadUrlResponse',
377 as ArrayRef[GenerateUploadUrlResponse()];
378  
379 coerce 'RepeatedGenerateUploadUrlResponse',
380 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V1::Functions::GenerateUploadUrlResponse'->new($_) } @$_ ] };
381  
382 declare 'MapStringGenerateUploadUrlResponse',
383 as HashRef[GenerateUploadUrlResponse()];
384  
385 declare 'GenerateDownloadUrlRequest',
386 as InstanceOf['Google::Cloud::Functions::V1::Functions::GenerateDownloadUrlRequest'];
387  
388 coerce 'GenerateDownloadUrlRequest',
389 from HashRef, via { 'Google::Cloud::Functions::V1::Functions::GenerateDownloadUrlRequest'->new($_) };
390  
391 declare 'RepeatedGenerateDownloadUrlRequest',
392 as ArrayRef[GenerateDownloadUrlRequest()];
393  
394 coerce 'RepeatedGenerateDownloadUrlRequest',
395 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V1::Functions::GenerateDownloadUrlRequest'->new($_) } @$_ ] };
396  
397 declare 'MapStringGenerateDownloadUrlRequest',
398 as HashRef[GenerateDownloadUrlRequest()];
399  
400 declare 'GenerateDownloadUrlResponse',
401 as InstanceOf['Google::Cloud::Functions::V1::Functions::GenerateDownloadUrlResponse'];
402  
403 coerce 'GenerateDownloadUrlResponse',
404 from HashRef, via { 'Google::Cloud::Functions::V1::Functions::GenerateDownloadUrlResponse'->new($_) };
405  
406 declare 'RepeatedGenerateDownloadUrlResponse',
407 as ArrayRef[GenerateDownloadUrlResponse()];
408  
409 coerce 'RepeatedGenerateDownloadUrlResponse',
410 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V1::Functions::GenerateDownloadUrlResponse'->new($_) } @$_ ] };
411  
412 declare 'MapStringGenerateDownloadUrlResponse',
413 as HashRef[GenerateDownloadUrlResponse()];
414  
415 1;
416  
417 __END__