V1beta/Tasks/Types.pm untested

filter: Statementstmt 0.0% 0 / 126 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 131 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::V1beta::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::V1beta::Tasks::Task'];
18  
19 coerce 'Task',
20 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::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::V1beta::Tasks::Task'->new($_) } @$_ ] };
27  
28 declare 'MapStringTask',
29 as HashRef[Task()];
30  
31 declare 'ServiceLabelsEntry',
32 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::Tasks::Task::ServiceLabelsEntry'];
33  
34 coerce 'ServiceLabelsEntry',
35 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::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::V1beta::Tasks::Task::ServiceLabelsEntry'->new($_) } @$_ ] };
42  
43 declare 'MapStringServiceLabelsEntry',
44 as HashRef[ServiceLabelsEntry()];
45  
46 declare 'ApplyPatchesTask',
47 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::Tasks::ApplyPatchesTask'];
48  
49 coerce 'ApplyPatchesTask',
50 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::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::V1beta::Tasks::ApplyPatchesTask'->new($_) } @$_ ] };
57  
58 declare 'MapStringApplyPatchesTask',
59 as HashRef[ApplyPatchesTask()];
60  
61 declare 'ApplyPatchesTaskProgress',
62 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::Tasks::ApplyPatchesTaskProgress'];
63  
64 coerce 'ApplyPatchesTaskProgress',
65 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::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::V1beta::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::V1beta::Tasks::ApplyPatchesTaskOutput'];
81  
82 coerce 'ApplyPatchesTaskOutput',
83 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::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::V1beta::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::V1beta::Tasks::ExecStepTask'];
99  
100 coerce 'ExecStepTask',
101 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::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::V1beta::Tasks::ExecStepTask'->new($_) } @$_ ] };
108  
109 declare 'MapStringExecStepTask',
110 as HashRef[ExecStepTask()];
111  
112 declare 'ExecStepTaskProgress',
113 as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::Tasks::ExecStepTaskProgress'];
114  
115 coerce 'ExecStepTaskProgress',
116 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::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::V1beta::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::V1beta::Tasks::ExecStepTaskOutput'];
132  
133 coerce 'ExecStepTaskOutput',
134 from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::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::V1beta::Tasks::ExecStepTaskOutput'->new($_) } @$_ ] };
141  
142 declare 'MapStringExecStepTaskOutput',
143 as HashRef[ExecStepTaskOutput()];
144  
145 declare 'State',
146 as (Int | Str);
147  
148 1;
149  
150 __END__