V1beta/PatchDeployments/Types.pm untested

filter: Statementstmt 0.0% 0 / 200 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 205 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::V1beta::PatchDeployments::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 'PatchDeployment',
11 as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchDeployments::PatchDeployment'];
12  
13 coerce 'PatchDeployment',
14 from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchDeployments::PatchDeployment'->new($_) };
15  
16 declare 'RepeatedPatchDeployment',
17 as ArrayRef[PatchDeployment()];
18  
19 coerce 'RepeatedPatchDeployment',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchDeployments::PatchDeployment'->new($_) } @$_ ] };
21  
22 declare 'MapStringPatchDeployment',
23 as HashRef[PatchDeployment()];
24  
25 declare 'State',
26 as (Int | Str);
27  
28 declare 'OneTimeSchedule',
29 as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchDeployments::OneTimeSchedule'];
30  
31 coerce 'OneTimeSchedule',
32 from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchDeployments::OneTimeSchedule'->new($_) };
33  
34 declare 'RepeatedOneTimeSchedule',
35 as ArrayRef[OneTimeSchedule()];
36  
37 coerce 'RepeatedOneTimeSchedule',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchDeployments::OneTimeSchedule'->new($_) } @$_ ] };
39  
40 declare 'MapStringOneTimeSchedule',
41 as HashRef[OneTimeSchedule()];
42  
43 declare 'RecurringSchedule',
44 as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchDeployments::RecurringSchedule'];
45  
46 coerce 'RecurringSchedule',
47 from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchDeployments::RecurringSchedule'->new($_) };
48  
49 declare 'RepeatedRecurringSchedule',
50 as ArrayRef[RecurringSchedule()];
51  
52 coerce 'RepeatedRecurringSchedule',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchDeployments::RecurringSchedule'->new($_) } @$_ ] };
54  
55 declare 'MapStringRecurringSchedule',
56 as HashRef[RecurringSchedule()];
57  
58 declare 'Frequency',
59 as (Int | Str);
60  
61 declare 'WeeklySchedule',
62 as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchDeployments::WeeklySchedule'];
63  
64 coerce 'WeeklySchedule',
65 from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchDeployments::WeeklySchedule'->new($_) };
66  
67 declare 'RepeatedWeeklySchedule',
68 as ArrayRef[WeeklySchedule()];
69  
70 coerce 'RepeatedWeeklySchedule',
71 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchDeployments::WeeklySchedule'->new($_) } @$_ ] };
72  
73 declare 'MapStringWeeklySchedule',
74 as HashRef[WeeklySchedule()];
75  
76 declare 'MonthlySchedule',
77 as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchDeployments::MonthlySchedule'];
78  
79 coerce 'MonthlySchedule',
80 from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchDeployments::MonthlySchedule'->new($_) };
81  
82 declare 'RepeatedMonthlySchedule',
83 as ArrayRef[MonthlySchedule()];
84  
85 coerce 'RepeatedMonthlySchedule',
86 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchDeployments::MonthlySchedule'->new($_) } @$_ ] };
87  
88 declare 'MapStringMonthlySchedule',
89 as HashRef[MonthlySchedule()];
90  
91 declare 'WeekDayOfMonth',
92 as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchDeployments::WeekDayOfMonth'];
93  
94 coerce 'WeekDayOfMonth',
95 from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchDeployments::WeekDayOfMonth'->new($_) };
96  
97 declare 'RepeatedWeekDayOfMonth',
98 as ArrayRef[WeekDayOfMonth()];
99  
100 coerce 'RepeatedWeekDayOfMonth',
101 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchDeployments::WeekDayOfMonth'->new($_) } @$_ ] };
102  
103 declare 'MapStringWeekDayOfMonth',
104 as HashRef[WeekDayOfMonth()];
105  
106 declare 'CreatePatchDeploymentRequest',
107 as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchDeployments::CreatePatchDeploymentRequest'];
108  
109 coerce 'CreatePatchDeploymentRequest',
110 from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchDeployments::CreatePatchDeploymentRequest'->new($_) };
111  
112 declare 'RepeatedCreatePatchDeploymentRequest',
113 as ArrayRef[CreatePatchDeploymentRequest()];
114  
115 coerce 'RepeatedCreatePatchDeploymentRequest',
116 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchDeployments::CreatePatchDeploymentRequest'->new($_) } @$_ ] };
117  
118 declare 'MapStringCreatePatchDeploymentRequest',
119 as HashRef[CreatePatchDeploymentRequest()];
120  
121 declare 'GetPatchDeploymentRequest',
122 as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchDeployments::GetPatchDeploymentRequest'];
123  
124 coerce 'GetPatchDeploymentRequest',
125 from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchDeployments::GetPatchDeploymentRequest'->new($_) };
126  
127 declare 'RepeatedGetPatchDeploymentRequest',
128 as ArrayRef[GetPatchDeploymentRequest()];
129  
130 coerce 'RepeatedGetPatchDeploymentRequest',
131 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchDeployments::GetPatchDeploymentRequest'->new($_) } @$_ ] };
132  
133 declare 'MapStringGetPatchDeploymentRequest',
134 as HashRef[GetPatchDeploymentRequest()];
135  
136 declare 'ListPatchDeploymentsRequest',
137 as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchDeployments::ListPatchDeploymentsRequest'];
138  
139 coerce 'ListPatchDeploymentsRequest',
140 from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchDeployments::ListPatchDeploymentsRequest'->new($_) };
141  
142 declare 'RepeatedListPatchDeploymentsRequest',
143 as ArrayRef[ListPatchDeploymentsRequest()];
144  
145 coerce 'RepeatedListPatchDeploymentsRequest',
146 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchDeployments::ListPatchDeploymentsRequest'->new($_) } @$_ ] };
147  
148 declare 'MapStringListPatchDeploymentsRequest',
149 as HashRef[ListPatchDeploymentsRequest()];
150  
151 declare 'ListPatchDeploymentsResponse',
152 as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchDeployments::ListPatchDeploymentsResponse'];
153  
154 coerce 'ListPatchDeploymentsResponse',
155 from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchDeployments::ListPatchDeploymentsResponse'->new($_) };
156  
157 declare 'RepeatedListPatchDeploymentsResponse',
158 as ArrayRef[ListPatchDeploymentsResponse()];
159  
160 coerce 'RepeatedListPatchDeploymentsResponse',
161 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchDeployments::ListPatchDeploymentsResponse'->new($_) } @$_ ] };
162  
163 declare 'MapStringListPatchDeploymentsResponse',
164 as HashRef[ListPatchDeploymentsResponse()];
165  
166 declare 'DeletePatchDeploymentRequest',
167 as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchDeployments::DeletePatchDeploymentRequest'];
168  
169 coerce 'DeletePatchDeploymentRequest',
170 from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchDeployments::DeletePatchDeploymentRequest'->new($_) };
171  
172 declare 'RepeatedDeletePatchDeploymentRequest',
173 as ArrayRef[DeletePatchDeploymentRequest()];
174  
175 coerce 'RepeatedDeletePatchDeploymentRequest',
176 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchDeployments::DeletePatchDeploymentRequest'->new($_) } @$_ ] };
177  
178 declare 'MapStringDeletePatchDeploymentRequest',
179 as HashRef[DeletePatchDeploymentRequest()];
180  
181 declare 'UpdatePatchDeploymentRequest',
182 as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchDeployments::UpdatePatchDeploymentRequest'];
183  
184 coerce 'UpdatePatchDeploymentRequest',
185 from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchDeployments::UpdatePatchDeploymentRequest'->new($_) };
186  
187 declare 'RepeatedUpdatePatchDeploymentRequest',
188 as ArrayRef[UpdatePatchDeploymentRequest()];
189  
190 coerce 'RepeatedUpdatePatchDeploymentRequest',
191 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchDeployments::UpdatePatchDeploymentRequest'->new($_) } @$_ ] };
192  
193 declare 'MapStringUpdatePatchDeploymentRequest',
194 as HashRef[UpdatePatchDeploymentRequest()];
195  
196 declare 'PausePatchDeploymentRequest',
197 as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchDeployments::PausePatchDeploymentRequest'];
198  
199 coerce 'PausePatchDeploymentRequest',
200 from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchDeployments::PausePatchDeploymentRequest'->new($_) };
201  
202 declare 'RepeatedPausePatchDeploymentRequest',
203 as ArrayRef[PausePatchDeploymentRequest()];
204  
205 coerce 'RepeatedPausePatchDeploymentRequest',
206 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchDeployments::PausePatchDeploymentRequest'->new($_) } @$_ ] };
207  
208 declare 'MapStringPausePatchDeploymentRequest',
209 as HashRef[PausePatchDeploymentRequest()];
210  
211 declare 'ResumePatchDeploymentRequest',
212 as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchDeployments::ResumePatchDeploymentRequest'];
213  
214 coerce 'ResumePatchDeploymentRequest',
215 from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchDeployments::ResumePatchDeploymentRequest'->new($_) };
216  
217 declare 'RepeatedResumePatchDeploymentRequest',
218 as ArrayRef[ResumePatchDeploymentRequest()];
219  
220 coerce 'RepeatedResumePatchDeploymentRequest',
221 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchDeployments::ResumePatchDeploymentRequest'->new($_) } @$_ ] };
222  
223 declare 'MapStringResumePatchDeploymentRequest',
224 as HashRef[ResumePatchDeploymentRequest()];
225  
226 1;
227  
228 __END__