Storagetransfer/V1/TransferTypes/Types.pm untested

filter: Statementstmt 0.0% 0 / 414 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 419 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Storagetransfer::V1::TransferTypes::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 'GoogleServiceAccount',
11 as InstanceOf['Google::Storagetransfer::V1::TransferTypes::GoogleServiceAccount'];
12  
13 coerce 'GoogleServiceAccount',
14 from HashRef, via { 'Google::Storagetransfer::V1::TransferTypes::GoogleServiceAccount'->new($_) };
15  
16 declare 'RepeatedGoogleServiceAccount',
17 as ArrayRef[GoogleServiceAccount()];
18  
19 coerce 'RepeatedGoogleServiceAccount',
20 from ArrayRef[HashRef], via { [ map { 'Google::Storagetransfer::V1::TransferTypes::GoogleServiceAccount'->new($_) } @$_ ] };
21  
22 declare 'MapStringGoogleServiceAccount',
23 as HashRef[GoogleServiceAccount()];
24  
25 declare 'AwsAccessKey',
26 as InstanceOf['Google::Storagetransfer::V1::TransferTypes::AwsAccessKey'];
27  
28 coerce 'AwsAccessKey',
29 from HashRef, via { 'Google::Storagetransfer::V1::TransferTypes::AwsAccessKey'->new($_) };
30  
31 declare 'RepeatedAwsAccessKey',
32 as ArrayRef[AwsAccessKey()];
33  
34 coerce 'RepeatedAwsAccessKey',
35 from ArrayRef[HashRef], via { [ map { 'Google::Storagetransfer::V1::TransferTypes::AwsAccessKey'->new($_) } @$_ ] };
36  
37 declare 'MapStringAwsAccessKey',
38 as HashRef[AwsAccessKey()];
39  
40 declare 'AzureCredentials',
41 as InstanceOf['Google::Storagetransfer::V1::TransferTypes::AzureCredentials'];
42  
43 coerce 'AzureCredentials',
44 from HashRef, via { 'Google::Storagetransfer::V1::TransferTypes::AzureCredentials'->new($_) };
45  
46 declare 'RepeatedAzureCredentials',
47 as ArrayRef[AzureCredentials()];
48  
49 coerce 'RepeatedAzureCredentials',
50 from ArrayRef[HashRef], via { [ map { 'Google::Storagetransfer::V1::TransferTypes::AzureCredentials'->new($_) } @$_ ] };
51  
52 declare 'MapStringAzureCredentials',
53 as HashRef[AzureCredentials()];
54  
55 declare 'ObjectConditions',
56 as InstanceOf['Google::Storagetransfer::V1::TransferTypes::ObjectConditions'];
57  
58 coerce 'ObjectConditions',
59 from HashRef, via { 'Google::Storagetransfer::V1::TransferTypes::ObjectConditions'->new($_) };
60  
61 declare 'RepeatedObjectConditions',
62 as ArrayRef[ObjectConditions()];
63  
64 coerce 'RepeatedObjectConditions',
65 from ArrayRef[HashRef], via { [ map { 'Google::Storagetransfer::V1::TransferTypes::ObjectConditions'->new($_) } @$_ ] };
66  
67 declare 'MapStringObjectConditions',
68 as HashRef[ObjectConditions()];
69  
70 declare 'GcsData',
71 as InstanceOf['Google::Storagetransfer::V1::TransferTypes::GcsData'];
72  
73 coerce 'GcsData',
74 from HashRef, via { 'Google::Storagetransfer::V1::TransferTypes::GcsData'->new($_) };
75  
76 declare 'RepeatedGcsData',
77 as ArrayRef[GcsData()];
78  
79 coerce 'RepeatedGcsData',
80 from ArrayRef[HashRef], via { [ map { 'Google::Storagetransfer::V1::TransferTypes::GcsData'->new($_) } @$_ ] };
81  
82 declare 'MapStringGcsData',
83 as HashRef[GcsData()];
84  
85 declare 'AwsS3Data',
86 as InstanceOf['Google::Storagetransfer::V1::TransferTypes::AwsS3Data'];
87  
88 coerce 'AwsS3Data',
89 from HashRef, via { 'Google::Storagetransfer::V1::TransferTypes::AwsS3Data'->new($_) };
90  
91 declare 'RepeatedAwsS3Data',
92 as ArrayRef[AwsS3Data()];
93  
94 coerce 'RepeatedAwsS3Data',
95 from ArrayRef[HashRef], via { [ map { 'Google::Storagetransfer::V1::TransferTypes::AwsS3Data'->new($_) } @$_ ] };
96  
97 declare 'MapStringAwsS3Data',
98 as HashRef[AwsS3Data()];
99  
100 declare 'AzureBlobStorageData',
101 as InstanceOf['Google::Storagetransfer::V1::TransferTypes::AzureBlobStorageData'];
102  
103 coerce 'AzureBlobStorageData',
104 from HashRef, via { 'Google::Storagetransfer::V1::TransferTypes::AzureBlobStorageData'->new($_) };
105  
106 declare 'RepeatedAzureBlobStorageData',
107 as ArrayRef[AzureBlobStorageData()];
108  
109 coerce 'RepeatedAzureBlobStorageData',
110 from ArrayRef[HashRef], via { [ map { 'Google::Storagetransfer::V1::TransferTypes::AzureBlobStorageData'->new($_) } @$_ ] };
111  
112 declare 'MapStringAzureBlobStorageData',
113 as HashRef[AzureBlobStorageData()];
114  
115 declare 'FederatedIdentityConfig',
116 as InstanceOf['Google::Storagetransfer::V1::TransferTypes::AzureBlobStorageData::FederatedIdentityConfig'];
117  
118 coerce 'FederatedIdentityConfig',
119 from HashRef, via { 'Google::Storagetransfer::V1::TransferTypes::AzureBlobStorageData::FederatedIdentityConfig'->new($_) };
120  
121 declare 'RepeatedFederatedIdentityConfig',
122 as ArrayRef[FederatedIdentityConfig()];
123  
124 coerce 'RepeatedFederatedIdentityConfig',
125 from ArrayRef[HashRef], via { [ map { 'Google::Storagetransfer::V1::TransferTypes::AzureBlobStorageData::FederatedIdentityConfig'->new($_) } @$_ ] };
126  
127 declare 'MapStringFederatedIdentityConfig',
128 as HashRef[FederatedIdentityConfig()];
129  
130 declare 'HttpData',
131 as InstanceOf['Google::Storagetransfer::V1::TransferTypes::HttpData'];
132  
133 coerce 'HttpData',
134 from HashRef, via { 'Google::Storagetransfer::V1::TransferTypes::HttpData'->new($_) };
135  
136 declare 'RepeatedHttpData',
137 as ArrayRef[HttpData()];
138  
139 coerce 'RepeatedHttpData',
140 from ArrayRef[HashRef], via { [ map { 'Google::Storagetransfer::V1::TransferTypes::HttpData'->new($_) } @$_ ] };
141  
142 declare 'MapStringHttpData',
143 as HashRef[HttpData()];
144  
145 declare 'PosixFilesystem',
146 as InstanceOf['Google::Storagetransfer::V1::TransferTypes::PosixFilesystem'];
147  
148 coerce 'PosixFilesystem',
149 from HashRef, via { 'Google::Storagetransfer::V1::TransferTypes::PosixFilesystem'->new($_) };
150  
151 declare 'RepeatedPosixFilesystem',
152 as ArrayRef[PosixFilesystem()];
153  
154 coerce 'RepeatedPosixFilesystem',
155 from ArrayRef[HashRef], via { [ map { 'Google::Storagetransfer::V1::TransferTypes::PosixFilesystem'->new($_) } @$_ ] };
156  
157 declare 'MapStringPosixFilesystem',
158 as HashRef[PosixFilesystem()];
159  
160 declare 'HdfsData',
161 as InstanceOf['Google::Storagetransfer::V1::TransferTypes::HdfsData'];
162  
163 coerce 'HdfsData',
164 from HashRef, via { 'Google::Storagetransfer::V1::TransferTypes::HdfsData'->new($_) };
165  
166 declare 'RepeatedHdfsData',
167 as ArrayRef[HdfsData()];
168  
169 coerce 'RepeatedHdfsData',
170 from ArrayRef[HashRef], via { [ map { 'Google::Storagetransfer::V1::TransferTypes::HdfsData'->new($_) } @$_ ] };
171  
172 declare 'MapStringHdfsData',
173 as HashRef[HdfsData()];
174  
175 declare 'AwsS3CompatibleData',
176 as InstanceOf['Google::Storagetransfer::V1::TransferTypes::AwsS3CompatibleData'];
177  
178 coerce 'AwsS3CompatibleData',
179 from HashRef, via { 'Google::Storagetransfer::V1::TransferTypes::AwsS3CompatibleData'->new($_) };
180  
181 declare 'RepeatedAwsS3CompatibleData',
182 as ArrayRef[AwsS3CompatibleData()];
183  
184 coerce 'RepeatedAwsS3CompatibleData',
185 from ArrayRef[HashRef], via { [ map { 'Google::Storagetransfer::V1::TransferTypes::AwsS3CompatibleData'->new($_) } @$_ ] };
186  
187 declare 'MapStringAwsS3CompatibleData',
188 as HashRef[AwsS3CompatibleData()];
189  
190 declare 'S3CompatibleMetadata',
191 as InstanceOf['Google::Storagetransfer::V1::TransferTypes::S3CompatibleMetadata'];
192  
193 coerce 'S3CompatibleMetadata',
194 from HashRef, via { 'Google::Storagetransfer::V1::TransferTypes::S3CompatibleMetadata'->new($_) };
195  
196 declare 'RepeatedS3CompatibleMetadata',
197 as ArrayRef[S3CompatibleMetadata()];
198  
199 coerce 'RepeatedS3CompatibleMetadata',
200 from ArrayRef[HashRef], via { [ map { 'Google::Storagetransfer::V1::TransferTypes::S3CompatibleMetadata'->new($_) } @$_ ] };
201  
202 declare 'MapStringS3CompatibleMetadata',
203 as HashRef[S3CompatibleMetadata()];
204  
205 declare 'AuthMethod',
206 as (Int | Str);
207  
208 declare 'RequestModel',
209 as (Int | Str);
210  
211 declare 'NetworkProtocol',
212 as (Int | Str);
213  
214 declare 'ListApi',
215 as (Int | Str);
216  
217 declare 'AgentPool',
218 as InstanceOf['Google::Storagetransfer::V1::TransferTypes::AgentPool'];
219  
220 coerce 'AgentPool',
221 from HashRef, via { 'Google::Storagetransfer::V1::TransferTypes::AgentPool'->new($_) };
222  
223 declare 'RepeatedAgentPool',
224 as ArrayRef[AgentPool()];
225  
226 coerce 'RepeatedAgentPool',
227 from ArrayRef[HashRef], via { [ map { 'Google::Storagetransfer::V1::TransferTypes::AgentPool'->new($_) } @$_ ] };
228  
229 declare 'MapStringAgentPool',
230 as HashRef[AgentPool()];
231  
232 declare 'State',
233 as (Int | Str);
234  
235 declare 'BandwidthLimit',
236 as InstanceOf['Google::Storagetransfer::V1::TransferTypes::AgentPool::BandwidthLimit'];
237  
238 coerce 'BandwidthLimit',
239 from HashRef, via { 'Google::Storagetransfer::V1::TransferTypes::AgentPool::BandwidthLimit'->new($_) };
240  
241 declare 'RepeatedBandwidthLimit',
242 as ArrayRef[BandwidthLimit()];
243  
244 coerce 'RepeatedBandwidthLimit',
245 from ArrayRef[HashRef], via { [ map { 'Google::Storagetransfer::V1::TransferTypes::AgentPool::BandwidthLimit'->new($_) } @$_ ] };
246  
247 declare 'MapStringBandwidthLimit',
248 as HashRef[BandwidthLimit()];
249  
250 declare 'TransferOptions',
251 as InstanceOf['Google::Storagetransfer::V1::TransferTypes::TransferOptions'];
252  
253 coerce 'TransferOptions',
254 from HashRef, via { 'Google::Storagetransfer::V1::TransferTypes::TransferOptions'->new($_) };
255  
256 declare 'RepeatedTransferOptions',
257 as ArrayRef[TransferOptions()];
258  
259 coerce 'RepeatedTransferOptions',
260 from ArrayRef[HashRef], via { [ map { 'Google::Storagetransfer::V1::TransferTypes::TransferOptions'->new($_) } @$_ ] };
261  
262 declare 'MapStringTransferOptions',
263 as HashRef[TransferOptions()];
264  
265 declare 'OverwriteWhen',
266 as (Int | Str);
267  
268 declare 'TransferSpec',
269 as InstanceOf['Google::Storagetransfer::V1::TransferTypes::TransferSpec'];
270  
271 coerce 'TransferSpec',
272 from HashRef, via { 'Google::Storagetransfer::V1::TransferTypes::TransferSpec'->new($_) };
273  
274 declare 'RepeatedTransferSpec',
275 as ArrayRef[TransferSpec()];
276  
277 coerce 'RepeatedTransferSpec',
278 from ArrayRef[HashRef], via { [ map { 'Google::Storagetransfer::V1::TransferTypes::TransferSpec'->new($_) } @$_ ] };
279  
280 declare 'MapStringTransferSpec',
281 as HashRef[TransferSpec()];
282  
283 declare 'ReplicationSpec',
284 as InstanceOf['Google::Storagetransfer::V1::TransferTypes::ReplicationSpec'];
285  
286 coerce 'ReplicationSpec',
287 from HashRef, via { 'Google::Storagetransfer::V1::TransferTypes::ReplicationSpec'->new($_) };
288  
289 declare 'RepeatedReplicationSpec',
290 as ArrayRef[ReplicationSpec()];
291  
292 coerce 'RepeatedReplicationSpec',
293 from ArrayRef[HashRef], via { [ map { 'Google::Storagetransfer::V1::TransferTypes::ReplicationSpec'->new($_) } @$_ ] };
294  
295 declare 'MapStringReplicationSpec',
296 as HashRef[ReplicationSpec()];
297  
298 declare 'MetadataOptions',
299 as InstanceOf['Google::Storagetransfer::V1::TransferTypes::MetadataOptions'];
300  
301 coerce 'MetadataOptions',
302 from HashRef, via { 'Google::Storagetransfer::V1::TransferTypes::MetadataOptions'->new($_) };
303  
304 declare 'RepeatedMetadataOptions',
305 as ArrayRef[MetadataOptions()];
306  
307 coerce 'RepeatedMetadataOptions',
308 from ArrayRef[HashRef], via { [ map { 'Google::Storagetransfer::V1::TransferTypes::MetadataOptions'->new($_) } @$_ ] };
309  
310 declare 'MapStringMetadataOptions',
311 as HashRef[MetadataOptions()];
312  
313 declare 'Symlink',
314 as (Int | Str);
315  
316 declare 'Mode',
317 as (Int | Str);
318  
319 declare 'GID',
320 as (Int | Str);
321  
322 declare 'UID',
323 as (Int | Str);
324  
325 declare 'Acl',
326 as (Int | Str);
327  
328 declare 'StorageClass',
329 as (Int | Str);
330  
331 declare 'TemporaryHold',
332 as (Int | Str);
333  
334 declare 'KmsKey',
335 as (Int | Str);
336  
337 declare 'TimeCreated',
338 as (Int | Str);
339  
340 declare 'TransferManifest',
341 as InstanceOf['Google::Storagetransfer::V1::TransferTypes::TransferManifest'];
342  
343 coerce 'TransferManifest',
344 from HashRef, via { 'Google::Storagetransfer::V1::TransferTypes::TransferManifest'->new($_) };
345  
346 declare 'RepeatedTransferManifest',
347 as ArrayRef[TransferManifest()];
348  
349 coerce 'RepeatedTransferManifest',
350 from ArrayRef[HashRef], via { [ map { 'Google::Storagetransfer::V1::TransferTypes::TransferManifest'->new($_) } @$_ ] };
351  
352 declare 'MapStringTransferManifest',
353 as HashRef[TransferManifest()];
354  
355 declare 'Schedule',
356 as InstanceOf['Google::Storagetransfer::V1::TransferTypes::Schedule'];
357  
358 coerce 'Schedule',
359 from HashRef, via { 'Google::Storagetransfer::V1::TransferTypes::Schedule'->new($_) };
360  
361 declare 'RepeatedSchedule',
362 as ArrayRef[Schedule()];
363  
364 coerce 'RepeatedSchedule',
365 from ArrayRef[HashRef], via { [ map { 'Google::Storagetransfer::V1::TransferTypes::Schedule'->new($_) } @$_ ] };
366  
367 declare 'MapStringSchedule',
368 as HashRef[Schedule()];
369  
370 declare 'EventStream',
371 as InstanceOf['Google::Storagetransfer::V1::TransferTypes::EventStream'];
372  
373 coerce 'EventStream',
374 from HashRef, via { 'Google::Storagetransfer::V1::TransferTypes::EventStream'->new($_) };
375  
376 declare 'RepeatedEventStream',
377 as ArrayRef[EventStream()];
378  
379 coerce 'RepeatedEventStream',
380 from ArrayRef[HashRef], via { [ map { 'Google::Storagetransfer::V1::TransferTypes::EventStream'->new($_) } @$_ ] };
381  
382 declare 'MapStringEventStream',
383 as HashRef[EventStream()];
384  
385 declare 'TransferJob',
386 as InstanceOf['Google::Storagetransfer::V1::TransferTypes::TransferJob'];
387  
388 coerce 'TransferJob',
389 from HashRef, via { 'Google::Storagetransfer::V1::TransferTypes::TransferJob'->new($_) };
390  
391 declare 'RepeatedTransferJob',
392 as ArrayRef[TransferJob()];
393  
394 coerce 'RepeatedTransferJob',
395 from ArrayRef[HashRef], via { [ map { 'Google::Storagetransfer::V1::TransferTypes::TransferJob'->new($_) } @$_ ] };
396  
397 declare 'MapStringTransferJob',
398 as HashRef[TransferJob()];
399  
400 declare 'Status',
401 as (Int | Str);
402  
403 declare 'ErrorLogEntry',
404 as InstanceOf['Google::Storagetransfer::V1::TransferTypes::ErrorLogEntry'];
405  
406 coerce 'ErrorLogEntry',
407 from HashRef, via { 'Google::Storagetransfer::V1::TransferTypes::ErrorLogEntry'->new($_) };
408  
409 declare 'RepeatedErrorLogEntry',
410 as ArrayRef[ErrorLogEntry()];
411  
412 coerce 'RepeatedErrorLogEntry',
413 from ArrayRef[HashRef], via { [ map { 'Google::Storagetransfer::V1::TransferTypes::ErrorLogEntry'->new($_) } @$_ ] };
414  
415 declare 'MapStringErrorLogEntry',
416 as HashRef[ErrorLogEntry()];
417  
418 declare 'ErrorSummary',
419 as InstanceOf['Google::Storagetransfer::V1::TransferTypes::ErrorSummary'];
420  
421 coerce 'ErrorSummary',
422 from HashRef, via { 'Google::Storagetransfer::V1::TransferTypes::ErrorSummary'->new($_) };
423  
424 declare 'RepeatedErrorSummary',
425 as ArrayRef[ErrorSummary()];
426  
427 coerce 'RepeatedErrorSummary',
428 from ArrayRef[HashRef], via { [ map { 'Google::Storagetransfer::V1::TransferTypes::ErrorSummary'->new($_) } @$_ ] };
429  
430 declare 'MapStringErrorSummary',
431 as HashRef[ErrorSummary()];
432  
433 declare 'TransferCounters',
434 as InstanceOf['Google::Storagetransfer::V1::TransferTypes::TransferCounters'];
435  
436 coerce 'TransferCounters',
437 from HashRef, via { 'Google::Storagetransfer::V1::TransferTypes::TransferCounters'->new($_) };
438  
439 declare 'RepeatedTransferCounters',
440 as ArrayRef[TransferCounters()];
441  
442 coerce 'RepeatedTransferCounters',
443 from ArrayRef[HashRef], via { [ map { 'Google::Storagetransfer::V1::TransferTypes::TransferCounters'->new($_) } @$_ ] };
444  
445 declare 'MapStringTransferCounters',
446 as HashRef[TransferCounters()];
447  
448 declare 'NotificationConfig',
449 as InstanceOf['Google::Storagetransfer::V1::TransferTypes::NotificationConfig'];
450  
451 coerce 'NotificationConfig',
452 from HashRef, via { 'Google::Storagetransfer::V1::TransferTypes::NotificationConfig'->new($_) };
453  
454 declare 'RepeatedNotificationConfig',
455 as ArrayRef[NotificationConfig()];
456  
457 coerce 'RepeatedNotificationConfig',
458 from ArrayRef[HashRef], via { [ map { 'Google::Storagetransfer::V1::TransferTypes::NotificationConfig'->new($_) } @$_ ] };
459  
460 declare 'MapStringNotificationConfig',
461 as HashRef[NotificationConfig()];
462  
463 declare 'EventType',
464 as (Int | Str);
465  
466 declare 'PayloadFormat',
467 as (Int | Str);
468  
469 declare 'LoggingConfig',
470 as InstanceOf['Google::Storagetransfer::V1::TransferTypes::LoggingConfig'];
471  
472 coerce 'LoggingConfig',
473 from HashRef, via { 'Google::Storagetransfer::V1::TransferTypes::LoggingConfig'->new($_) };
474  
475 declare 'RepeatedLoggingConfig',
476 as ArrayRef[LoggingConfig()];
477  
478 coerce 'RepeatedLoggingConfig',
479 from ArrayRef[HashRef], via { [ map { 'Google::Storagetransfer::V1::TransferTypes::LoggingConfig'->new($_) } @$_ ] };
480  
481 declare 'MapStringLoggingConfig',
482 as HashRef[LoggingConfig()];
483  
484 declare 'LoggableAction',
485 as (Int | Str);
486  
487 declare 'LoggableActionState',
488 as (Int | Str);
489  
490 declare 'TransferOperation',
491 as InstanceOf['Google::Storagetransfer::V1::TransferTypes::TransferOperation'];
492  
493 coerce 'TransferOperation',
494 from HashRef, via { 'Google::Storagetransfer::V1::TransferTypes::TransferOperation'->new($_) };
495  
496 declare 'RepeatedTransferOperation',
497 as ArrayRef[TransferOperation()];
498  
499 coerce 'RepeatedTransferOperation',
500 from ArrayRef[HashRef], via { [ map { 'Google::Storagetransfer::V1::TransferTypes::TransferOperation'->new($_) } @$_ ] };
501  
502 declare 'MapStringTransferOperation',
503 as HashRef[TransferOperation()];
504  
505 declare 'Status',
506 as (Int | Str);
507  
508 1;
509  
510 __END__