V2/Job/Types.pm untested

filter: Statementstmt 0.0% 0 / 186 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 191 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::Run::V2::Job::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 'CreateJobRequest',
11 as InstanceOf['Google::Cloud::Run::V2::Job::CreateJobRequest'];
12  
13 coerce 'CreateJobRequest',
14 from HashRef, via { 'Google::Cloud::Run::V2::Job::CreateJobRequest'->new($_) };
15  
16 declare 'RepeatedCreateJobRequest',
17 as ArrayRef[CreateJobRequest()];
18  
19 coerce 'RepeatedCreateJobRequest',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::Job::CreateJobRequest'->new($_) } @$_ ] };
21  
22 declare 'MapStringCreateJobRequest',
23 as HashRef[CreateJobRequest()];
24  
25 declare 'GetJobRequest',
26 as InstanceOf['Google::Cloud::Run::V2::Job::GetJobRequest'];
27  
28 coerce 'GetJobRequest',
29 from HashRef, via { 'Google::Cloud::Run::V2::Job::GetJobRequest'->new($_) };
30  
31 declare 'RepeatedGetJobRequest',
32 as ArrayRef[GetJobRequest()];
33  
34 coerce 'RepeatedGetJobRequest',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::Job::GetJobRequest'->new($_) } @$_ ] };
36  
37 declare 'MapStringGetJobRequest',
38 as HashRef[GetJobRequest()];
39  
40 declare 'UpdateJobRequest',
41 as InstanceOf['Google::Cloud::Run::V2::Job::UpdateJobRequest'];
42  
43 coerce 'UpdateJobRequest',
44 from HashRef, via { 'Google::Cloud::Run::V2::Job::UpdateJobRequest'->new($_) };
45  
46 declare 'RepeatedUpdateJobRequest',
47 as ArrayRef[UpdateJobRequest()];
48  
49 coerce 'RepeatedUpdateJobRequest',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::Job::UpdateJobRequest'->new($_) } @$_ ] };
51  
52 declare 'MapStringUpdateJobRequest',
53 as HashRef[UpdateJobRequest()];
54  
55 declare 'ListJobsRequest',
56 as InstanceOf['Google::Cloud::Run::V2::Job::ListJobsRequest'];
57  
58 coerce 'ListJobsRequest',
59 from HashRef, via { 'Google::Cloud::Run::V2::Job::ListJobsRequest'->new($_) };
60  
61 declare 'RepeatedListJobsRequest',
62 as ArrayRef[ListJobsRequest()];
63  
64 coerce 'RepeatedListJobsRequest',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::Job::ListJobsRequest'->new($_) } @$_ ] };
66  
67 declare 'MapStringListJobsRequest',
68 as HashRef[ListJobsRequest()];
69  
70 declare 'ListJobsResponse',
71 as InstanceOf['Google::Cloud::Run::V2::Job::ListJobsResponse'];
72  
73 coerce 'ListJobsResponse',
74 from HashRef, via { 'Google::Cloud::Run::V2::Job::ListJobsResponse'->new($_) };
75  
76 declare 'RepeatedListJobsResponse',
77 as ArrayRef[ListJobsResponse()];
78  
79 coerce 'RepeatedListJobsResponse',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::Job::ListJobsResponse'->new($_) } @$_ ] };
81  
82 declare 'MapStringListJobsResponse',
83 as HashRef[ListJobsResponse()];
84  
85 declare 'DeleteJobRequest',
86 as InstanceOf['Google::Cloud::Run::V2::Job::DeleteJobRequest'];
87  
88 coerce 'DeleteJobRequest',
89 from HashRef, via { 'Google::Cloud::Run::V2::Job::DeleteJobRequest'->new($_) };
90  
91 declare 'RepeatedDeleteJobRequest',
92 as ArrayRef[DeleteJobRequest()];
93  
94 coerce 'RepeatedDeleteJobRequest',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::Job::DeleteJobRequest'->new($_) } @$_ ] };
96  
97 declare 'MapStringDeleteJobRequest',
98 as HashRef[DeleteJobRequest()];
99  
100 declare 'RunJobRequest',
101 as InstanceOf['Google::Cloud::Run::V2::Job::RunJobRequest'];
102  
103 coerce 'RunJobRequest',
104 from HashRef, via { 'Google::Cloud::Run::V2::Job::RunJobRequest'->new($_) };
105  
106 declare 'RepeatedRunJobRequest',
107 as ArrayRef[RunJobRequest()];
108  
109 coerce 'RepeatedRunJobRequest',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::Job::RunJobRequest'->new($_) } @$_ ] };
111  
112 declare 'MapStringRunJobRequest',
113 as HashRef[RunJobRequest()];
114  
115 declare 'Overrides',
116 as InstanceOf['Google::Cloud::Run::V2::Job::RunJobRequest::Overrides'];
117  
118 coerce 'Overrides',
119 from HashRef, via { 'Google::Cloud::Run::V2::Job::RunJobRequest::Overrides'->new($_) };
120  
121 declare 'RepeatedOverrides',
122 as ArrayRef[Overrides()];
123  
124 coerce 'RepeatedOverrides',
125 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::Job::RunJobRequest::Overrides'->new($_) } @$_ ] };
126  
127 declare 'MapStringOverrides',
128 as HashRef[Overrides()];
129  
130 declare 'ContainerOverride',
131 as InstanceOf['Google::Cloud::Run::V2::Job::RunJobRequest::Overrides::ContainerOverride'];
132  
133 coerce 'ContainerOverride',
134 from HashRef, via { 'Google::Cloud::Run::V2::Job::RunJobRequest::Overrides::ContainerOverride'->new($_) };
135  
136 declare 'RepeatedContainerOverride',
137 as ArrayRef[ContainerOverride()];
138  
139 coerce 'RepeatedContainerOverride',
140 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::Job::RunJobRequest::Overrides::ContainerOverride'->new($_) } @$_ ] };
141  
142 declare 'MapStringContainerOverride',
143 as HashRef[ContainerOverride()];
144  
145 declare 'Job',
146 as InstanceOf['Google::Cloud::Run::V2::Job::Job'];
147  
148 coerce 'Job',
149 from HashRef, via { 'Google::Cloud::Run::V2::Job::Job'->new($_) };
150  
151 declare 'RepeatedJob',
152 as ArrayRef[Job()];
153  
154 coerce 'RepeatedJob',
155 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::Job::Job'->new($_) } @$_ ] };
156  
157 declare 'MapStringJob',
158 as HashRef[Job()];
159  
160 declare 'LabelsEntry',
161 as InstanceOf['Google::Cloud::Run::V2::Job::Job::LabelsEntry'];
162  
163 coerce 'LabelsEntry',
164 from HashRef, via { 'Google::Cloud::Run::V2::Job::Job::LabelsEntry'->new($_) };
165  
166 declare 'RepeatedLabelsEntry',
167 as ArrayRef[LabelsEntry()];
168  
169 coerce 'RepeatedLabelsEntry',
170 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::Job::Job::LabelsEntry'->new($_) } @$_ ] };
171  
172 declare 'MapStringLabelsEntry',
173 as HashRef[LabelsEntry()];
174  
175 declare 'AnnotationsEntry',
176 as InstanceOf['Google::Cloud::Run::V2::Job::Job::AnnotationsEntry'];
177  
178 coerce 'AnnotationsEntry',
179 from HashRef, via { 'Google::Cloud::Run::V2::Job::Job::AnnotationsEntry'->new($_) };
180  
181 declare 'RepeatedAnnotationsEntry',
182 as ArrayRef[AnnotationsEntry()];
183  
184 coerce 'RepeatedAnnotationsEntry',
185 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::Job::Job::AnnotationsEntry'->new($_) } @$_ ] };
186  
187 declare 'MapStringAnnotationsEntry',
188 as HashRef[AnnotationsEntry()];
189  
190 declare 'ExecutionReference',
191 as InstanceOf['Google::Cloud::Run::V2::Job::ExecutionReference'];
192  
193 coerce 'ExecutionReference',
194 from HashRef, via { 'Google::Cloud::Run::V2::Job::ExecutionReference'->new($_) };
195  
196 declare 'RepeatedExecutionReference',
197 as ArrayRef[ExecutionReference()];
198  
199 coerce 'RepeatedExecutionReference',
200 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::Job::ExecutionReference'->new($_) } @$_ ] };
201  
202 declare 'MapStringExecutionReference',
203 as HashRef[ExecutionReference()];
204  
205 declare 'CompletionStatus',
206 as (Int | Str);
207  
208 1;
209  
210 __END__