V1/Tasks/Types.pm untested

filter: Statementstmt 0.0% 0 / 215 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 220 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::Tasks::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 'Task',
11 as InstanceOf['Google::Cloud::Dataplex::V1::Tasks::Task'];
12  
13 coerce 'Task',
14 from HashRef, via { 'Google::Cloud::Dataplex::V1::Tasks::Task'->new($_) };
15  
16 declare 'RepeatedTask',
17 as ArrayRef[Task()];
18  
19 coerce 'RepeatedTask',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Tasks::Task'->new($_) } @$_ ] };
21  
22 declare 'MapStringTask',
23 as HashRef[Task()];
24  
25 declare 'InfrastructureSpec',
26 as InstanceOf['Google::Cloud::Dataplex::V1::Tasks::Task::InfrastructureSpec'];
27  
28 coerce 'InfrastructureSpec',
29 from HashRef, via { 'Google::Cloud::Dataplex::V1::Tasks::Task::InfrastructureSpec'->new($_) };
30  
31 declare 'RepeatedInfrastructureSpec',
32 as ArrayRef[InfrastructureSpec()];
33  
34 coerce 'RepeatedInfrastructureSpec',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Tasks::Task::InfrastructureSpec'->new($_) } @$_ ] };
36  
37 declare 'MapStringInfrastructureSpec',
38 as HashRef[InfrastructureSpec()];
39  
40 declare 'BatchComputeResources',
41 as InstanceOf['Google::Cloud::Dataplex::V1::Tasks::Task::InfrastructureSpec::BatchComputeResources'];
42  
43 coerce 'BatchComputeResources',
44 from HashRef, via { 'Google::Cloud::Dataplex::V1::Tasks::Task::InfrastructureSpec::BatchComputeResources'->new($_) };
45  
46 declare 'RepeatedBatchComputeResources',
47 as ArrayRef[BatchComputeResources()];
48  
49 coerce 'RepeatedBatchComputeResources',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Tasks::Task::InfrastructureSpec::BatchComputeResources'->new($_) } @$_ ] };
51  
52 declare 'MapStringBatchComputeResources',
53 as HashRef[BatchComputeResources()];
54  
55 declare 'ContainerImageRuntime',
56 as InstanceOf['Google::Cloud::Dataplex::V1::Tasks::Task::InfrastructureSpec::ContainerImageRuntime'];
57  
58 coerce 'ContainerImageRuntime',
59 from HashRef, via { 'Google::Cloud::Dataplex::V1::Tasks::Task::InfrastructureSpec::ContainerImageRuntime'->new($_) };
60  
61 declare 'RepeatedContainerImageRuntime',
62 as ArrayRef[ContainerImageRuntime()];
63  
64 coerce 'RepeatedContainerImageRuntime',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Tasks::Task::InfrastructureSpec::ContainerImageRuntime'->new($_) } @$_ ] };
66  
67 declare 'MapStringContainerImageRuntime',
68 as HashRef[ContainerImageRuntime()];
69  
70 declare 'PropertiesEntry',
71 as InstanceOf['Google::Cloud::Dataplex::V1::Tasks::Task::InfrastructureSpec::ContainerImageRuntime::PropertiesEntry'];
72  
73 coerce 'PropertiesEntry',
74 from HashRef, via { 'Google::Cloud::Dataplex::V1::Tasks::Task::InfrastructureSpec::ContainerImageRuntime::PropertiesEntry'->new($_) };
75  
76 declare 'RepeatedPropertiesEntry',
77 as ArrayRef[PropertiesEntry()];
78  
79 coerce 'RepeatedPropertiesEntry',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Tasks::Task::InfrastructureSpec::ContainerImageRuntime::PropertiesEntry'->new($_) } @$_ ] };
81  
82 declare 'MapStringPropertiesEntry',
83 as HashRef[PropertiesEntry()];
84  
85 declare 'VpcNetwork',
86 as InstanceOf['Google::Cloud::Dataplex::V1::Tasks::Task::InfrastructureSpec::VpcNetwork'];
87  
88 coerce 'VpcNetwork',
89 from HashRef, via { 'Google::Cloud::Dataplex::V1::Tasks::Task::InfrastructureSpec::VpcNetwork'->new($_) };
90  
91 declare 'RepeatedVpcNetwork',
92 as ArrayRef[VpcNetwork()];
93  
94 coerce 'RepeatedVpcNetwork',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Tasks::Task::InfrastructureSpec::VpcNetwork'->new($_) } @$_ ] };
96  
97 declare 'MapStringVpcNetwork',
98 as HashRef[VpcNetwork()];
99  
100 declare 'TriggerSpec',
101 as InstanceOf['Google::Cloud::Dataplex::V1::Tasks::Task::TriggerSpec'];
102  
103 coerce 'TriggerSpec',
104 from HashRef, via { 'Google::Cloud::Dataplex::V1::Tasks::Task::TriggerSpec'->new($_) };
105  
106 declare 'RepeatedTriggerSpec',
107 as ArrayRef[TriggerSpec()];
108  
109 coerce 'RepeatedTriggerSpec',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Tasks::Task::TriggerSpec'->new($_) } @$_ ] };
111  
112 declare 'MapStringTriggerSpec',
113 as HashRef[TriggerSpec()];
114  
115 declare 'Type',
116 as (Int | Str);
117  
118 declare 'ExecutionSpec',
119 as InstanceOf['Google::Cloud::Dataplex::V1::Tasks::Task::ExecutionSpec'];
120  
121 coerce 'ExecutionSpec',
122 from HashRef, via { 'Google::Cloud::Dataplex::V1::Tasks::Task::ExecutionSpec'->new($_) };
123  
124 declare 'RepeatedExecutionSpec',
125 as ArrayRef[ExecutionSpec()];
126  
127 coerce 'RepeatedExecutionSpec',
128 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Tasks::Task::ExecutionSpec'->new($_) } @$_ ] };
129  
130 declare 'MapStringExecutionSpec',
131 as HashRef[ExecutionSpec()];
132  
133 declare 'ArgsEntry',
134 as InstanceOf['Google::Cloud::Dataplex::V1::Tasks::Task::ExecutionSpec::ArgsEntry'];
135  
136 coerce 'ArgsEntry',
137 from HashRef, via { 'Google::Cloud::Dataplex::V1::Tasks::Task::ExecutionSpec::ArgsEntry'->new($_) };
138  
139 declare 'RepeatedArgsEntry',
140 as ArrayRef[ArgsEntry()];
141  
142 coerce 'RepeatedArgsEntry',
143 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Tasks::Task::ExecutionSpec::ArgsEntry'->new($_) } @$_ ] };
144  
145 declare 'MapStringArgsEntry',
146 as HashRef[ArgsEntry()];
147  
148 declare 'SparkTaskConfig',
149 as InstanceOf['Google::Cloud::Dataplex::V1::Tasks::Task::SparkTaskConfig'];
150  
151 coerce 'SparkTaskConfig',
152 from HashRef, via { 'Google::Cloud::Dataplex::V1::Tasks::Task::SparkTaskConfig'->new($_) };
153  
154 declare 'RepeatedSparkTaskConfig',
155 as ArrayRef[SparkTaskConfig()];
156  
157 coerce 'RepeatedSparkTaskConfig',
158 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Tasks::Task::SparkTaskConfig'->new($_) } @$_ ] };
159  
160 declare 'MapStringSparkTaskConfig',
161 as HashRef[SparkTaskConfig()];
162  
163 declare 'NotebookTaskConfig',
164 as InstanceOf['Google::Cloud::Dataplex::V1::Tasks::Task::NotebookTaskConfig'];
165  
166 coerce 'NotebookTaskConfig',
167 from HashRef, via { 'Google::Cloud::Dataplex::V1::Tasks::Task::NotebookTaskConfig'->new($_) };
168  
169 declare 'RepeatedNotebookTaskConfig',
170 as ArrayRef[NotebookTaskConfig()];
171  
172 coerce 'RepeatedNotebookTaskConfig',
173 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Tasks::Task::NotebookTaskConfig'->new($_) } @$_ ] };
174  
175 declare 'MapStringNotebookTaskConfig',
176 as HashRef[NotebookTaskConfig()];
177  
178 declare 'ExecutionStatus',
179 as InstanceOf['Google::Cloud::Dataplex::V1::Tasks::Task::ExecutionStatus'];
180  
181 coerce 'ExecutionStatus',
182 from HashRef, via { 'Google::Cloud::Dataplex::V1::Tasks::Task::ExecutionStatus'->new($_) };
183  
184 declare 'RepeatedExecutionStatus',
185 as ArrayRef[ExecutionStatus()];
186  
187 coerce 'RepeatedExecutionStatus',
188 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Tasks::Task::ExecutionStatus'->new($_) } @$_ ] };
189  
190 declare 'MapStringExecutionStatus',
191 as HashRef[ExecutionStatus()];
192  
193 declare 'LabelsEntry',
194 as InstanceOf['Google::Cloud::Dataplex::V1::Tasks::Task::LabelsEntry'];
195  
196 coerce 'LabelsEntry',
197 from HashRef, via { 'Google::Cloud::Dataplex::V1::Tasks::Task::LabelsEntry'->new($_) };
198  
199 declare 'RepeatedLabelsEntry',
200 as ArrayRef[LabelsEntry()];
201  
202 coerce 'RepeatedLabelsEntry',
203 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Tasks::Task::LabelsEntry'->new($_) } @$_ ] };
204  
205 declare 'MapStringLabelsEntry',
206 as HashRef[LabelsEntry()];
207  
208 declare 'Job',
209 as InstanceOf['Google::Cloud::Dataplex::V1::Tasks::Job'];
210  
211 coerce 'Job',
212 from HashRef, via { 'Google::Cloud::Dataplex::V1::Tasks::Job'->new($_) };
213  
214 declare 'RepeatedJob',
215 as ArrayRef[Job()];
216  
217 coerce 'RepeatedJob',
218 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Tasks::Job'->new($_) } @$_ ] };
219  
220 declare 'MapStringJob',
221 as HashRef[Job()];
222  
223 declare 'Service',
224 as (Int | Str);
225  
226 declare 'State',
227 as (Int | Str);
228  
229 declare 'Trigger',
230 as (Int | Str);
231  
232 declare 'LabelsEntry',
233 as InstanceOf['Google::Cloud::Dataplex::V1::Tasks::Job::LabelsEntry'];
234  
235 coerce 'LabelsEntry',
236 from HashRef, via { 'Google::Cloud::Dataplex::V1::Tasks::Job::LabelsEntry'->new($_) };
237  
238 declare 'RepeatedLabelsEntry',
239 as ArrayRef[LabelsEntry()];
240  
241 coerce 'RepeatedLabelsEntry',
242 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::Tasks::Job::LabelsEntry'->new($_) } @$_ ] };
243  
244 declare 'MapStringLabelsEntry',
245 as HashRef[LabelsEntry()];
246  
247 1;
248  
249 __END__