| 1 | package Google::Cloud::Osconfig::V1beta::GuestPolicies::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 'DesiredState', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'GuestPolicy', | ||
| 14 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::GuestPolicy']; | ||
| 15 | |||
| 16 | coerce 'GuestPolicy', | ||
| 17 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::GuestPolicy'->new($_) }; | ||
| 18 | |||
| 19 | declare 'RepeatedGuestPolicy', | ||
| 20 | as ArrayRef[GuestPolicy()]; | ||
| 21 | |||
| 22 | coerce 'RepeatedGuestPolicy', | ||
| 23 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::GuestPolicy'->new($_) } @$_ ] }; | ||
| 24 | |||
| 25 | declare 'MapStringGuestPolicy', | ||
| 26 | as HashRef[GuestPolicy()]; | ||
| 27 | |||
| 28 | declare 'Assignment', | ||
| 29 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::Assignment']; | ||
| 30 | |||
| 31 | coerce 'Assignment', | ||
| 32 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::Assignment'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedAssignment', | ||
| 35 | as ArrayRef[Assignment()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedAssignment', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::Assignment'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringAssignment', | ||
| 41 | as HashRef[Assignment()]; | ||
| 42 | |||
| 43 | declare 'GroupLabel', | ||
| 44 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::Assignment::GroupLabel']; | ||
| 45 | |||
| 46 | coerce 'GroupLabel', | ||
| 47 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::Assignment::GroupLabel'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedGroupLabel', | ||
| 50 | as ArrayRef[GroupLabel()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedGroupLabel', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::Assignment::GroupLabel'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringGroupLabel', | ||
| 56 | as HashRef[GroupLabel()]; | ||
| 57 | |||
| 58 | declare 'LabelsEntry', | ||
| 59 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::Assignment::GroupLabel::LabelsEntry']; | ||
| 60 | |||
| 61 | coerce 'LabelsEntry', | ||
| 62 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::Assignment::GroupLabel::LabelsEntry'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedLabelsEntry', | ||
| 65 | as ArrayRef[LabelsEntry()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedLabelsEntry', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::Assignment::GroupLabel::LabelsEntry'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringLabelsEntry', | ||
| 71 | as HashRef[LabelsEntry()]; | ||
| 72 | |||
| 73 | declare 'OsType', | ||
| 74 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::Assignment::OsType']; | ||
| 75 | |||
| 76 | coerce 'OsType', | ||
| 77 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::Assignment::OsType'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedOsType', | ||
| 80 | as ArrayRef[OsType()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedOsType', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::Assignment::OsType'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringOsType', | ||
| 86 | as HashRef[OsType()]; | ||
| 87 | |||
| 88 | declare 'Package', | ||
| 89 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::Package']; | ||
| 90 | |||
| 91 | coerce 'Package', | ||
| 92 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::Package'->new($_) }; | ||
| 93 | |||
| 94 | declare 'RepeatedPackage', | ||
| 95 | as ArrayRef[Package()]; | ||
| 96 | |||
| 97 | coerce 'RepeatedPackage', | ||
| 98 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::Package'->new($_) } @$_ ] }; | ||
| 99 | |||
| 100 | declare 'MapStringPackage', | ||
| 101 | as HashRef[Package()]; | ||
| 102 | |||
| 103 | declare 'Manager', | ||
| 104 | as (Int | Str); | ||
| 105 | |||
| 106 | declare 'AptRepository', | ||
| 107 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::AptRepository']; | ||
| 108 | |||
| 109 | coerce 'AptRepository', | ||
| 110 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::AptRepository'->new($_) }; | ||
| 111 | |||
| 112 | declare 'RepeatedAptRepository', | ||
| 113 | as ArrayRef[AptRepository()]; | ||
| 114 | |||
| 115 | coerce 'RepeatedAptRepository', | ||
| 116 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::AptRepository'->new($_) } @$_ ] }; | ||
| 117 | |||
| 118 | declare 'MapStringAptRepository', | ||
| 119 | as HashRef[AptRepository()]; | ||
| 120 | |||
| 121 | declare 'ArchiveType', | ||
| 122 | as (Int | Str); | ||
| 123 | |||
| 124 | declare 'YumRepository', | ||
| 125 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::YumRepository']; | ||
| 126 | |||
| 127 | coerce 'YumRepository', | ||
| 128 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::YumRepository'->new($_) }; | ||
| 129 | |||
| 130 | declare 'RepeatedYumRepository', | ||
| 131 | as ArrayRef[YumRepository()]; | ||
| 132 | |||
| 133 | coerce 'RepeatedYumRepository', | ||
| 134 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::YumRepository'->new($_) } @$_ ] }; | ||
| 135 | |||
| 136 | declare 'MapStringYumRepository', | ||
| 137 | as HashRef[YumRepository()]; | ||
| 138 | |||
| 139 | declare 'ZypperRepository', | ||
| 140 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::ZypperRepository']; | ||
| 141 | |||
| 142 | coerce 'ZypperRepository', | ||
| 143 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::ZypperRepository'->new($_) }; | ||
| 144 | |||
| 145 | declare 'RepeatedZypperRepository', | ||
| 146 | as ArrayRef[ZypperRepository()]; | ||
| 147 | |||
| 148 | coerce 'RepeatedZypperRepository', | ||
| 149 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::ZypperRepository'->new($_) } @$_ ] }; | ||
| 150 | |||
| 151 | declare 'MapStringZypperRepository', | ||
| 152 | as HashRef[ZypperRepository()]; | ||
| 153 | |||
| 154 | declare 'GooRepository', | ||
| 155 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::GooRepository']; | ||
| 156 | |||
| 157 | coerce 'GooRepository', | ||
| 158 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::GooRepository'->new($_) }; | ||
| 159 | |||
| 160 | declare 'RepeatedGooRepository', | ||
| 161 | as ArrayRef[GooRepository()]; | ||
| 162 | |||
| 163 | coerce 'RepeatedGooRepository', | ||
| 164 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::GooRepository'->new($_) } @$_ ] }; | ||
| 165 | |||
| 166 | declare 'MapStringGooRepository', | ||
| 167 | as HashRef[GooRepository()]; | ||
| 168 | |||
| 169 | declare 'PackageRepository', | ||
| 170 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::PackageRepository']; | ||
| 171 | |||
| 172 | coerce 'PackageRepository', | ||
| 173 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::PackageRepository'->new($_) }; | ||
| 174 | |||
| 175 | declare 'RepeatedPackageRepository', | ||
| 176 | as ArrayRef[PackageRepository()]; | ||
| 177 | |||
| 178 | coerce 'RepeatedPackageRepository', | ||
| 179 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::PackageRepository'->new($_) } @$_ ] }; | ||
| 180 | |||
| 181 | declare 'MapStringPackageRepository', | ||
| 182 | as HashRef[PackageRepository()]; | ||
| 183 | |||
| 184 | declare 'SoftwareRecipe', | ||
| 185 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe']; | ||
| 186 | |||
| 187 | coerce 'SoftwareRecipe', | ||
| 188 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe'->new($_) }; | ||
| 189 | |||
| 190 | declare 'RepeatedSoftwareRecipe', | ||
| 191 | as ArrayRef[SoftwareRecipe()]; | ||
| 192 | |||
| 193 | coerce 'RepeatedSoftwareRecipe', | ||
| 194 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe'->new($_) } @$_ ] }; | ||
| 195 | |||
| 196 | declare 'MapStringSoftwareRecipe', | ||
| 197 | as HashRef[SoftwareRecipe()]; | ||
| 198 | |||
| 199 | declare 'Artifact', | ||
| 200 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Artifact']; | ||
| 201 | |||
| 202 | coerce 'Artifact', | ||
| 203 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Artifact'->new($_) }; | ||
| 204 | |||
| 205 | declare 'RepeatedArtifact', | ||
| 206 | as ArrayRef[Artifact()]; | ||
| 207 | |||
| 208 | coerce 'RepeatedArtifact', | ||
| 209 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Artifact'->new($_) } @$_ ] }; | ||
| 210 | |||
| 211 | declare 'MapStringArtifact', | ||
| 212 | as HashRef[Artifact()]; | ||
| 213 | |||
| 214 | declare 'Remote', | ||
| 215 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Artifact::Remote']; | ||
| 216 | |||
| 217 | coerce 'Remote', | ||
| 218 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Artifact::Remote'->new($_) }; | ||
| 219 | |||
| 220 | declare 'RepeatedRemote', | ||
| 221 | as ArrayRef[Remote()]; | ||
| 222 | |||
| 223 | coerce 'RepeatedRemote', | ||
| 224 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Artifact::Remote'->new($_) } @$_ ] }; | ||
| 225 | |||
| 226 | declare 'MapStringRemote', | ||
| 227 | as HashRef[Remote()]; | ||
| 228 | |||
| 229 | declare 'Gcs', | ||
| 230 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Artifact::Gcs']; | ||
| 231 | |||
| 232 | coerce 'Gcs', | ||
| 233 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Artifact::Gcs'->new($_) }; | ||
| 234 | |||
| 235 | declare 'RepeatedGcs', | ||
| 236 | as ArrayRef[Gcs()]; | ||
| 237 | |||
| 238 | coerce 'RepeatedGcs', | ||
| 239 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Artifact::Gcs'->new($_) } @$_ ] }; | ||
| 240 | |||
| 241 | declare 'MapStringGcs', | ||
| 242 | as HashRef[Gcs()]; | ||
| 243 | |||
| 244 | declare 'Step', | ||
| 245 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Step']; | ||
| 246 | |||
| 247 | coerce 'Step', | ||
| 248 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Step'->new($_) }; | ||
| 249 | |||
| 250 | declare 'RepeatedStep', | ||
| 251 | as ArrayRef[Step()]; | ||
| 252 | |||
| 253 | coerce 'RepeatedStep', | ||
| 254 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Step'->new($_) } @$_ ] }; | ||
| 255 | |||
| 256 | declare 'MapStringStep', | ||
| 257 | as HashRef[Step()]; | ||
| 258 | |||
| 259 | declare 'CopyFile', | ||
| 260 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Step::CopyFile']; | ||
| 261 | |||
| 262 | coerce 'CopyFile', | ||
| 263 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Step::CopyFile'->new($_) }; | ||
| 264 | |||
| 265 | declare 'RepeatedCopyFile', | ||
| 266 | as ArrayRef[CopyFile()]; | ||
| 267 | |||
| 268 | coerce 'RepeatedCopyFile', | ||
| 269 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Step::CopyFile'->new($_) } @$_ ] }; | ||
| 270 | |||
| 271 | declare 'MapStringCopyFile', | ||
| 272 | as HashRef[CopyFile()]; | ||
| 273 | |||
| 274 | declare 'ExtractArchive', | ||
| 275 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Step::ExtractArchive']; | ||
| 276 | |||
| 277 | coerce 'ExtractArchive', | ||
| 278 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Step::ExtractArchive'->new($_) }; | ||
| 279 | |||
| 280 | declare 'RepeatedExtractArchive', | ||
| 281 | as ArrayRef[ExtractArchive()]; | ||
| 282 | |||
| 283 | coerce 'RepeatedExtractArchive', | ||
| 284 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Step::ExtractArchive'->new($_) } @$_ ] }; | ||
| 285 | |||
| 286 | declare 'MapStringExtractArchive', | ||
| 287 | as HashRef[ExtractArchive()]; | ||
| 288 | |||
| 289 | declare 'ArchiveType', | ||
| 290 | as (Int | Str); | ||
| 291 | |||
| 292 | declare 'InstallMsi', | ||
| 293 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Step::InstallMsi']; | ||
| 294 | |||
| 295 | coerce 'InstallMsi', | ||
| 296 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Step::InstallMsi'->new($_) }; | ||
| 297 | |||
| 298 | declare 'RepeatedInstallMsi', | ||
| 299 | as ArrayRef[InstallMsi()]; | ||
| 300 | |||
| 301 | coerce 'RepeatedInstallMsi', | ||
| 302 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Step::InstallMsi'->new($_) } @$_ ] }; | ||
| 303 | |||
| 304 | declare 'MapStringInstallMsi', | ||
| 305 | as HashRef[InstallMsi()]; | ||
| 306 | |||
| 307 | declare 'InstallDpkg', | ||
| 308 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Step::InstallDpkg']; | ||
| 309 | |||
| 310 | coerce 'InstallDpkg', | ||
| 311 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Step::InstallDpkg'->new($_) }; | ||
| 312 | |||
| 313 | declare 'RepeatedInstallDpkg', | ||
| 314 | as ArrayRef[InstallDpkg()]; | ||
| 315 | |||
| 316 | coerce 'RepeatedInstallDpkg', | ||
| 317 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Step::InstallDpkg'->new($_) } @$_ ] }; | ||
| 318 | |||
| 319 | declare 'MapStringInstallDpkg', | ||
| 320 | as HashRef[InstallDpkg()]; | ||
| 321 | |||
| 322 | declare 'InstallRpm', | ||
| 323 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Step::InstallRpm']; | ||
| 324 | |||
| 325 | coerce 'InstallRpm', | ||
| 326 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Step::InstallRpm'->new($_) }; | ||
| 327 | |||
| 328 | declare 'RepeatedInstallRpm', | ||
| 329 | as ArrayRef[InstallRpm()]; | ||
| 330 | |||
| 331 | coerce 'RepeatedInstallRpm', | ||
| 332 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Step::InstallRpm'->new($_) } @$_ ] }; | ||
| 333 | |||
| 334 | declare 'MapStringInstallRpm', | ||
| 335 | as HashRef[InstallRpm()]; | ||
| 336 | |||
| 337 | declare 'ExecFile', | ||
| 338 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Step::ExecFile']; | ||
| 339 | |||
| 340 | coerce 'ExecFile', | ||
| 341 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Step::ExecFile'->new($_) }; | ||
| 342 | |||
| 343 | declare 'RepeatedExecFile', | ||
| 344 | as ArrayRef[ExecFile()]; | ||
| 345 | |||
| 346 | coerce 'RepeatedExecFile', | ||
| 347 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Step::ExecFile'->new($_) } @$_ ] }; | ||
| 348 | |||
| 349 | declare 'MapStringExecFile', | ||
| 350 | as HashRef[ExecFile()]; | ||
| 351 | |||
| 352 | declare 'RunScript', | ||
| 353 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Step::RunScript']; | ||
| 354 | |||
| 355 | coerce 'RunScript', | ||
| 356 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Step::RunScript'->new($_) }; | ||
| 357 | |||
| 358 | declare 'RepeatedRunScript', | ||
| 359 | as ArrayRef[RunScript()]; | ||
| 360 | |||
| 361 | coerce 'RepeatedRunScript', | ||
| 362 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::SoftwareRecipe::Step::RunScript'->new($_) } @$_ ] }; | ||
| 363 | |||
| 364 | declare 'MapStringRunScript', | ||
| 365 | as HashRef[RunScript()]; | ||
| 366 | |||
| 367 | declare 'Interpreter', | ||
| 368 | as (Int | Str); | ||
| 369 | |||
| 370 | declare 'CreateGuestPolicyRequest', | ||
| 371 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::CreateGuestPolicyRequest']; | ||
| 372 | |||
| 373 | coerce 'CreateGuestPolicyRequest', | ||
| 374 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::CreateGuestPolicyRequest'->new($_) }; | ||
| 375 | |||
| 376 | declare 'RepeatedCreateGuestPolicyRequest', | ||
| 377 | as ArrayRef[CreateGuestPolicyRequest()]; | ||
| 378 | |||
| 379 | coerce 'RepeatedCreateGuestPolicyRequest', | ||
| 380 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::CreateGuestPolicyRequest'->new($_) } @$_ ] }; | ||
| 381 | |||
| 382 | declare 'MapStringCreateGuestPolicyRequest', | ||
| 383 | as HashRef[CreateGuestPolicyRequest()]; | ||
| 384 | |||
| 385 | declare 'GetGuestPolicyRequest', | ||
| 386 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::GetGuestPolicyRequest']; | ||
| 387 | |||
| 388 | coerce 'GetGuestPolicyRequest', | ||
| 389 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::GetGuestPolicyRequest'->new($_) }; | ||
| 390 | |||
| 391 | declare 'RepeatedGetGuestPolicyRequest', | ||
| 392 | as ArrayRef[GetGuestPolicyRequest()]; | ||
| 393 | |||
| 394 | coerce 'RepeatedGetGuestPolicyRequest', | ||
| 395 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::GetGuestPolicyRequest'->new($_) } @$_ ] }; | ||
| 396 | |||
| 397 | declare 'MapStringGetGuestPolicyRequest', | ||
| 398 | as HashRef[GetGuestPolicyRequest()]; | ||
| 399 | |||
| 400 | declare 'ListGuestPoliciesRequest', | ||
| 401 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::ListGuestPoliciesRequest']; | ||
| 402 | |||
| 403 | coerce 'ListGuestPoliciesRequest', | ||
| 404 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::ListGuestPoliciesRequest'->new($_) }; | ||
| 405 | |||
| 406 | declare 'RepeatedListGuestPoliciesRequest', | ||
| 407 | as ArrayRef[ListGuestPoliciesRequest()]; | ||
| 408 | |||
| 409 | coerce 'RepeatedListGuestPoliciesRequest', | ||
| 410 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::ListGuestPoliciesRequest'->new($_) } @$_ ] }; | ||
| 411 | |||
| 412 | declare 'MapStringListGuestPoliciesRequest', | ||
| 413 | as HashRef[ListGuestPoliciesRequest()]; | ||
| 414 | |||
| 415 | declare 'ListGuestPoliciesResponse', | ||
| 416 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::ListGuestPoliciesResponse']; | ||
| 417 | |||
| 418 | coerce 'ListGuestPoliciesResponse', | ||
| 419 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::ListGuestPoliciesResponse'->new($_) }; | ||
| 420 | |||
| 421 | declare 'RepeatedListGuestPoliciesResponse', | ||
| 422 | as ArrayRef[ListGuestPoliciesResponse()]; | ||
| 423 | |||
| 424 | coerce 'RepeatedListGuestPoliciesResponse', | ||
| 425 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::ListGuestPoliciesResponse'->new($_) } @$_ ] }; | ||
| 426 | |||
| 427 | declare 'MapStringListGuestPoliciesResponse', | ||
| 428 | as HashRef[ListGuestPoliciesResponse()]; | ||
| 429 | |||
| 430 | declare 'UpdateGuestPolicyRequest', | ||
| 431 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::UpdateGuestPolicyRequest']; | ||
| 432 | |||
| 433 | coerce 'UpdateGuestPolicyRequest', | ||
| 434 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::UpdateGuestPolicyRequest'->new($_) }; | ||
| 435 | |||
| 436 | declare 'RepeatedUpdateGuestPolicyRequest', | ||
| 437 | as ArrayRef[UpdateGuestPolicyRequest()]; | ||
| 438 | |||
| 439 | coerce 'RepeatedUpdateGuestPolicyRequest', | ||
| 440 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::UpdateGuestPolicyRequest'->new($_) } @$_ ] }; | ||
| 441 | |||
| 442 | declare 'MapStringUpdateGuestPolicyRequest', | ||
| 443 | as HashRef[UpdateGuestPolicyRequest()]; | ||
| 444 | |||
| 445 | declare 'DeleteGuestPolicyRequest', | ||
| 446 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::DeleteGuestPolicyRequest']; | ||
| 447 | |||
| 448 | coerce 'DeleteGuestPolicyRequest', | ||
| 449 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::DeleteGuestPolicyRequest'->new($_) }; | ||
| 450 | |||
| 451 | declare 'RepeatedDeleteGuestPolicyRequest', | ||
| 452 | as ArrayRef[DeleteGuestPolicyRequest()]; | ||
| 453 | |||
| 454 | coerce 'RepeatedDeleteGuestPolicyRequest', | ||
| 455 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::DeleteGuestPolicyRequest'->new($_) } @$_ ] }; | ||
| 456 | |||
| 457 | declare 'MapStringDeleteGuestPolicyRequest', | ||
| 458 | as HashRef[DeleteGuestPolicyRequest()]; | ||
| 459 | |||
| 460 | declare 'LookupEffectiveGuestPolicyRequest', | ||
| 461 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::LookupEffectiveGuestPolicyRequest']; | ||
| 462 | |||
| 463 | coerce 'LookupEffectiveGuestPolicyRequest', | ||
| 464 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::LookupEffectiveGuestPolicyRequest'->new($_) }; | ||
| 465 | |||
| 466 | declare 'RepeatedLookupEffectiveGuestPolicyRequest', | ||
| 467 | as ArrayRef[LookupEffectiveGuestPolicyRequest()]; | ||
| 468 | |||
| 469 | coerce 'RepeatedLookupEffectiveGuestPolicyRequest', | ||
| 470 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::LookupEffectiveGuestPolicyRequest'->new($_) } @$_ ] }; | ||
| 471 | |||
| 472 | declare 'MapStringLookupEffectiveGuestPolicyRequest', | ||
| 473 | as HashRef[LookupEffectiveGuestPolicyRequest()]; | ||
| 474 | |||
| 475 | declare 'EffectiveGuestPolicy', | ||
| 476 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::EffectiveGuestPolicy']; | ||
| 477 | |||
| 478 | coerce 'EffectiveGuestPolicy', | ||
| 479 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::EffectiveGuestPolicy'->new($_) }; | ||
| 480 | |||
| 481 | declare 'RepeatedEffectiveGuestPolicy', | ||
| 482 | as ArrayRef[EffectiveGuestPolicy()]; | ||
| 483 | |||
| 484 | coerce 'RepeatedEffectiveGuestPolicy', | ||
| 485 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::EffectiveGuestPolicy'->new($_) } @$_ ] }; | ||
| 486 | |||
| 487 | declare 'MapStringEffectiveGuestPolicy', | ||
| 488 | as HashRef[EffectiveGuestPolicy()]; | ||
| 489 | |||
| 490 | declare 'SourcedPackage', | ||
| 491 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::EffectiveGuestPolicy::SourcedPackage']; | ||
| 492 | |||
| 493 | coerce 'SourcedPackage', | ||
| 494 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::EffectiveGuestPolicy::SourcedPackage'->new($_) }; | ||
| 495 | |||
| 496 | declare 'RepeatedSourcedPackage', | ||
| 497 | as ArrayRef[SourcedPackage()]; | ||
| 498 | |||
| 499 | coerce 'RepeatedSourcedPackage', | ||
| 500 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::EffectiveGuestPolicy::SourcedPackage'->new($_) } @$_ ] }; | ||
| 501 | |||
| 502 | declare 'MapStringSourcedPackage', | ||
| 503 | as HashRef[SourcedPackage()]; | ||
| 504 | |||
| 505 | declare 'SourcedPackageRepository', | ||
| 506 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::EffectiveGuestPolicy::SourcedPackageRepository']; | ||
| 507 | |||
| 508 | coerce 'SourcedPackageRepository', | ||
| 509 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::EffectiveGuestPolicy::SourcedPackageRepository'->new($_) }; | ||
| 510 | |||
| 511 | declare 'RepeatedSourcedPackageRepository', | ||
| 512 | as ArrayRef[SourcedPackageRepository()]; | ||
| 513 | |||
| 514 | coerce 'RepeatedSourcedPackageRepository', | ||
| 515 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::EffectiveGuestPolicy::SourcedPackageRepository'->new($_) } @$_ ] }; | ||
| 516 | |||
| 517 | declare 'MapStringSourcedPackageRepository', | ||
| 518 | as HashRef[SourcedPackageRepository()]; | ||
| 519 | |||
| 520 | declare 'SourcedSoftwareRecipe', | ||
| 521 | as InstanceOf['Google::Cloud::Osconfig::V1beta::GuestPolicies::EffectiveGuestPolicy::SourcedSoftwareRecipe']; | ||
| 522 | |||
| 523 | coerce 'SourcedSoftwareRecipe', | ||
| 524 | from HashRef, via { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::EffectiveGuestPolicy::SourcedSoftwareRecipe'->new($_) }; | ||
| 525 | |||
| 526 | declare 'RepeatedSourcedSoftwareRecipe', | ||
| 527 | as ArrayRef[SourcedSoftwareRecipe()]; | ||
| 528 | |||
| 529 | coerce 'RepeatedSourcedSoftwareRecipe', | ||
| 530 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::V1beta::GuestPolicies::EffectiveGuestPolicy::SourcedSoftwareRecipe'->new($_) } @$_ ] }; | ||
| 531 | |||
| 532 | declare 'MapStringSourcedSoftwareRecipe', | ||
| 533 | as HashRef[SourcedSoftwareRecipe()]; | ||
| 534 | |||
| 535 | 1; | ||
| 536 | |||
| 537 | __END__ |