V1/Tasks/Types.pm untested

filter: Statementstmt 0.0% 0 / 193 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 198 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::Osconfig::Agentendpoint::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 'TaskDirective',
11 as (Int | Str);
12  
13 declare 'TaskType',
14 as (Int | Str);
15  
16 declare 'Task',
17 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::Task'];
18  
19 coerce 'Task',
20 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::Task'->new($_) };
21  
22 declare 'RepeatedTask',
23 as ArrayRef[Task()];
24  
25 coerce 'RepeatedTask',
26 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::Task'->new($_) } @$_ ] };
27  
28 declare 'MapStringTask',
29 as HashRef[Task()];
30  
31 declare 'ServiceLabelsEntry',
32 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::Task::ServiceLabelsEntry'];
33  
34 coerce 'ServiceLabelsEntry',
35 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::Task::ServiceLabelsEntry'->new($_) };
36  
37 declare 'RepeatedServiceLabelsEntry',
38 as ArrayRef[ServiceLabelsEntry()];
39  
40 coerce 'RepeatedServiceLabelsEntry',
41 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::Task::ServiceLabelsEntry'->new($_) } @$_ ] };
42  
43 declare 'MapStringServiceLabelsEntry',
44 as HashRef[ServiceLabelsEntry()];
45  
46 declare 'ApplyPatchesTask',
47 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ApplyPatchesTask'];
48  
49 coerce 'ApplyPatchesTask',
50 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ApplyPatchesTask'->new($_) };
51  
52 declare 'RepeatedApplyPatchesTask',
53 as ArrayRef[ApplyPatchesTask()];
54  
55 coerce 'RepeatedApplyPatchesTask',
56 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ApplyPatchesTask'->new($_) } @$_ ] };
57  
58 declare 'MapStringApplyPatchesTask',
59 as HashRef[ApplyPatchesTask()];
60  
61 declare 'ApplyPatchesTaskProgress',
62 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ApplyPatchesTaskProgress'];
63  
64 coerce 'ApplyPatchesTaskProgress',
65 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ApplyPatchesTaskProgress'->new($_) };
66  
67 declare 'RepeatedApplyPatchesTaskProgress',
68 as ArrayRef[ApplyPatchesTaskProgress()];
69  
70 coerce 'RepeatedApplyPatchesTaskProgress',
71 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ApplyPatchesTaskProgress'->new($_) } @$_ ] };
72  
73 declare 'MapStringApplyPatchesTaskProgress',
74 as HashRef[ApplyPatchesTaskProgress()];
75  
76 declare 'State',
77 as (Int | Str);
78  
79 declare 'ApplyPatchesTaskOutput',
80 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ApplyPatchesTaskOutput'];
81  
82 coerce 'ApplyPatchesTaskOutput',
83 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ApplyPatchesTaskOutput'->new($_) };
84  
85 declare 'RepeatedApplyPatchesTaskOutput',
86 as ArrayRef[ApplyPatchesTaskOutput()];
87  
88 coerce 'RepeatedApplyPatchesTaskOutput',
89 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ApplyPatchesTaskOutput'->new($_) } @$_ ] };
90  
91 declare 'MapStringApplyPatchesTaskOutput',
92 as HashRef[ApplyPatchesTaskOutput()];
93  
94 declare 'State',
95 as (Int | Str);
96  
97 declare 'ExecStepTask',
98 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ExecStepTask'];
99  
100 coerce 'ExecStepTask',
101 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ExecStepTask'->new($_) };
102  
103 declare 'RepeatedExecStepTask',
104 as ArrayRef[ExecStepTask()];
105  
106 coerce 'RepeatedExecStepTask',
107 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ExecStepTask'->new($_) } @$_ ] };
108  
109 declare 'MapStringExecStepTask',
110 as HashRef[ExecStepTask()];
111  
112 declare 'ExecStepTaskProgress',
113 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ExecStepTaskProgress'];
114  
115 coerce 'ExecStepTaskProgress',
116 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ExecStepTaskProgress'->new($_) };
117  
118 declare 'RepeatedExecStepTaskProgress',
119 as ArrayRef[ExecStepTaskProgress()];
120  
121 coerce 'RepeatedExecStepTaskProgress',
122 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ExecStepTaskProgress'->new($_) } @$_ ] };
123  
124 declare 'MapStringExecStepTaskProgress',
125 as HashRef[ExecStepTaskProgress()];
126  
127 declare 'State',
128 as (Int | Str);
129  
130 declare 'ExecStepTaskOutput',
131 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ExecStepTaskOutput'];
132  
133 coerce 'ExecStepTaskOutput',
134 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ExecStepTaskOutput'->new($_) };
135  
136 declare 'RepeatedExecStepTaskOutput',
137 as ArrayRef[ExecStepTaskOutput()];
138  
139 coerce 'RepeatedExecStepTaskOutput',
140 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ExecStepTaskOutput'->new($_) } @$_ ] };
141  
142 declare 'MapStringExecStepTaskOutput',
143 as HashRef[ExecStepTaskOutput()];
144  
145 declare 'State',
146 as (Int | Str);
147  
148 declare 'ApplyConfigTask',
149 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ApplyConfigTask'];
150  
151 coerce 'ApplyConfigTask',
152 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ApplyConfigTask'->new($_) };
153  
154 declare 'RepeatedApplyConfigTask',
155 as ArrayRef[ApplyConfigTask()];
156  
157 coerce 'RepeatedApplyConfigTask',
158 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ApplyConfigTask'->new($_) } @$_ ] };
159  
160 declare 'MapStringApplyConfigTask',
161 as HashRef[ApplyConfigTask()];
162  
163 declare 'OSPolicy',
164 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ApplyConfigTask::OSPolicy'];
165  
166 coerce 'OSPolicy',
167 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ApplyConfigTask::OSPolicy'->new($_) };
168  
169 declare 'RepeatedOSPolicy',
170 as ArrayRef[OSPolicy()];
171  
172 coerce 'RepeatedOSPolicy',
173 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ApplyConfigTask::OSPolicy'->new($_) } @$_ ] };
174  
175 declare 'MapStringOSPolicy',
176 as HashRef[OSPolicy()];
177  
178 declare 'ApplyConfigTaskProgress',
179 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ApplyConfigTaskProgress'];
180  
181 coerce 'ApplyConfigTaskProgress',
182 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ApplyConfigTaskProgress'->new($_) };
183  
184 declare 'RepeatedApplyConfigTaskProgress',
185 as ArrayRef[ApplyConfigTaskProgress()];
186  
187 coerce 'RepeatedApplyConfigTaskProgress',
188 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ApplyConfigTaskProgress'->new($_) } @$_ ] };
189  
190 declare 'MapStringApplyConfigTaskProgress',
191 as HashRef[ApplyConfigTaskProgress()];
192  
193 declare 'State',
194 as (Int | Str);
195  
196 declare 'ApplyConfigTaskOutput',
197 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ApplyConfigTaskOutput'];
198  
199 coerce 'ApplyConfigTaskOutput',
200 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ApplyConfigTaskOutput'->new($_) };
201  
202 declare 'RepeatedApplyConfigTaskOutput',
203 as ArrayRef[ApplyConfigTaskOutput()];
204  
205 coerce 'RepeatedApplyConfigTaskOutput',
206 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ApplyConfigTaskOutput'->new($_) } @$_ ] };
207  
208 declare 'MapStringApplyConfigTaskOutput',
209 as HashRef[ApplyConfigTaskOutput()];
210  
211 declare 'State',
212 as (Int | Str);
213  
214 declare 'OSPolicyResult',
215 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ApplyConfigTaskOutput::OSPolicyResult'];
216  
217 coerce 'OSPolicyResult',
218 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ApplyConfigTaskOutput::OSPolicyResult'->new($_) };
219  
220 declare 'RepeatedOSPolicyResult',
221 as ArrayRef[OSPolicyResult()];
222  
223 coerce 'RepeatedOSPolicyResult',
224 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1::Tasks::ApplyConfigTaskOutput::OSPolicyResult'->new($_) } @$_ ] };
225  
226 declare 'MapStringOSPolicyResult',
227 as HashRef[OSPolicyResult()];
228  
229 1;
230  
231 __END__