| 1 | package Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::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 'PowerSupply', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'Entity', | ||
| 14 | as (Int | Str); | ||
| 15 | |||
| 16 | declare 'Order', | ||
| 17 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Order']; | ||
| 18 | |||
| 19 | coerce 'Order', | ||
| 20 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Order'->new($_) }; | ||
| 21 | |||
| 22 | declare 'RepeatedOrder', | ||
| 23 | as ArrayRef[Order()]; | ||
| 24 | |||
| 25 | coerce 'RepeatedOrder', | ||
| 26 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Order'->new($_) } @$_ ] }; | ||
| 27 | |||
| 28 | declare 'MapStringOrder', | ||
| 29 | as HashRef[Order()]; | ||
| 30 | |||
| 31 | declare 'State', | ||
| 32 | as (Int | Str); | ||
| 33 | |||
| 34 | declare 'Type', | ||
| 35 | as (Int | Str); | ||
| 36 | |||
| 37 | declare 'DeploymentType', | ||
| 38 | as (Int | Str); | ||
| 39 | |||
| 40 | declare 'LabelsEntry', | ||
| 41 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Order::LabelsEntry']; | ||
| 42 | |||
| 43 | coerce 'LabelsEntry', | ||
| 44 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Order::LabelsEntry'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedLabelsEntry', | ||
| 47 | as ArrayRef[LabelsEntry()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedLabelsEntry', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Order::LabelsEntry'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringLabelsEntry', | ||
| 53 | as HashRef[LabelsEntry()]; | ||
| 54 | |||
| 55 | declare 'Site', | ||
| 56 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Site']; | ||
| 57 | |||
| 58 | coerce 'Site', | ||
| 59 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Site'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedSite', | ||
| 62 | as ArrayRef[Site()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedSite', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Site'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringSite', | ||
| 68 | as HashRef[Site()]; | ||
| 69 | |||
| 70 | declare 'LabelsEntry', | ||
| 71 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Site::LabelsEntry']; | ||
| 72 | |||
| 73 | coerce 'LabelsEntry', | ||
| 74 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Site::LabelsEntry'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedLabelsEntry', | ||
| 77 | as ArrayRef[LabelsEntry()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedLabelsEntry', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Site::LabelsEntry'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringLabelsEntry', | ||
| 83 | as HashRef[LabelsEntry()]; | ||
| 84 | |||
| 85 | declare 'HardwareGroup', | ||
| 86 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::HardwareGroup']; | ||
| 87 | |||
| 88 | coerce 'HardwareGroup', | ||
| 89 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::HardwareGroup'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedHardwareGroup', | ||
| 92 | as ArrayRef[HardwareGroup()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedHardwareGroup', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::HardwareGroup'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringHardwareGroup', | ||
| 98 | as HashRef[HardwareGroup()]; | ||
| 99 | |||
| 100 | declare 'State', | ||
| 101 | as (Int | Str); | ||
| 102 | |||
| 103 | declare 'LabelsEntry', | ||
| 104 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::HardwareGroup::LabelsEntry']; | ||
| 105 | |||
| 106 | coerce 'LabelsEntry', | ||
| 107 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::HardwareGroup::LabelsEntry'->new($_) }; | ||
| 108 | |||
| 109 | declare 'RepeatedLabelsEntry', | ||
| 110 | as ArrayRef[LabelsEntry()]; | ||
| 111 | |||
| 112 | coerce 'RepeatedLabelsEntry', | ||
| 113 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::HardwareGroup::LabelsEntry'->new($_) } @$_ ] }; | ||
| 114 | |||
| 115 | declare 'MapStringLabelsEntry', | ||
| 116 | as HashRef[LabelsEntry()]; | ||
| 117 | |||
| 118 | declare 'Hardware', | ||
| 119 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Hardware']; | ||
| 120 | |||
| 121 | coerce 'Hardware', | ||
| 122 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Hardware'->new($_) }; | ||
| 123 | |||
| 124 | declare 'RepeatedHardware', | ||
| 125 | as ArrayRef[Hardware()]; | ||
| 126 | |||
| 127 | coerce 'RepeatedHardware', | ||
| 128 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Hardware'->new($_) } @$_ ] }; | ||
| 129 | |||
| 130 | declare 'MapStringHardware', | ||
| 131 | as HashRef[Hardware()]; | ||
| 132 | |||
| 133 | declare 'State', | ||
| 134 | as (Int | Str); | ||
| 135 | |||
| 136 | declare 'MacAddress', | ||
| 137 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Hardware::MacAddress']; | ||
| 138 | |||
| 139 | coerce 'MacAddress', | ||
| 140 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Hardware::MacAddress'->new($_) }; | ||
| 141 | |||
| 142 | declare 'RepeatedMacAddress', | ||
| 143 | as ArrayRef[MacAddress()]; | ||
| 144 | |||
| 145 | coerce 'RepeatedMacAddress', | ||
| 146 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Hardware::MacAddress'->new($_) } @$_ ] }; | ||
| 147 | |||
| 148 | declare 'MapStringMacAddress', | ||
| 149 | as HashRef[MacAddress()]; | ||
| 150 | |||
| 151 | declare 'AddressType', | ||
| 152 | as (Int | Str); | ||
| 153 | |||
| 154 | declare 'DiskInfo', | ||
| 155 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Hardware::DiskInfo']; | ||
| 156 | |||
| 157 | coerce 'DiskInfo', | ||
| 158 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Hardware::DiskInfo'->new($_) }; | ||
| 159 | |||
| 160 | declare 'RepeatedDiskInfo', | ||
| 161 | as ArrayRef[DiskInfo()]; | ||
| 162 | |||
| 163 | coerce 'RepeatedDiskInfo', | ||
| 164 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Hardware::DiskInfo'->new($_) } @$_ ] }; | ||
| 165 | |||
| 166 | declare 'MapStringDiskInfo', | ||
| 167 | as HashRef[DiskInfo()]; | ||
| 168 | |||
| 169 | declare 'MachineInfo', | ||
| 170 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Hardware::MachineInfo']; | ||
| 171 | |||
| 172 | coerce 'MachineInfo', | ||
| 173 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Hardware::MachineInfo'->new($_) }; | ||
| 174 | |||
| 175 | declare 'RepeatedMachineInfo', | ||
| 176 | as ArrayRef[MachineInfo()]; | ||
| 177 | |||
| 178 | coerce 'RepeatedMachineInfo', | ||
| 179 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Hardware::MachineInfo'->new($_) } @$_ ] }; | ||
| 180 | |||
| 181 | declare 'MapStringMachineInfo', | ||
| 182 | as HashRef[MachineInfo()]; | ||
| 183 | |||
| 184 | declare 'LabelsEntry', | ||
| 185 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Hardware::LabelsEntry']; | ||
| 186 | |||
| 187 | coerce 'LabelsEntry', | ||
| 188 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Hardware::LabelsEntry'->new($_) }; | ||
| 189 | |||
| 190 | declare 'RepeatedLabelsEntry', | ||
| 191 | as ArrayRef[LabelsEntry()]; | ||
| 192 | |||
| 193 | coerce 'RepeatedLabelsEntry', | ||
| 194 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Hardware::LabelsEntry'->new($_) } @$_ ] }; | ||
| 195 | |||
| 196 | declare 'MapStringLabelsEntry', | ||
| 197 | as HashRef[LabelsEntry()]; | ||
| 198 | |||
| 199 | declare 'Comment', | ||
| 200 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Comment']; | ||
| 201 | |||
| 202 | coerce 'Comment', | ||
| 203 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Comment'->new($_) }; | ||
| 204 | |||
| 205 | declare 'RepeatedComment', | ||
| 206 | as ArrayRef[Comment()]; | ||
| 207 | |||
| 208 | coerce 'RepeatedComment', | ||
| 209 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Comment'->new($_) } @$_ ] }; | ||
| 210 | |||
| 211 | declare 'MapStringComment', | ||
| 212 | as HashRef[Comment()]; | ||
| 213 | |||
| 214 | declare 'LabelsEntry', | ||
| 215 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Comment::LabelsEntry']; | ||
| 216 | |||
| 217 | coerce 'LabelsEntry', | ||
| 218 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Comment::LabelsEntry'->new($_) }; | ||
| 219 | |||
| 220 | declare 'RepeatedLabelsEntry', | ||
| 221 | as ArrayRef[LabelsEntry()]; | ||
| 222 | |||
| 223 | coerce 'RepeatedLabelsEntry', | ||
| 224 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Comment::LabelsEntry'->new($_) } @$_ ] }; | ||
| 225 | |||
| 226 | declare 'MapStringLabelsEntry', | ||
| 227 | as HashRef[LabelsEntry()]; | ||
| 228 | |||
| 229 | declare 'ChangeLogEntry', | ||
| 230 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::ChangeLogEntry']; | ||
| 231 | |||
| 232 | coerce 'ChangeLogEntry', | ||
| 233 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::ChangeLogEntry'->new($_) }; | ||
| 234 | |||
| 235 | declare 'RepeatedChangeLogEntry', | ||
| 236 | as ArrayRef[ChangeLogEntry()]; | ||
| 237 | |||
| 238 | coerce 'RepeatedChangeLogEntry', | ||
| 239 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::ChangeLogEntry'->new($_) } @$_ ] }; | ||
| 240 | |||
| 241 | declare 'MapStringChangeLogEntry', | ||
| 242 | as HashRef[ChangeLogEntry()]; | ||
| 243 | |||
| 244 | declare 'LabelsEntry', | ||
| 245 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::ChangeLogEntry::LabelsEntry']; | ||
| 246 | |||
| 247 | coerce 'LabelsEntry', | ||
| 248 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::ChangeLogEntry::LabelsEntry'->new($_) }; | ||
| 249 | |||
| 250 | declare 'RepeatedLabelsEntry', | ||
| 251 | as ArrayRef[LabelsEntry()]; | ||
| 252 | |||
| 253 | coerce 'RepeatedLabelsEntry', | ||
| 254 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::ChangeLogEntry::LabelsEntry'->new($_) } @$_ ] }; | ||
| 255 | |||
| 256 | declare 'MapStringLabelsEntry', | ||
| 257 | as HashRef[LabelsEntry()]; | ||
| 258 | |||
| 259 | declare 'Sku', | ||
| 260 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Sku']; | ||
| 261 | |||
| 262 | coerce 'Sku', | ||
| 263 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Sku'->new($_) }; | ||
| 264 | |||
| 265 | declare 'RepeatedSku', | ||
| 266 | as ArrayRef[Sku()]; | ||
| 267 | |||
| 268 | coerce 'RepeatedSku', | ||
| 269 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Sku'->new($_) } @$_ ] }; | ||
| 270 | |||
| 271 | declare 'MapStringSku', | ||
| 272 | as HashRef[Sku()]; | ||
| 273 | |||
| 274 | declare 'Type', | ||
| 275 | as (Int | Str); | ||
| 276 | |||
| 277 | declare 'Range', | ||
| 278 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Sku::Range']; | ||
| 279 | |||
| 280 | coerce 'Range', | ||
| 281 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Sku::Range'->new($_) }; | ||
| 282 | |||
| 283 | declare 'RepeatedRange', | ||
| 284 | as ArrayRef[Range()]; | ||
| 285 | |||
| 286 | coerce 'RepeatedRange', | ||
| 287 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Sku::Range'->new($_) } @$_ ] }; | ||
| 288 | |||
| 289 | declare 'MapStringRange', | ||
| 290 | as HashRef[Range()]; | ||
| 291 | |||
| 292 | declare 'Zone', | ||
| 293 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Zone']; | ||
| 294 | |||
| 295 | coerce 'Zone', | ||
| 296 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Zone'->new($_) }; | ||
| 297 | |||
| 298 | declare 'RepeatedZone', | ||
| 299 | as ArrayRef[Zone()]; | ||
| 300 | |||
| 301 | coerce 'RepeatedZone', | ||
| 302 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Zone'->new($_) } @$_ ] }; | ||
| 303 | |||
| 304 | declare 'MapStringZone', | ||
| 305 | as HashRef[Zone()]; | ||
| 306 | |||
| 307 | declare 'State', | ||
| 308 | as (Int | Str); | ||
| 309 | |||
| 310 | declare 'ProvisioningState', | ||
| 311 | as (Int | Str); | ||
| 312 | |||
| 313 | declare 'LabelsEntry', | ||
| 314 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Zone::LabelsEntry']; | ||
| 315 | |||
| 316 | coerce 'LabelsEntry', | ||
| 317 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Zone::LabelsEntry'->new($_) }; | ||
| 318 | |||
| 319 | declare 'RepeatedLabelsEntry', | ||
| 320 | as ArrayRef[LabelsEntry()]; | ||
| 321 | |||
| 322 | coerce 'RepeatedLabelsEntry', | ||
| 323 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Zone::LabelsEntry'->new($_) } @$_ ] }; | ||
| 324 | |||
| 325 | declare 'MapStringLabelsEntry', | ||
| 326 | as HashRef[LabelsEntry()]; | ||
| 327 | |||
| 328 | declare 'OrganizationContact', | ||
| 329 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::OrganizationContact']; | ||
| 330 | |||
| 331 | coerce 'OrganizationContact', | ||
| 332 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::OrganizationContact'->new($_) }; | ||
| 333 | |||
| 334 | declare 'RepeatedOrganizationContact', | ||
| 335 | as ArrayRef[OrganizationContact()]; | ||
| 336 | |||
| 337 | coerce 'RepeatedOrganizationContact', | ||
| 338 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::OrganizationContact'->new($_) } @$_ ] }; | ||
| 339 | |||
| 340 | declare 'MapStringOrganizationContact', | ||
| 341 | as HashRef[OrganizationContact()]; | ||
| 342 | |||
| 343 | declare 'Contact', | ||
| 344 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Contact']; | ||
| 345 | |||
| 346 | coerce 'Contact', | ||
| 347 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Contact'->new($_) }; | ||
| 348 | |||
| 349 | declare 'RepeatedContact', | ||
| 350 | as ArrayRef[Contact()]; | ||
| 351 | |||
| 352 | coerce 'RepeatedContact', | ||
| 353 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Contact'->new($_) } @$_ ] }; | ||
| 354 | |||
| 355 | declare 'MapStringContact', | ||
| 356 | as HashRef[Contact()]; | ||
| 357 | |||
| 358 | declare 'HardwareConfig', | ||
| 359 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::HardwareConfig']; | ||
| 360 | |||
| 361 | coerce 'HardwareConfig', | ||
| 362 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::HardwareConfig'->new($_) }; | ||
| 363 | |||
| 364 | declare 'RepeatedHardwareConfig', | ||
| 365 | as ArrayRef[HardwareConfig()]; | ||
| 366 | |||
| 367 | coerce 'RepeatedHardwareConfig', | ||
| 368 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::HardwareConfig'->new($_) } @$_ ] }; | ||
| 369 | |||
| 370 | declare 'MapStringHardwareConfig', | ||
| 371 | as HashRef[HardwareConfig()]; | ||
| 372 | |||
| 373 | declare 'SkuConfig', | ||
| 374 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::SkuConfig']; | ||
| 375 | |||
| 376 | coerce 'SkuConfig', | ||
| 377 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::SkuConfig'->new($_) }; | ||
| 378 | |||
| 379 | declare 'RepeatedSkuConfig', | ||
| 380 | as ArrayRef[SkuConfig()]; | ||
| 381 | |||
| 382 | coerce 'RepeatedSkuConfig', | ||
| 383 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::SkuConfig'->new($_) } @$_ ] }; | ||
| 384 | |||
| 385 | declare 'MapStringSkuConfig', | ||
| 386 | as HashRef[SkuConfig()]; | ||
| 387 | |||
| 388 | declare 'SkuInstance', | ||
| 389 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::SkuInstance']; | ||
| 390 | |||
| 391 | coerce 'SkuInstance', | ||
| 392 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::SkuInstance'->new($_) }; | ||
| 393 | |||
| 394 | declare 'RepeatedSkuInstance', | ||
| 395 | as ArrayRef[SkuInstance()]; | ||
| 396 | |||
| 397 | coerce 'RepeatedSkuInstance', | ||
| 398 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::SkuInstance'->new($_) } @$_ ] }; | ||
| 399 | |||
| 400 | declare 'MapStringSkuInstance', | ||
| 401 | as HashRef[SkuInstance()]; | ||
| 402 | |||
| 403 | declare 'HardwarePhysicalInfo', | ||
| 404 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::HardwarePhysicalInfo']; | ||
| 405 | |||
| 406 | coerce 'HardwarePhysicalInfo', | ||
| 407 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::HardwarePhysicalInfo'->new($_) }; | ||
| 408 | |||
| 409 | declare 'RepeatedHardwarePhysicalInfo', | ||
| 410 | as ArrayRef[HardwarePhysicalInfo()]; | ||
| 411 | |||
| 412 | coerce 'RepeatedHardwarePhysicalInfo', | ||
| 413 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::HardwarePhysicalInfo'->new($_) } @$_ ] }; | ||
| 414 | |||
| 415 | declare 'MapStringHardwarePhysicalInfo', | ||
| 416 | as HashRef[HardwarePhysicalInfo()]; | ||
| 417 | |||
| 418 | declare 'PowerReceptacleType', | ||
| 419 | as (Int | Str); | ||
| 420 | |||
| 421 | declare 'NetworkUplinkType', | ||
| 422 | as (Int | Str); | ||
| 423 | |||
| 424 | declare 'Voltage', | ||
| 425 | as (Int | Str); | ||
| 426 | |||
| 427 | declare 'Amperes', | ||
| 428 | as (Int | Str); | ||
| 429 | |||
| 430 | declare 'HardwareInstallationInfo', | ||
| 431 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::HardwareInstallationInfo']; | ||
| 432 | |||
| 433 | coerce 'HardwareInstallationInfo', | ||
| 434 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::HardwareInstallationInfo'->new($_) }; | ||
| 435 | |||
| 436 | declare 'RepeatedHardwareInstallationInfo', | ||
| 437 | as ArrayRef[HardwareInstallationInfo()]; | ||
| 438 | |||
| 439 | coerce 'RepeatedHardwareInstallationInfo', | ||
| 440 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::HardwareInstallationInfo'->new($_) } @$_ ] }; | ||
| 441 | |||
| 442 | declare 'MapStringHardwareInstallationInfo', | ||
| 443 | as HashRef[HardwareInstallationInfo()]; | ||
| 444 | |||
| 445 | declare 'RackType', | ||
| 446 | as (Int | Str); | ||
| 447 | |||
| 448 | declare 'ZoneNetworkConfig', | ||
| 449 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::ZoneNetworkConfig']; | ||
| 450 | |||
| 451 | coerce 'ZoneNetworkConfig', | ||
| 452 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::ZoneNetworkConfig'->new($_) }; | ||
| 453 | |||
| 454 | declare 'RepeatedZoneNetworkConfig', | ||
| 455 | as ArrayRef[ZoneNetworkConfig()]; | ||
| 456 | |||
| 457 | coerce 'RepeatedZoneNetworkConfig', | ||
| 458 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::ZoneNetworkConfig'->new($_) } @$_ ] }; | ||
| 459 | |||
| 460 | declare 'MapStringZoneNetworkConfig', | ||
| 461 | as HashRef[ZoneNetworkConfig()]; | ||
| 462 | |||
| 463 | declare 'Subnet', | ||
| 464 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Subnet']; | ||
| 465 | |||
| 466 | coerce 'Subnet', | ||
| 467 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Subnet'->new($_) }; | ||
| 468 | |||
| 469 | declare 'RepeatedSubnet', | ||
| 470 | as ArrayRef[Subnet()]; | ||
| 471 | |||
| 472 | coerce 'RepeatedSubnet', | ||
| 473 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Subnet'->new($_) } @$_ ] }; | ||
| 474 | |||
| 475 | declare 'MapStringSubnet', | ||
| 476 | as HashRef[Subnet()]; | ||
| 477 | |||
| 478 | declare 'TimePeriod', | ||
| 479 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::TimePeriod']; | ||
| 480 | |||
| 481 | coerce 'TimePeriod', | ||
| 482 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::TimePeriod'->new($_) }; | ||
| 483 | |||
| 484 | declare 'RepeatedTimePeriod', | ||
| 485 | as ArrayRef[TimePeriod()]; | ||
| 486 | |||
| 487 | coerce 'RepeatedTimePeriod', | ||
| 488 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::TimePeriod'->new($_) } @$_ ] }; | ||
| 489 | |||
| 490 | declare 'MapStringTimePeriod', | ||
| 491 | as HashRef[TimePeriod()]; | ||
| 492 | |||
| 493 | declare 'Dimensions', | ||
| 494 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Dimensions']; | ||
| 495 | |||
| 496 | coerce 'Dimensions', | ||
| 497 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Dimensions'->new($_) }; | ||
| 498 | |||
| 499 | declare 'RepeatedDimensions', | ||
| 500 | as ArrayRef[Dimensions()]; | ||
| 501 | |||
| 502 | coerce 'RepeatedDimensions', | ||
| 503 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::Dimensions'->new($_) } @$_ ] }; | ||
| 504 | |||
| 505 | declare 'MapStringDimensions', | ||
| 506 | as HashRef[Dimensions()]; | ||
| 507 | |||
| 508 | declare 'RackSpace', | ||
| 509 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::RackSpace']; | ||
| 510 | |||
| 511 | coerce 'RackSpace', | ||
| 512 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::RackSpace'->new($_) }; | ||
| 513 | |||
| 514 | declare 'RepeatedRackSpace', | ||
| 515 | as ArrayRef[RackSpace()]; | ||
| 516 | |||
| 517 | coerce 'RepeatedRackSpace', | ||
| 518 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::RackSpace'->new($_) } @$_ ] }; | ||
| 519 | |||
| 520 | declare 'MapStringRackSpace', | ||
| 521 | as HashRef[RackSpace()]; | ||
| 522 | |||
| 523 | declare 'HardwareLocation', | ||
| 524 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::HardwareLocation']; | ||
| 525 | |||
| 526 | coerce 'HardwareLocation', | ||
| 527 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::HardwareLocation'->new($_) }; | ||
| 528 | |||
| 529 | declare 'RepeatedHardwareLocation', | ||
| 530 | as ArrayRef[HardwareLocation()]; | ||
| 531 | |||
| 532 | coerce 'RepeatedHardwareLocation', | ||
| 533 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::HardwareLocation'->new($_) } @$_ ] }; | ||
| 534 | |||
| 535 | declare 'MapStringHardwareLocation', | ||
| 536 | as HashRef[HardwareLocation()]; | ||
| 537 | |||
| 538 | declare 'SubscriptionConfig', | ||
| 539 | as InstanceOf['Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::SubscriptionConfig']; | ||
| 540 | |||
| 541 | coerce 'SubscriptionConfig', | ||
| 542 | from HashRef, via { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::SubscriptionConfig'->new($_) }; | ||
| 543 | |||
| 544 | declare 'RepeatedSubscriptionConfig', | ||
| 545 | as ArrayRef[SubscriptionConfig()]; | ||
| 546 | |||
| 547 | coerce 'RepeatedSubscriptionConfig', | ||
| 548 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Gdchardwaremanagement::V1alpha::Resources::SubscriptionConfig'->new($_) } @$_ ] }; | ||
| 549 | |||
| 550 | declare 'MapStringSubscriptionConfig', | ||
| 551 | as HashRef[SubscriptionConfig()]; | ||
| 552 | |||
| 553 | declare 'SubscriptionState', | ||
| 554 | as (Int | Str); | ||
| 555 | |||
| 556 | 1; | ||
| 557 | |||
| 558 | __END__ |