V1/Processing/Types.pm untested

filter: Statementstmt 0.0% 0 / 107 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 112 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::Dataplex::V1::Processing::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 'Trigger',
11 as InstanceOf['Google::Cloud::Dataplex::V1::Processing::Trigger'];
12  
13 coerce 'Trigger',
14 from HashRef, via { 'Google::Cloud::Dataplex::V1::Processing::Trigger'->new($_) };
15  
16 declare 'RepeatedTrigger',
17 as ArrayRef[Trigger()];
18  
19 coerce 'RepeatedTrigger',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Processing::Trigger'->new($_) } @$_ ] };
21  
22 declare 'MapStringTrigger',
23 as HashRef[Trigger()];
24  
25 declare 'OnDemand',
26 as InstanceOf['Google::Cloud::Dataplex::V1::Processing::Trigger::OnDemand'];
27  
28 coerce 'OnDemand',
29 from HashRef, via { 'Google::Cloud::Dataplex::V1::Processing::Trigger::OnDemand'->new($_) };
30  
31 declare 'RepeatedOnDemand',
32 as ArrayRef[OnDemand()];
33  
34 coerce 'RepeatedOnDemand',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Processing::Trigger::OnDemand'->new($_) } @$_ ] };
36  
37 declare 'MapStringOnDemand',
38 as HashRef[OnDemand()];
39  
40 declare 'Schedule',
41 as InstanceOf['Google::Cloud::Dataplex::V1::Processing::Trigger::Schedule'];
42  
43 coerce 'Schedule',
44 from HashRef, via { 'Google::Cloud::Dataplex::V1::Processing::Trigger::Schedule'->new($_) };
45  
46 declare 'RepeatedSchedule',
47 as ArrayRef[Schedule()];
48  
49 coerce 'RepeatedSchedule',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Processing::Trigger::Schedule'->new($_) } @$_ ] };
51  
52 declare 'MapStringSchedule',
53 as HashRef[Schedule()];
54  
55 declare 'OneTime',
56 as InstanceOf['Google::Cloud::Dataplex::V1::Processing::Trigger::OneTime'];
57  
58 coerce 'OneTime',
59 from HashRef, via { 'Google::Cloud::Dataplex::V1::Processing::Trigger::OneTime'->new($_) };
60  
61 declare 'RepeatedOneTime',
62 as ArrayRef[OneTime()];
63  
64 coerce 'RepeatedOneTime',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Processing::Trigger::OneTime'->new($_) } @$_ ] };
66  
67 declare 'MapStringOneTime',
68 as HashRef[OneTime()];
69  
70 declare 'DataSource',
71 as InstanceOf['Google::Cloud::Dataplex::V1::Processing::DataSource'];
72  
73 coerce 'DataSource',
74 from HashRef, via { 'Google::Cloud::Dataplex::V1::Processing::DataSource'->new($_) };
75  
76 declare 'RepeatedDataSource',
77 as ArrayRef[DataSource()];
78  
79 coerce 'RepeatedDataSource',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Processing::DataSource'->new($_) } @$_ ] };
81  
82 declare 'MapStringDataSource',
83 as HashRef[DataSource()];
84  
85 declare 'ScannedData',
86 as InstanceOf['Google::Cloud::Dataplex::V1::Processing::ScannedData'];
87  
88 coerce 'ScannedData',
89 from HashRef, via { 'Google::Cloud::Dataplex::V1::Processing::ScannedData'->new($_) };
90  
91 declare 'RepeatedScannedData',
92 as ArrayRef[ScannedData()];
93  
94 coerce 'RepeatedScannedData',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Processing::ScannedData'->new($_) } @$_ ] };
96  
97 declare 'MapStringScannedData',
98 as HashRef[ScannedData()];
99  
100 declare 'IncrementalField',
101 as InstanceOf['Google::Cloud::Dataplex::V1::Processing::ScannedData::IncrementalField'];
102  
103 coerce 'IncrementalField',
104 from HashRef, via { 'Google::Cloud::Dataplex::V1::Processing::ScannedData::IncrementalField'->new($_) };
105  
106 declare 'RepeatedIncrementalField',
107 as ArrayRef[IncrementalField()];
108  
109 coerce 'RepeatedIncrementalField',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Processing::ScannedData::IncrementalField'->new($_) } @$_ ] };
111  
112 declare 'MapStringIncrementalField',
113 as HashRef[IncrementalField()];
114  
115 1;
116  
117 __END__