| 1 | package Google::Cloud::Osconfig::V1beta::PatchJobs::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 'ExecutePatchJobRequest', | ||
| 11 | as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchJobs::ExecutePatchJobRequest']; | ||
| 12 | |||
| 13 | coerce 'ExecutePatchJobRequest', | ||
| 14 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchJobs::ExecutePatchJobRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedExecutePatchJobRequest', | ||
| 17 | as ArrayRef[ExecutePatchJobRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedExecutePatchJobRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchJobs::ExecutePatchJobRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringExecutePatchJobRequest', | ||
| 23 | as HashRef[ExecutePatchJobRequest()]; | ||
| 24 | |||
| 25 | declare 'GetPatchJobRequest', | ||
| 26 | as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchJobs::GetPatchJobRequest']; | ||
| 27 | |||
| 28 | coerce 'GetPatchJobRequest', | ||
| 29 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchJobs::GetPatchJobRequest'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedGetPatchJobRequest', | ||
| 32 | as ArrayRef[GetPatchJobRequest()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedGetPatchJobRequest', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchJobs::GetPatchJobRequest'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringGetPatchJobRequest', | ||
| 38 | as HashRef[GetPatchJobRequest()]; | ||
| 39 | |||
| 40 | declare 'ListPatchJobInstanceDetailsRequest', | ||
| 41 | as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchJobs::ListPatchJobInstanceDetailsRequest']; | ||
| 42 | |||
| 43 | coerce 'ListPatchJobInstanceDetailsRequest', | ||
| 44 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchJobs::ListPatchJobInstanceDetailsRequest'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedListPatchJobInstanceDetailsRequest', | ||
| 47 | as ArrayRef[ListPatchJobInstanceDetailsRequest()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedListPatchJobInstanceDetailsRequest', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchJobs::ListPatchJobInstanceDetailsRequest'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringListPatchJobInstanceDetailsRequest', | ||
| 53 | as HashRef[ListPatchJobInstanceDetailsRequest()]; | ||
| 54 | |||
| 55 | declare 'ListPatchJobInstanceDetailsResponse', | ||
| 56 | as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchJobs::ListPatchJobInstanceDetailsResponse']; | ||
| 57 | |||
| 58 | coerce 'ListPatchJobInstanceDetailsResponse', | ||
| 59 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchJobs::ListPatchJobInstanceDetailsResponse'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedListPatchJobInstanceDetailsResponse', | ||
| 62 | as ArrayRef[ListPatchJobInstanceDetailsResponse()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedListPatchJobInstanceDetailsResponse', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchJobs::ListPatchJobInstanceDetailsResponse'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringListPatchJobInstanceDetailsResponse', | ||
| 68 | as HashRef[ListPatchJobInstanceDetailsResponse()]; | ||
| 69 | |||
| 70 | declare 'PatchJobInstanceDetails', | ||
| 71 | as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchJobs::PatchJobInstanceDetails']; | ||
| 72 | |||
| 73 | coerce 'PatchJobInstanceDetails', | ||
| 74 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchJobs::PatchJobInstanceDetails'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedPatchJobInstanceDetails', | ||
| 77 | as ArrayRef[PatchJobInstanceDetails()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedPatchJobInstanceDetails', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchJobs::PatchJobInstanceDetails'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringPatchJobInstanceDetails', | ||
| 83 | as HashRef[PatchJobInstanceDetails()]; | ||
| 84 | |||
| 85 | declare 'ListPatchJobsRequest', | ||
| 86 | as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchJobs::ListPatchJobsRequest']; | ||
| 87 | |||
| 88 | coerce 'ListPatchJobsRequest', | ||
| 89 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchJobs::ListPatchJobsRequest'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedListPatchJobsRequest', | ||
| 92 | as ArrayRef[ListPatchJobsRequest()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedListPatchJobsRequest', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchJobs::ListPatchJobsRequest'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringListPatchJobsRequest', | ||
| 98 | as HashRef[ListPatchJobsRequest()]; | ||
| 99 | |||
| 100 | declare 'ListPatchJobsResponse', | ||
| 101 | as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchJobs::ListPatchJobsResponse']; | ||
| 102 | |||
| 103 | coerce 'ListPatchJobsResponse', | ||
| 104 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchJobs::ListPatchJobsResponse'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedListPatchJobsResponse', | ||
| 107 | as ArrayRef[ListPatchJobsResponse()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedListPatchJobsResponse', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchJobs::ListPatchJobsResponse'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringListPatchJobsResponse', | ||
| 113 | as HashRef[ListPatchJobsResponse()]; | ||
| 114 | |||
| 115 | declare 'PatchJob', | ||
| 116 | as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchJobs::PatchJob']; | ||
| 117 | |||
| 118 | coerce 'PatchJob', | ||
| 119 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchJobs::PatchJob'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedPatchJob', | ||
| 122 | as ArrayRef[PatchJob()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedPatchJob', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchJobs::PatchJob'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringPatchJob', | ||
| 128 | as HashRef[PatchJob()]; | ||
| 129 | |||
| 130 | declare 'State', | ||
| 131 | as (Int | Str); | ||
| 132 | |||
| 133 | declare 'InstanceDetailsSummary', | ||
| 134 | as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchJobs::PatchJob::InstanceDetailsSummary']; | ||
| 135 | |||
| 136 | coerce 'InstanceDetailsSummary', | ||
| 137 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchJobs::PatchJob::InstanceDetailsSummary'->new($_) }; | ||
| 138 | |||
| 139 | declare 'RepeatedInstanceDetailsSummary', | ||
| 140 | as ArrayRef[InstanceDetailsSummary()]; | ||
| 141 | |||
| 142 | coerce 'RepeatedInstanceDetailsSummary', | ||
| 143 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchJobs::PatchJob::InstanceDetailsSummary'->new($_) } @$_ ] }; | ||
| 144 | |||
| 145 | declare 'MapStringInstanceDetailsSummary', | ||
| 146 | as HashRef[InstanceDetailsSummary()]; | ||
| 147 | |||
| 148 | declare 'PatchConfig', | ||
| 149 | as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchJobs::PatchConfig']; | ||
| 150 | |||
| 151 | coerce 'PatchConfig', | ||
| 152 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchJobs::PatchConfig'->new($_) }; | ||
| 153 | |||
| 154 | declare 'RepeatedPatchConfig', | ||
| 155 | as ArrayRef[PatchConfig()]; | ||
| 156 | |||
| 157 | coerce 'RepeatedPatchConfig', | ||
| 158 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchJobs::PatchConfig'->new($_) } @$_ ] }; | ||
| 159 | |||
| 160 | declare 'MapStringPatchConfig', | ||
| 161 | as HashRef[PatchConfig()]; | ||
| 162 | |||
| 163 | declare 'RebootConfig', | ||
| 164 | as (Int | Str); | ||
| 165 | |||
| 166 | declare 'Instance', | ||
| 167 | as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchJobs::Instance']; | ||
| 168 | |||
| 169 | coerce 'Instance', | ||
| 170 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchJobs::Instance'->new($_) }; | ||
| 171 | |||
| 172 | declare 'RepeatedInstance', | ||
| 173 | as ArrayRef[Instance()]; | ||
| 174 | |||
| 175 | coerce 'RepeatedInstance', | ||
| 176 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchJobs::Instance'->new($_) } @$_ ] }; | ||
| 177 | |||
| 178 | declare 'MapStringInstance', | ||
| 179 | as HashRef[Instance()]; | ||
| 180 | |||
| 181 | declare 'PatchState', | ||
| 182 | as (Int | Str); | ||
| 183 | |||
| 184 | declare 'CancelPatchJobRequest', | ||
| 185 | as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchJobs::CancelPatchJobRequest']; | ||
| 186 | |||
| 187 | coerce 'CancelPatchJobRequest', | ||
| 188 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchJobs::CancelPatchJobRequest'->new($_) }; | ||
| 189 | |||
| 190 | declare 'RepeatedCancelPatchJobRequest', | ||
| 191 | as ArrayRef[CancelPatchJobRequest()]; | ||
| 192 | |||
| 193 | coerce 'RepeatedCancelPatchJobRequest', | ||
| 194 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchJobs::CancelPatchJobRequest'->new($_) } @$_ ] }; | ||
| 195 | |||
| 196 | declare 'MapStringCancelPatchJobRequest', | ||
| 197 | as HashRef[CancelPatchJobRequest()]; | ||
| 198 | |||
| 199 | declare 'AptSettings', | ||
| 200 | as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchJobs::AptSettings']; | ||
| 201 | |||
| 202 | coerce 'AptSettings', | ||
| 203 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchJobs::AptSettings'->new($_) }; | ||
| 204 | |||
| 205 | declare 'RepeatedAptSettings', | ||
| 206 | as ArrayRef[AptSettings()]; | ||
| 207 | |||
| 208 | coerce 'RepeatedAptSettings', | ||
| 209 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchJobs::AptSettings'->new($_) } @$_ ] }; | ||
| 210 | |||
| 211 | declare 'MapStringAptSettings', | ||
| 212 | as HashRef[AptSettings()]; | ||
| 213 | |||
| 214 | declare 'Type', | ||
| 215 | as (Int | Str); | ||
| 216 | |||
| 217 | declare 'YumSettings', | ||
| 218 | as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchJobs::YumSettings']; | ||
| 219 | |||
| 220 | coerce 'YumSettings', | ||
| 221 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchJobs::YumSettings'->new($_) }; | ||
| 222 | |||
| 223 | declare 'RepeatedYumSettings', | ||
| 224 | as ArrayRef[YumSettings()]; | ||
| 225 | |||
| 226 | coerce 'RepeatedYumSettings', | ||
| 227 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchJobs::YumSettings'->new($_) } @$_ ] }; | ||
| 228 | |||
| 229 | declare 'MapStringYumSettings', | ||
| 230 | as HashRef[YumSettings()]; | ||
| 231 | |||
| 232 | declare 'GooSettings', | ||
| 233 | as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchJobs::GooSettings']; | ||
| 234 | |||
| 235 | coerce 'GooSettings', | ||
| 236 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchJobs::GooSettings'->new($_) }; | ||
| 237 | |||
| 238 | declare 'RepeatedGooSettings', | ||
| 239 | as ArrayRef[GooSettings()]; | ||
| 240 | |||
| 241 | coerce 'RepeatedGooSettings', | ||
| 242 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchJobs::GooSettings'->new($_) } @$_ ] }; | ||
| 243 | |||
| 244 | declare 'MapStringGooSettings', | ||
| 245 | as HashRef[GooSettings()]; | ||
| 246 | |||
| 247 | declare 'ZypperSettings', | ||
| 248 | as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchJobs::ZypperSettings']; | ||
| 249 | |||
| 250 | coerce 'ZypperSettings', | ||
| 251 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchJobs::ZypperSettings'->new($_) }; | ||
| 252 | |||
| 253 | declare 'RepeatedZypperSettings', | ||
| 254 | as ArrayRef[ZypperSettings()]; | ||
| 255 | |||
| 256 | coerce 'RepeatedZypperSettings', | ||
| 257 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchJobs::ZypperSettings'->new($_) } @$_ ] }; | ||
| 258 | |||
| 259 | declare 'MapStringZypperSettings', | ||
| 260 | as HashRef[ZypperSettings()]; | ||
| 261 | |||
| 262 | declare 'WindowsUpdateSettings', | ||
| 263 | as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchJobs::WindowsUpdateSettings']; | ||
| 264 | |||
| 265 | coerce 'WindowsUpdateSettings', | ||
| 266 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchJobs::WindowsUpdateSettings'->new($_) }; | ||
| 267 | |||
| 268 | declare 'RepeatedWindowsUpdateSettings', | ||
| 269 | as ArrayRef[WindowsUpdateSettings()]; | ||
| 270 | |||
| 271 | coerce 'RepeatedWindowsUpdateSettings', | ||
| 272 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchJobs::WindowsUpdateSettings'->new($_) } @$_ ] }; | ||
| 273 | |||
| 274 | declare 'MapStringWindowsUpdateSettings', | ||
| 275 | as HashRef[WindowsUpdateSettings()]; | ||
| 276 | |||
| 277 | declare 'Classification', | ||
| 278 | as (Int | Str); | ||
| 279 | |||
| 280 | declare 'ExecStep', | ||
| 281 | as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchJobs::ExecStep']; | ||
| 282 | |||
| 283 | coerce 'ExecStep', | ||
| 284 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchJobs::ExecStep'->new($_) }; | ||
| 285 | |||
| 286 | declare 'RepeatedExecStep', | ||
| 287 | as ArrayRef[ExecStep()]; | ||
| 288 | |||
| 289 | coerce 'RepeatedExecStep', | ||
| 290 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchJobs::ExecStep'->new($_) } @$_ ] }; | ||
| 291 | |||
| 292 | declare 'MapStringExecStep', | ||
| 293 | as HashRef[ExecStep()]; | ||
| 294 | |||
| 295 | declare 'ExecStepConfig', | ||
| 296 | as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchJobs::ExecStepConfig']; | ||
| 297 | |||
| 298 | coerce 'ExecStepConfig', | ||
| 299 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchJobs::ExecStepConfig'->new($_) }; | ||
| 300 | |||
| 301 | declare 'RepeatedExecStepConfig', | ||
| 302 | as ArrayRef[ExecStepConfig()]; | ||
| 303 | |||
| 304 | coerce 'RepeatedExecStepConfig', | ||
| 305 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchJobs::ExecStepConfig'->new($_) } @$_ ] }; | ||
| 306 | |||
| 307 | declare 'MapStringExecStepConfig', | ||
| 308 | as HashRef[ExecStepConfig()]; | ||
| 309 | |||
| 310 | declare 'Interpreter', | ||
| 311 | as (Int | Str); | ||
| 312 | |||
| 313 | declare 'GcsObject', | ||
| 314 | as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchJobs::GcsObject']; | ||
| 315 | |||
| 316 | coerce 'GcsObject', | ||
| 317 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchJobs::GcsObject'->new($_) }; | ||
| 318 | |||
| 319 | declare 'RepeatedGcsObject', | ||
| 320 | as ArrayRef[GcsObject()]; | ||
| 321 | |||
| 322 | coerce 'RepeatedGcsObject', | ||
| 323 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchJobs::GcsObject'->new($_) } @$_ ] }; | ||
| 324 | |||
| 325 | declare 'MapStringGcsObject', | ||
| 326 | as HashRef[GcsObject()]; | ||
| 327 | |||
| 328 | declare 'PatchInstanceFilter', | ||
| 329 | as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchJobs::PatchInstanceFilter']; | ||
| 330 | |||
| 331 | coerce 'PatchInstanceFilter', | ||
| 332 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchJobs::PatchInstanceFilter'->new($_) }; | ||
| 333 | |||
| 334 | declare 'RepeatedPatchInstanceFilter', | ||
| 335 | as ArrayRef[PatchInstanceFilter()]; | ||
| 336 | |||
| 337 | coerce 'RepeatedPatchInstanceFilter', | ||
| 338 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchJobs::PatchInstanceFilter'->new($_) } @$_ ] }; | ||
| 339 | |||
| 340 | declare 'MapStringPatchInstanceFilter', | ||
| 341 | as HashRef[PatchInstanceFilter()]; | ||
| 342 | |||
| 343 | declare 'GroupLabel', | ||
| 344 | as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchJobs::PatchInstanceFilter::GroupLabel']; | ||
| 345 | |||
| 346 | coerce 'GroupLabel', | ||
| 347 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchJobs::PatchInstanceFilter::GroupLabel'->new($_) }; | ||
| 348 | |||
| 349 | declare 'RepeatedGroupLabel', | ||
| 350 | as ArrayRef[GroupLabel()]; | ||
| 351 | |||
| 352 | coerce 'RepeatedGroupLabel', | ||
| 353 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchJobs::PatchInstanceFilter::GroupLabel'->new($_) } @$_ ] }; | ||
| 354 | |||
| 355 | declare 'MapStringGroupLabel', | ||
| 356 | as HashRef[GroupLabel()]; | ||
| 357 | |||
| 358 | declare 'LabelsEntry', | ||
| 359 | as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchJobs::PatchInstanceFilter::GroupLabel::LabelsEntry']; | ||
| 360 | |||
| 361 | coerce 'LabelsEntry', | ||
| 362 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchJobs::PatchInstanceFilter::GroupLabel::LabelsEntry'->new($_) }; | ||
| 363 | |||
| 364 | declare 'RepeatedLabelsEntry', | ||
| 365 | as ArrayRef[LabelsEntry()]; | ||
| 366 | |||
| 367 | coerce 'RepeatedLabelsEntry', | ||
| 368 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchJobs::PatchInstanceFilter::GroupLabel::LabelsEntry'->new($_) } @$_ ] }; | ||
| 369 | |||
| 370 | declare 'MapStringLabelsEntry', | ||
| 371 | as HashRef[LabelsEntry()]; | ||
| 372 | |||
| 373 | declare 'PatchRollout', | ||
| 374 | as InstanceOf['Google::Cloud::Osconfig::V1beta::PatchJobs::PatchRollout']; | ||
| 375 | |||
| 376 | coerce 'PatchRollout', | ||
| 377 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::PatchJobs::PatchRollout'->new($_) }; | ||
| 378 | |||
| 379 | declare 'RepeatedPatchRollout', | ||
| 380 | as ArrayRef[PatchRollout()]; | ||
| 381 | |||
| 382 | coerce 'RepeatedPatchRollout', | ||
| 383 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::PatchJobs::PatchRollout'->new($_) } @$_ ] }; | ||
| 384 | |||
| 385 | declare 'MapStringPatchRollout', | ||
| 386 | as HashRef[PatchRollout()]; | ||
| 387 | |||
| 388 | declare 'Mode', | ||
| 389 | as (Int | Str); | ||
| 390 | |||
| 391 | 1; | ||
| 392 | |||
| 393 | __END__ |