| 1 | package Google::Cloud::Tpu::V2::CloudTpu::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 'GuestAttributes', | ||
| 11 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::GuestAttributes']; | ||
| 12 | |||
| 13 | coerce 'GuestAttributes', | ||
| 14 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::GuestAttributes'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedGuestAttributes', | ||
| 17 | as ArrayRef[GuestAttributes()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedGuestAttributes', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::GuestAttributes'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringGuestAttributes', | ||
| 23 | as HashRef[GuestAttributes()]; | ||
| 24 | |||
| 25 | declare 'GuestAttributesValue', | ||
| 26 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::GuestAttributesValue']; | ||
| 27 | |||
| 28 | coerce 'GuestAttributesValue', | ||
| 29 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::GuestAttributesValue'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedGuestAttributesValue', | ||
| 32 | as ArrayRef[GuestAttributesValue()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedGuestAttributesValue', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::GuestAttributesValue'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringGuestAttributesValue', | ||
| 38 | as HashRef[GuestAttributesValue()]; | ||
| 39 | |||
| 40 | declare 'GuestAttributesEntry', | ||
| 41 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::GuestAttributesEntry']; | ||
| 42 | |||
| 43 | coerce 'GuestAttributesEntry', | ||
| 44 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::GuestAttributesEntry'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedGuestAttributesEntry', | ||
| 47 | as ArrayRef[GuestAttributesEntry()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedGuestAttributesEntry', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::GuestAttributesEntry'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringGuestAttributesEntry', | ||
| 53 | as HashRef[GuestAttributesEntry()]; | ||
| 54 | |||
| 55 | declare 'AttachedDisk', | ||
| 56 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::AttachedDisk']; | ||
| 57 | |||
| 58 | coerce 'AttachedDisk', | ||
| 59 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::AttachedDisk'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedAttachedDisk', | ||
| 62 | as ArrayRef[AttachedDisk()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedAttachedDisk', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::AttachedDisk'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringAttachedDisk', | ||
| 68 | as HashRef[AttachedDisk()]; | ||
| 69 | |||
| 70 | declare 'DiskMode', | ||
| 71 | as (Int | Str); | ||
| 72 | |||
| 73 | declare 'SchedulingConfig', | ||
| 74 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::SchedulingConfig']; | ||
| 75 | |||
| 76 | coerce 'SchedulingConfig', | ||
| 77 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::SchedulingConfig'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedSchedulingConfig', | ||
| 80 | as ArrayRef[SchedulingConfig()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedSchedulingConfig', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::SchedulingConfig'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringSchedulingConfig', | ||
| 86 | as HashRef[SchedulingConfig()]; | ||
| 87 | |||
| 88 | declare 'NetworkEndpoint', | ||
| 89 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::NetworkEndpoint']; | ||
| 90 | |||
| 91 | coerce 'NetworkEndpoint', | ||
| 92 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::NetworkEndpoint'->new($_) }; | ||
| 93 | |||
| 94 | declare 'RepeatedNetworkEndpoint', | ||
| 95 | as ArrayRef[NetworkEndpoint()]; | ||
| 96 | |||
| 97 | coerce 'RepeatedNetworkEndpoint', | ||
| 98 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::NetworkEndpoint'->new($_) } @$_ ] }; | ||
| 99 | |||
| 100 | declare 'MapStringNetworkEndpoint', | ||
| 101 | as HashRef[NetworkEndpoint()]; | ||
| 102 | |||
| 103 | declare 'AccessConfig', | ||
| 104 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::AccessConfig']; | ||
| 105 | |||
| 106 | coerce 'AccessConfig', | ||
| 107 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::AccessConfig'->new($_) }; | ||
| 108 | |||
| 109 | declare 'RepeatedAccessConfig', | ||
| 110 | as ArrayRef[AccessConfig()]; | ||
| 111 | |||
| 112 | coerce 'RepeatedAccessConfig', | ||
| 113 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::AccessConfig'->new($_) } @$_ ] }; | ||
| 114 | |||
| 115 | declare 'MapStringAccessConfig', | ||
| 116 | as HashRef[AccessConfig()]; | ||
| 117 | |||
| 118 | declare 'NetworkConfig', | ||
| 119 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::NetworkConfig']; | ||
| 120 | |||
| 121 | coerce 'NetworkConfig', | ||
| 122 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::NetworkConfig'->new($_) }; | ||
| 123 | |||
| 124 | declare 'RepeatedNetworkConfig', | ||
| 125 | as ArrayRef[NetworkConfig()]; | ||
| 126 | |||
| 127 | coerce 'RepeatedNetworkConfig', | ||
| 128 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::NetworkConfig'->new($_) } @$_ ] }; | ||
| 129 | |||
| 130 | declare 'MapStringNetworkConfig', | ||
| 131 | as HashRef[NetworkConfig()]; | ||
| 132 | |||
| 133 | declare 'ServiceAccount', | ||
| 134 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::ServiceAccount']; | ||
| 135 | |||
| 136 | coerce 'ServiceAccount', | ||
| 137 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::ServiceAccount'->new($_) }; | ||
| 138 | |||
| 139 | declare 'RepeatedServiceAccount', | ||
| 140 | as ArrayRef[ServiceAccount()]; | ||
| 141 | |||
| 142 | coerce 'RepeatedServiceAccount', | ||
| 143 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::ServiceAccount'->new($_) } @$_ ] }; | ||
| 144 | |||
| 145 | declare 'MapStringServiceAccount', | ||
| 146 | as HashRef[ServiceAccount()]; | ||
| 147 | |||
| 148 | declare 'Node', | ||
| 149 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::Node']; | ||
| 150 | |||
| 151 | coerce 'Node', | ||
| 152 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::Node'->new($_) }; | ||
| 153 | |||
| 154 | declare 'RepeatedNode', | ||
| 155 | as ArrayRef[Node()]; | ||
| 156 | |||
| 157 | coerce 'RepeatedNode', | ||
| 158 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::Node'->new($_) } @$_ ] }; | ||
| 159 | |||
| 160 | declare 'MapStringNode', | ||
| 161 | as HashRef[Node()]; | ||
| 162 | |||
| 163 | declare 'State', | ||
| 164 | as (Int | Str); | ||
| 165 | |||
| 166 | declare 'Health', | ||
| 167 | as (Int | Str); | ||
| 168 | |||
| 169 | declare 'ApiVersion', | ||
| 170 | as (Int | Str); | ||
| 171 | |||
| 172 | declare 'LabelsEntry', | ||
| 173 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::Node::LabelsEntry']; | ||
| 174 | |||
| 175 | coerce 'LabelsEntry', | ||
| 176 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::Node::LabelsEntry'->new($_) }; | ||
| 177 | |||
| 178 | declare 'RepeatedLabelsEntry', | ||
| 179 | as ArrayRef[LabelsEntry()]; | ||
| 180 | |||
| 181 | coerce 'RepeatedLabelsEntry', | ||
| 182 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::Node::LabelsEntry'->new($_) } @$_ ] }; | ||
| 183 | |||
| 184 | declare 'MapStringLabelsEntry', | ||
| 185 | as HashRef[LabelsEntry()]; | ||
| 186 | |||
| 187 | declare 'MetadataEntry', | ||
| 188 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::Node::MetadataEntry']; | ||
| 189 | |||
| 190 | coerce 'MetadataEntry', | ||
| 191 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::Node::MetadataEntry'->new($_) }; | ||
| 192 | |||
| 193 | declare 'RepeatedMetadataEntry', | ||
| 194 | as ArrayRef[MetadataEntry()]; | ||
| 195 | |||
| 196 | coerce 'RepeatedMetadataEntry', | ||
| 197 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::Node::MetadataEntry'->new($_) } @$_ ] }; | ||
| 198 | |||
| 199 | declare 'MapStringMetadataEntry', | ||
| 200 | as HashRef[MetadataEntry()]; | ||
| 201 | |||
| 202 | declare 'QueuedResource', | ||
| 203 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::QueuedResource']; | ||
| 204 | |||
| 205 | coerce 'QueuedResource', | ||
| 206 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResource'->new($_) }; | ||
| 207 | |||
| 208 | declare 'RepeatedQueuedResource', | ||
| 209 | as ArrayRef[QueuedResource()]; | ||
| 210 | |||
| 211 | coerce 'RepeatedQueuedResource', | ||
| 212 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResource'->new($_) } @$_ ] }; | ||
| 213 | |||
| 214 | declare 'MapStringQueuedResource', | ||
| 215 | as HashRef[QueuedResource()]; | ||
| 216 | |||
| 217 | declare 'Tpu', | ||
| 218 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::QueuedResource::Tpu']; | ||
| 219 | |||
| 220 | coerce 'Tpu', | ||
| 221 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResource::Tpu'->new($_) }; | ||
| 222 | |||
| 223 | declare 'RepeatedTpu', | ||
| 224 | as ArrayRef[Tpu()]; | ||
| 225 | |||
| 226 | coerce 'RepeatedTpu', | ||
| 227 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResource::Tpu'->new($_) } @$_ ] }; | ||
| 228 | |||
| 229 | declare 'MapStringTpu', | ||
| 230 | as HashRef[Tpu()]; | ||
| 231 | |||
| 232 | declare 'NodeSpec', | ||
| 233 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::QueuedResource::Tpu::NodeSpec']; | ||
| 234 | |||
| 235 | coerce 'NodeSpec', | ||
| 236 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResource::Tpu::NodeSpec'->new($_) }; | ||
| 237 | |||
| 238 | declare 'RepeatedNodeSpec', | ||
| 239 | as ArrayRef[NodeSpec()]; | ||
| 240 | |||
| 241 | coerce 'RepeatedNodeSpec', | ||
| 242 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResource::Tpu::NodeSpec'->new($_) } @$_ ] }; | ||
| 243 | |||
| 244 | declare 'MapStringNodeSpec', | ||
| 245 | as HashRef[NodeSpec()]; | ||
| 246 | |||
| 247 | declare 'MultisliceParams', | ||
| 248 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::QueuedResource::Tpu::NodeSpec::MultisliceParams']; | ||
| 249 | |||
| 250 | coerce 'MultisliceParams', | ||
| 251 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResource::Tpu::NodeSpec::MultisliceParams'->new($_) }; | ||
| 252 | |||
| 253 | declare 'RepeatedMultisliceParams', | ||
| 254 | as ArrayRef[MultisliceParams()]; | ||
| 255 | |||
| 256 | coerce 'RepeatedMultisliceParams', | ||
| 257 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResource::Tpu::NodeSpec::MultisliceParams'->new($_) } @$_ ] }; | ||
| 258 | |||
| 259 | declare 'MapStringMultisliceParams', | ||
| 260 | as HashRef[MultisliceParams()]; | ||
| 261 | |||
| 262 | declare 'Spot', | ||
| 263 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::QueuedResource::Spot']; | ||
| 264 | |||
| 265 | coerce 'Spot', | ||
| 266 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResource::Spot'->new($_) }; | ||
| 267 | |||
| 268 | declare 'RepeatedSpot', | ||
| 269 | as ArrayRef[Spot()]; | ||
| 270 | |||
| 271 | coerce 'RepeatedSpot', | ||
| 272 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResource::Spot'->new($_) } @$_ ] }; | ||
| 273 | |||
| 274 | declare 'MapStringSpot', | ||
| 275 | as HashRef[Spot()]; | ||
| 276 | |||
| 277 | declare 'Guaranteed', | ||
| 278 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::QueuedResource::Guaranteed']; | ||
| 279 | |||
| 280 | coerce 'Guaranteed', | ||
| 281 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResource::Guaranteed'->new($_) }; | ||
| 282 | |||
| 283 | declare 'RepeatedGuaranteed', | ||
| 284 | as ArrayRef[Guaranteed()]; | ||
| 285 | |||
| 286 | coerce 'RepeatedGuaranteed', | ||
| 287 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResource::Guaranteed'->new($_) } @$_ ] }; | ||
| 288 | |||
| 289 | declare 'MapStringGuaranteed', | ||
| 290 | as HashRef[Guaranteed()]; | ||
| 291 | |||
| 292 | declare 'QueueingPolicy', | ||
| 293 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::QueuedResource::QueueingPolicy']; | ||
| 294 | |||
| 295 | coerce 'QueueingPolicy', | ||
| 296 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResource::QueueingPolicy'->new($_) }; | ||
| 297 | |||
| 298 | declare 'RepeatedQueueingPolicy', | ||
| 299 | as ArrayRef[QueueingPolicy()]; | ||
| 300 | |||
| 301 | coerce 'RepeatedQueueingPolicy', | ||
| 302 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResource::QueueingPolicy'->new($_) } @$_ ] }; | ||
| 303 | |||
| 304 | declare 'MapStringQueueingPolicy', | ||
| 305 | as HashRef[QueueingPolicy()]; | ||
| 306 | |||
| 307 | declare 'QueuedResourceState', | ||
| 308 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState']; | ||
| 309 | |||
| 310 | coerce 'QueuedResourceState', | ||
| 311 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState'->new($_) }; | ||
| 312 | |||
| 313 | declare 'RepeatedQueuedResourceState', | ||
| 314 | as ArrayRef[QueuedResourceState()]; | ||
| 315 | |||
| 316 | coerce 'RepeatedQueuedResourceState', | ||
| 317 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState'->new($_) } @$_ ] }; | ||
| 318 | |||
| 319 | declare 'MapStringQueuedResourceState', | ||
| 320 | as HashRef[QueuedResourceState()]; | ||
| 321 | |||
| 322 | declare 'State', | ||
| 323 | as (Int | Str); | ||
| 324 | |||
| 325 | declare 'StateInitiator', | ||
| 326 | as (Int | Str); | ||
| 327 | |||
| 328 | declare 'CreatingData', | ||
| 329 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::CreatingData']; | ||
| 330 | |||
| 331 | coerce 'CreatingData', | ||
| 332 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::CreatingData'->new($_) }; | ||
| 333 | |||
| 334 | declare 'RepeatedCreatingData', | ||
| 335 | as ArrayRef[CreatingData()]; | ||
| 336 | |||
| 337 | coerce 'RepeatedCreatingData', | ||
| 338 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::CreatingData'->new($_) } @$_ ] }; | ||
| 339 | |||
| 340 | declare 'MapStringCreatingData', | ||
| 341 | as HashRef[CreatingData()]; | ||
| 342 | |||
| 343 | declare 'AcceptedData', | ||
| 344 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::AcceptedData']; | ||
| 345 | |||
| 346 | coerce 'AcceptedData', | ||
| 347 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::AcceptedData'->new($_) }; | ||
| 348 | |||
| 349 | declare 'RepeatedAcceptedData', | ||
| 350 | as ArrayRef[AcceptedData()]; | ||
| 351 | |||
| 352 | coerce 'RepeatedAcceptedData', | ||
| 353 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::AcceptedData'->new($_) } @$_ ] }; | ||
| 354 | |||
| 355 | declare 'MapStringAcceptedData', | ||
| 356 | as HashRef[AcceptedData()]; | ||
| 357 | |||
| 358 | declare 'ProvisioningData', | ||
| 359 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::ProvisioningData']; | ||
| 360 | |||
| 361 | coerce 'ProvisioningData', | ||
| 362 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::ProvisioningData'->new($_) }; | ||
| 363 | |||
| 364 | declare 'RepeatedProvisioningData', | ||
| 365 | as ArrayRef[ProvisioningData()]; | ||
| 366 | |||
| 367 | coerce 'RepeatedProvisioningData', | ||
| 368 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::ProvisioningData'->new($_) } @$_ ] }; | ||
| 369 | |||
| 370 | declare 'MapStringProvisioningData', | ||
| 371 | as HashRef[ProvisioningData()]; | ||
| 372 | |||
| 373 | declare 'FailedData', | ||
| 374 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::FailedData']; | ||
| 375 | |||
| 376 | coerce 'FailedData', | ||
| 377 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::FailedData'->new($_) }; | ||
| 378 | |||
| 379 | declare 'RepeatedFailedData', | ||
| 380 | as ArrayRef[FailedData()]; | ||
| 381 | |||
| 382 | coerce 'RepeatedFailedData', | ||
| 383 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::FailedData'->new($_) } @$_ ] }; | ||
| 384 | |||
| 385 | declare 'MapStringFailedData', | ||
| 386 | as HashRef[FailedData()]; | ||
| 387 | |||
| 388 | declare 'DeletingData', | ||
| 389 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::DeletingData']; | ||
| 390 | |||
| 391 | coerce 'DeletingData', | ||
| 392 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::DeletingData'->new($_) }; | ||
| 393 | |||
| 394 | declare 'RepeatedDeletingData', | ||
| 395 | as ArrayRef[DeletingData()]; | ||
| 396 | |||
| 397 | coerce 'RepeatedDeletingData', | ||
| 398 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::DeletingData'->new($_) } @$_ ] }; | ||
| 399 | |||
| 400 | declare 'MapStringDeletingData', | ||
| 401 | as HashRef[DeletingData()]; | ||
| 402 | |||
| 403 | declare 'ActiveData', | ||
| 404 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::ActiveData']; | ||
| 405 | |||
| 406 | coerce 'ActiveData', | ||
| 407 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::ActiveData'->new($_) }; | ||
| 408 | |||
| 409 | declare 'RepeatedActiveData', | ||
| 410 | as ArrayRef[ActiveData()]; | ||
| 411 | |||
| 412 | coerce 'RepeatedActiveData', | ||
| 413 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::ActiveData'->new($_) } @$_ ] }; | ||
| 414 | |||
| 415 | declare 'MapStringActiveData', | ||
| 416 | as HashRef[ActiveData()]; | ||
| 417 | |||
| 418 | declare 'SuspendingData', | ||
| 419 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::SuspendingData']; | ||
| 420 | |||
| 421 | coerce 'SuspendingData', | ||
| 422 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::SuspendingData'->new($_) }; | ||
| 423 | |||
| 424 | declare 'RepeatedSuspendingData', | ||
| 425 | as ArrayRef[SuspendingData()]; | ||
| 426 | |||
| 427 | coerce 'RepeatedSuspendingData', | ||
| 428 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::SuspendingData'->new($_) } @$_ ] }; | ||
| 429 | |||
| 430 | declare 'MapStringSuspendingData', | ||
| 431 | as HashRef[SuspendingData()]; | ||
| 432 | |||
| 433 | declare 'SuspendedData', | ||
| 434 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::SuspendedData']; | ||
| 435 | |||
| 436 | coerce 'SuspendedData', | ||
| 437 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::SuspendedData'->new($_) }; | ||
| 438 | |||
| 439 | declare 'RepeatedSuspendedData', | ||
| 440 | as ArrayRef[SuspendedData()]; | ||
| 441 | |||
| 442 | coerce 'RepeatedSuspendedData', | ||
| 443 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::SuspendedData'->new($_) } @$_ ] }; | ||
| 444 | |||
| 445 | declare 'MapStringSuspendedData', | ||
| 446 | as HashRef[SuspendedData()]; | ||
| 447 | |||
| 448 | declare 'ListNodesRequest', | ||
| 449 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::ListNodesRequest']; | ||
| 450 | |||
| 451 | coerce 'ListNodesRequest', | ||
| 452 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::ListNodesRequest'->new($_) }; | ||
| 453 | |||
| 454 | declare 'RepeatedListNodesRequest', | ||
| 455 | as ArrayRef[ListNodesRequest()]; | ||
| 456 | |||
| 457 | coerce 'RepeatedListNodesRequest', | ||
| 458 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::ListNodesRequest'->new($_) } @$_ ] }; | ||
| 459 | |||
| 460 | declare 'MapStringListNodesRequest', | ||
| 461 | as HashRef[ListNodesRequest()]; | ||
| 462 | |||
| 463 | declare 'ListNodesResponse', | ||
| 464 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::ListNodesResponse']; | ||
| 465 | |||
| 466 | coerce 'ListNodesResponse', | ||
| 467 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::ListNodesResponse'->new($_) }; | ||
| 468 | |||
| 469 | declare 'RepeatedListNodesResponse', | ||
| 470 | as ArrayRef[ListNodesResponse()]; | ||
| 471 | |||
| 472 | coerce 'RepeatedListNodesResponse', | ||
| 473 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::ListNodesResponse'->new($_) } @$_ ] }; | ||
| 474 | |||
| 475 | declare 'MapStringListNodesResponse', | ||
| 476 | as HashRef[ListNodesResponse()]; | ||
| 477 | |||
| 478 | declare 'GetNodeRequest', | ||
| 479 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::GetNodeRequest']; | ||
| 480 | |||
| 481 | coerce 'GetNodeRequest', | ||
| 482 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::GetNodeRequest'->new($_) }; | ||
| 483 | |||
| 484 | declare 'RepeatedGetNodeRequest', | ||
| 485 | as ArrayRef[GetNodeRequest()]; | ||
| 486 | |||
| 487 | coerce 'RepeatedGetNodeRequest', | ||
| 488 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::GetNodeRequest'->new($_) } @$_ ] }; | ||
| 489 | |||
| 490 | declare 'MapStringGetNodeRequest', | ||
| 491 | as HashRef[GetNodeRequest()]; | ||
| 492 | |||
| 493 | declare 'CreateNodeRequest', | ||
| 494 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::CreateNodeRequest']; | ||
| 495 | |||
| 496 | coerce 'CreateNodeRequest', | ||
| 497 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::CreateNodeRequest'->new($_) }; | ||
| 498 | |||
| 499 | declare 'RepeatedCreateNodeRequest', | ||
| 500 | as ArrayRef[CreateNodeRequest()]; | ||
| 501 | |||
| 502 | coerce 'RepeatedCreateNodeRequest', | ||
| 503 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::CreateNodeRequest'->new($_) } @$_ ] }; | ||
| 504 | |||
| 505 | declare 'MapStringCreateNodeRequest', | ||
| 506 | as HashRef[CreateNodeRequest()]; | ||
| 507 | |||
| 508 | declare 'DeleteNodeRequest', | ||
| 509 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::DeleteNodeRequest']; | ||
| 510 | |||
| 511 | coerce 'DeleteNodeRequest', | ||
| 512 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::DeleteNodeRequest'->new($_) }; | ||
| 513 | |||
| 514 | declare 'RepeatedDeleteNodeRequest', | ||
| 515 | as ArrayRef[DeleteNodeRequest()]; | ||
| 516 | |||
| 517 | coerce 'RepeatedDeleteNodeRequest', | ||
| 518 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::DeleteNodeRequest'->new($_) } @$_ ] }; | ||
| 519 | |||
| 520 | declare 'MapStringDeleteNodeRequest', | ||
| 521 | as HashRef[DeleteNodeRequest()]; | ||
| 522 | |||
| 523 | declare 'StopNodeRequest', | ||
| 524 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::StopNodeRequest']; | ||
| 525 | |||
| 526 | coerce 'StopNodeRequest', | ||
| 527 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::StopNodeRequest'->new($_) }; | ||
| 528 | |||
| 529 | declare 'RepeatedStopNodeRequest', | ||
| 530 | as ArrayRef[StopNodeRequest()]; | ||
| 531 | |||
| 532 | coerce 'RepeatedStopNodeRequest', | ||
| 533 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::StopNodeRequest'->new($_) } @$_ ] }; | ||
| 534 | |||
| 535 | declare 'MapStringStopNodeRequest', | ||
| 536 | as HashRef[StopNodeRequest()]; | ||
| 537 | |||
| 538 | declare 'StartNodeRequest', | ||
| 539 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::StartNodeRequest']; | ||
| 540 | |||
| 541 | coerce 'StartNodeRequest', | ||
| 542 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::StartNodeRequest'->new($_) }; | ||
| 543 | |||
| 544 | declare 'RepeatedStartNodeRequest', | ||
| 545 | as ArrayRef[StartNodeRequest()]; | ||
| 546 | |||
| 547 | coerce 'RepeatedStartNodeRequest', | ||
| 548 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::StartNodeRequest'->new($_) } @$_ ] }; | ||
| 549 | |||
| 550 | declare 'MapStringStartNodeRequest', | ||
| 551 | as HashRef[StartNodeRequest()]; | ||
| 552 | |||
| 553 | declare 'UpdateNodeRequest', | ||
| 554 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::UpdateNodeRequest']; | ||
| 555 | |||
| 556 | coerce 'UpdateNodeRequest', | ||
| 557 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::UpdateNodeRequest'->new($_) }; | ||
| 558 | |||
| 559 | declare 'RepeatedUpdateNodeRequest', | ||
| 560 | as ArrayRef[UpdateNodeRequest()]; | ||
| 561 | |||
| 562 | coerce 'RepeatedUpdateNodeRequest', | ||
| 563 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::UpdateNodeRequest'->new($_) } @$_ ] }; | ||
| 564 | |||
| 565 | declare 'MapStringUpdateNodeRequest', | ||
| 566 | as HashRef[UpdateNodeRequest()]; | ||
| 567 | |||
| 568 | declare 'ListQueuedResourcesRequest', | ||
| 569 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::ListQueuedResourcesRequest']; | ||
| 570 | |||
| 571 | coerce 'ListQueuedResourcesRequest', | ||
| 572 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::ListQueuedResourcesRequest'->new($_) }; | ||
| 573 | |||
| 574 | declare 'RepeatedListQueuedResourcesRequest', | ||
| 575 | as ArrayRef[ListQueuedResourcesRequest()]; | ||
| 576 | |||
| 577 | coerce 'RepeatedListQueuedResourcesRequest', | ||
| 578 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::ListQueuedResourcesRequest'->new($_) } @$_ ] }; | ||
| 579 | |||
| 580 | declare 'MapStringListQueuedResourcesRequest', | ||
| 581 | as HashRef[ListQueuedResourcesRequest()]; | ||
| 582 | |||
| 583 | declare 'ListQueuedResourcesResponse', | ||
| 584 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::ListQueuedResourcesResponse']; | ||
| 585 | |||
| 586 | coerce 'ListQueuedResourcesResponse', | ||
| 587 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::ListQueuedResourcesResponse'->new($_) }; | ||
| 588 | |||
| 589 | declare 'RepeatedListQueuedResourcesResponse', | ||
| 590 | as ArrayRef[ListQueuedResourcesResponse()]; | ||
| 591 | |||
| 592 | coerce 'RepeatedListQueuedResourcesResponse', | ||
| 593 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::ListQueuedResourcesResponse'->new($_) } @$_ ] }; | ||
| 594 | |||
| 595 | declare 'MapStringListQueuedResourcesResponse', | ||
| 596 | as HashRef[ListQueuedResourcesResponse()]; | ||
| 597 | |||
| 598 | declare 'GetQueuedResourceRequest', | ||
| 599 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::GetQueuedResourceRequest']; | ||
| 600 | |||
| 601 | coerce 'GetQueuedResourceRequest', | ||
| 602 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::GetQueuedResourceRequest'->new($_) }; | ||
| 603 | |||
| 604 | declare 'RepeatedGetQueuedResourceRequest', | ||
| 605 | as ArrayRef[GetQueuedResourceRequest()]; | ||
| 606 | |||
| 607 | coerce 'RepeatedGetQueuedResourceRequest', | ||
| 608 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::GetQueuedResourceRequest'->new($_) } @$_ ] }; | ||
| 609 | |||
| 610 | declare 'MapStringGetQueuedResourceRequest', | ||
| 611 | as HashRef[GetQueuedResourceRequest()]; | ||
| 612 | |||
| 613 | declare 'CreateQueuedResourceRequest', | ||
| 614 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::CreateQueuedResourceRequest']; | ||
| 615 | |||
| 616 | coerce 'CreateQueuedResourceRequest', | ||
| 617 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::CreateQueuedResourceRequest'->new($_) }; | ||
| 618 | |||
| 619 | declare 'RepeatedCreateQueuedResourceRequest', | ||
| 620 | as ArrayRef[CreateQueuedResourceRequest()]; | ||
| 621 | |||
| 622 | coerce 'RepeatedCreateQueuedResourceRequest', | ||
| 623 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::CreateQueuedResourceRequest'->new($_) } @$_ ] }; | ||
| 624 | |||
| 625 | declare 'MapStringCreateQueuedResourceRequest', | ||
| 626 | as HashRef[CreateQueuedResourceRequest()]; | ||
| 627 | |||
| 628 | declare 'DeleteQueuedResourceRequest', | ||
| 629 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::DeleteQueuedResourceRequest']; | ||
| 630 | |||
| 631 | coerce 'DeleteQueuedResourceRequest', | ||
| 632 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::DeleteQueuedResourceRequest'->new($_) }; | ||
| 633 | |||
| 634 | declare 'RepeatedDeleteQueuedResourceRequest', | ||
| 635 | as ArrayRef[DeleteQueuedResourceRequest()]; | ||
| 636 | |||
| 637 | coerce 'RepeatedDeleteQueuedResourceRequest', | ||
| 638 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::DeleteQueuedResourceRequest'->new($_) } @$_ ] }; | ||
| 639 | |||
| 640 | declare 'MapStringDeleteQueuedResourceRequest', | ||
| 641 | as HashRef[DeleteQueuedResourceRequest()]; | ||
| 642 | |||
| 643 | declare 'ResetQueuedResourceRequest', | ||
| 644 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::ResetQueuedResourceRequest']; | ||
| 645 | |||
| 646 | coerce 'ResetQueuedResourceRequest', | ||
| 647 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::ResetQueuedResourceRequest'->new($_) }; | ||
| 648 | |||
| 649 | declare 'RepeatedResetQueuedResourceRequest', | ||
| 650 | as ArrayRef[ResetQueuedResourceRequest()]; | ||
| 651 | |||
| 652 | coerce 'RepeatedResetQueuedResourceRequest', | ||
| 653 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::ResetQueuedResourceRequest'->new($_) } @$_ ] }; | ||
| 654 | |||
| 655 | declare 'MapStringResetQueuedResourceRequest', | ||
| 656 | as HashRef[ResetQueuedResourceRequest()]; | ||
| 657 | |||
| 658 | declare 'ServiceIdentity', | ||
| 659 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::ServiceIdentity']; | ||
| 660 | |||
| 661 | coerce 'ServiceIdentity', | ||
| 662 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::ServiceIdentity'->new($_) }; | ||
| 663 | |||
| 664 | declare 'RepeatedServiceIdentity', | ||
| 665 | as ArrayRef[ServiceIdentity()]; | ||
| 666 | |||
| 667 | coerce 'RepeatedServiceIdentity', | ||
| 668 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::ServiceIdentity'->new($_) } @$_ ] }; | ||
| 669 | |||
| 670 | declare 'MapStringServiceIdentity', | ||
| 671 | as HashRef[ServiceIdentity()]; | ||
| 672 | |||
| 673 | declare 'GenerateServiceIdentityRequest', | ||
| 674 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::GenerateServiceIdentityRequest']; | ||
| 675 | |||
| 676 | coerce 'GenerateServiceIdentityRequest', | ||
| 677 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::GenerateServiceIdentityRequest'->new($_) }; | ||
| 678 | |||
| 679 | declare 'RepeatedGenerateServiceIdentityRequest', | ||
| 680 | as ArrayRef[GenerateServiceIdentityRequest()]; | ||
| 681 | |||
| 682 | coerce 'RepeatedGenerateServiceIdentityRequest', | ||
| 683 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::GenerateServiceIdentityRequest'->new($_) } @$_ ] }; | ||
| 684 | |||
| 685 | declare 'MapStringGenerateServiceIdentityRequest', | ||
| 686 | as HashRef[GenerateServiceIdentityRequest()]; | ||
| 687 | |||
| 688 | declare 'GenerateServiceIdentityResponse', | ||
| 689 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::GenerateServiceIdentityResponse']; | ||
| 690 | |||
| 691 | coerce 'GenerateServiceIdentityResponse', | ||
| 692 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::GenerateServiceIdentityResponse'->new($_) }; | ||
| 693 | |||
| 694 | declare 'RepeatedGenerateServiceIdentityResponse', | ||
| 695 | as ArrayRef[GenerateServiceIdentityResponse()]; | ||
| 696 | |||
| 697 | coerce 'RepeatedGenerateServiceIdentityResponse', | ||
| 698 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::GenerateServiceIdentityResponse'->new($_) } @$_ ] }; | ||
| 699 | |||
| 700 | declare 'MapStringGenerateServiceIdentityResponse', | ||
| 701 | as HashRef[GenerateServiceIdentityResponse()]; | ||
| 702 | |||
| 703 | declare 'AcceleratorType', | ||
| 704 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::AcceleratorType']; | ||
| 705 | |||
| 706 | coerce 'AcceleratorType', | ||
| 707 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::AcceleratorType'->new($_) }; | ||
| 708 | |||
| 709 | declare 'RepeatedAcceleratorType', | ||
| 710 | as ArrayRef[AcceleratorType()]; | ||
| 711 | |||
| 712 | coerce 'RepeatedAcceleratorType', | ||
| 713 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::AcceleratorType'->new($_) } @$_ ] }; | ||
| 714 | |||
| 715 | declare 'MapStringAcceleratorType', | ||
| 716 | as HashRef[AcceleratorType()]; | ||
| 717 | |||
| 718 | declare 'GetAcceleratorTypeRequest', | ||
| 719 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::GetAcceleratorTypeRequest']; | ||
| 720 | |||
| 721 | coerce 'GetAcceleratorTypeRequest', | ||
| 722 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::GetAcceleratorTypeRequest'->new($_) }; | ||
| 723 | |||
| 724 | declare 'RepeatedGetAcceleratorTypeRequest', | ||
| 725 | as ArrayRef[GetAcceleratorTypeRequest()]; | ||
| 726 | |||
| 727 | coerce 'RepeatedGetAcceleratorTypeRequest', | ||
| 728 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::GetAcceleratorTypeRequest'->new($_) } @$_ ] }; | ||
| 729 | |||
| 730 | declare 'MapStringGetAcceleratorTypeRequest', | ||
| 731 | as HashRef[GetAcceleratorTypeRequest()]; | ||
| 732 | |||
| 733 | declare 'ListAcceleratorTypesRequest', | ||
| 734 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::ListAcceleratorTypesRequest']; | ||
| 735 | |||
| 736 | coerce 'ListAcceleratorTypesRequest', | ||
| 737 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::ListAcceleratorTypesRequest'->new($_) }; | ||
| 738 | |||
| 739 | declare 'RepeatedListAcceleratorTypesRequest', | ||
| 740 | as ArrayRef[ListAcceleratorTypesRequest()]; | ||
| 741 | |||
| 742 | coerce 'RepeatedListAcceleratorTypesRequest', | ||
| 743 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::ListAcceleratorTypesRequest'->new($_) } @$_ ] }; | ||
| 744 | |||
| 745 | declare 'MapStringListAcceleratorTypesRequest', | ||
| 746 | as HashRef[ListAcceleratorTypesRequest()]; | ||
| 747 | |||
| 748 | declare 'ListAcceleratorTypesResponse', | ||
| 749 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::ListAcceleratorTypesResponse']; | ||
| 750 | |||
| 751 | coerce 'ListAcceleratorTypesResponse', | ||
| 752 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::ListAcceleratorTypesResponse'->new($_) }; | ||
| 753 | |||
| 754 | declare 'RepeatedListAcceleratorTypesResponse', | ||
| 755 | as ArrayRef[ListAcceleratorTypesResponse()]; | ||
| 756 | |||
| 757 | coerce 'RepeatedListAcceleratorTypesResponse', | ||
| 758 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::ListAcceleratorTypesResponse'->new($_) } @$_ ] }; | ||
| 759 | |||
| 760 | declare 'MapStringListAcceleratorTypesResponse', | ||
| 761 | as HashRef[ListAcceleratorTypesResponse()]; | ||
| 762 | |||
| 763 | declare 'RuntimeVersion', | ||
| 764 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::RuntimeVersion']; | ||
| 765 | |||
| 766 | coerce 'RuntimeVersion', | ||
| 767 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::RuntimeVersion'->new($_) }; | ||
| 768 | |||
| 769 | declare 'RepeatedRuntimeVersion', | ||
| 770 | as ArrayRef[RuntimeVersion()]; | ||
| 771 | |||
| 772 | coerce 'RepeatedRuntimeVersion', | ||
| 773 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::RuntimeVersion'->new($_) } @$_ ] }; | ||
| 774 | |||
| 775 | declare 'MapStringRuntimeVersion', | ||
| 776 | as HashRef[RuntimeVersion()]; | ||
| 777 | |||
| 778 | declare 'GetRuntimeVersionRequest', | ||
| 779 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::GetRuntimeVersionRequest']; | ||
| 780 | |||
| 781 | coerce 'GetRuntimeVersionRequest', | ||
| 782 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::GetRuntimeVersionRequest'->new($_) }; | ||
| 783 | |||
| 784 | declare 'RepeatedGetRuntimeVersionRequest', | ||
| 785 | as ArrayRef[GetRuntimeVersionRequest()]; | ||
| 786 | |||
| 787 | coerce 'RepeatedGetRuntimeVersionRequest', | ||
| 788 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::GetRuntimeVersionRequest'->new($_) } @$_ ] }; | ||
| 789 | |||
| 790 | declare 'MapStringGetRuntimeVersionRequest', | ||
| 791 | as HashRef[GetRuntimeVersionRequest()]; | ||
| 792 | |||
| 793 | declare 'ListRuntimeVersionsRequest', | ||
| 794 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::ListRuntimeVersionsRequest']; | ||
| 795 | |||
| 796 | coerce 'ListRuntimeVersionsRequest', | ||
| 797 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::ListRuntimeVersionsRequest'->new($_) }; | ||
| 798 | |||
| 799 | declare 'RepeatedListRuntimeVersionsRequest', | ||
| 800 | as ArrayRef[ListRuntimeVersionsRequest()]; | ||
| 801 | |||
| 802 | coerce 'RepeatedListRuntimeVersionsRequest', | ||
| 803 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::ListRuntimeVersionsRequest'->new($_) } @$_ ] }; | ||
| 804 | |||
| 805 | declare 'MapStringListRuntimeVersionsRequest', | ||
| 806 | as HashRef[ListRuntimeVersionsRequest()]; | ||
| 807 | |||
| 808 | declare 'ListRuntimeVersionsResponse', | ||
| 809 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::ListRuntimeVersionsResponse']; | ||
| 810 | |||
| 811 | coerce 'ListRuntimeVersionsResponse', | ||
| 812 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::ListRuntimeVersionsResponse'->new($_) }; | ||
| 813 | |||
| 814 | declare 'RepeatedListRuntimeVersionsResponse', | ||
| 815 | as ArrayRef[ListRuntimeVersionsResponse()]; | ||
| 816 | |||
| 817 | coerce 'RepeatedListRuntimeVersionsResponse', | ||
| 818 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::ListRuntimeVersionsResponse'->new($_) } @$_ ] }; | ||
| 819 | |||
| 820 | declare 'MapStringListRuntimeVersionsResponse', | ||
| 821 | as HashRef[ListRuntimeVersionsResponse()]; | ||
| 822 | |||
| 823 | declare 'OperationMetadata', | ||
| 824 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::OperationMetadata']; | ||
| 825 | |||
| 826 | coerce 'OperationMetadata', | ||
| 827 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::OperationMetadata'->new($_) }; | ||
| 828 | |||
| 829 | declare 'RepeatedOperationMetadata', | ||
| 830 | as ArrayRef[OperationMetadata()]; | ||
| 831 | |||
| 832 | coerce 'RepeatedOperationMetadata', | ||
| 833 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::OperationMetadata'->new($_) } @$_ ] }; | ||
| 834 | |||
| 835 | declare 'MapStringOperationMetadata', | ||
| 836 | as HashRef[OperationMetadata()]; | ||
| 837 | |||
| 838 | declare 'Symptom', | ||
| 839 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::Symptom']; | ||
| 840 | |||
| 841 | coerce 'Symptom', | ||
| 842 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::Symptom'->new($_) }; | ||
| 843 | |||
| 844 | declare 'RepeatedSymptom', | ||
| 845 | as ArrayRef[Symptom()]; | ||
| 846 | |||
| 847 | coerce 'RepeatedSymptom', | ||
| 848 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::Symptom'->new($_) } @$_ ] }; | ||
| 849 | |||
| 850 | declare 'MapStringSymptom', | ||
| 851 | as HashRef[Symptom()]; | ||
| 852 | |||
| 853 | declare 'SymptomType', | ||
| 854 | as (Int | Str); | ||
| 855 | |||
| 856 | declare 'GetGuestAttributesRequest', | ||
| 857 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::GetGuestAttributesRequest']; | ||
| 858 | |||
| 859 | coerce 'GetGuestAttributesRequest', | ||
| 860 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::GetGuestAttributesRequest'->new($_) }; | ||
| 861 | |||
| 862 | declare 'RepeatedGetGuestAttributesRequest', | ||
| 863 | as ArrayRef[GetGuestAttributesRequest()]; | ||
| 864 | |||
| 865 | coerce 'RepeatedGetGuestAttributesRequest', | ||
| 866 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::GetGuestAttributesRequest'->new($_) } @$_ ] }; | ||
| 867 | |||
| 868 | declare 'MapStringGetGuestAttributesRequest', | ||
| 869 | as HashRef[GetGuestAttributesRequest()]; | ||
| 870 | |||
| 871 | declare 'GetGuestAttributesResponse', | ||
| 872 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::GetGuestAttributesResponse']; | ||
| 873 | |||
| 874 | coerce 'GetGuestAttributesResponse', | ||
| 875 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::GetGuestAttributesResponse'->new($_) }; | ||
| 876 | |||
| 877 | declare 'RepeatedGetGuestAttributesResponse', | ||
| 878 | as ArrayRef[GetGuestAttributesResponse()]; | ||
| 879 | |||
| 880 | coerce 'RepeatedGetGuestAttributesResponse', | ||
| 881 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::GetGuestAttributesResponse'->new($_) } @$_ ] }; | ||
| 882 | |||
| 883 | declare 'MapStringGetGuestAttributesResponse', | ||
| 884 | as HashRef[GetGuestAttributesResponse()]; | ||
| 885 | |||
| 886 | declare 'AcceleratorConfig', | ||
| 887 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::AcceleratorConfig']; | ||
| 888 | |||
| 889 | coerce 'AcceleratorConfig', | ||
| 890 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::AcceleratorConfig'->new($_) }; | ||
| 891 | |||
| 892 | declare 'RepeatedAcceleratorConfig', | ||
| 893 | as ArrayRef[AcceleratorConfig()]; | ||
| 894 | |||
| 895 | coerce 'RepeatedAcceleratorConfig', | ||
| 896 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::AcceleratorConfig'->new($_) } @$_ ] }; | ||
| 897 | |||
| 898 | declare 'MapStringAcceleratorConfig', | ||
| 899 | as HashRef[AcceleratorConfig()]; | ||
| 900 | |||
| 901 | declare 'Type', | ||
| 902 | as (Int | Str); | ||
| 903 | |||
| 904 | declare 'ShieldedInstanceConfig', | ||
| 905 | as InstanceOf['Google::Cloud::Tpu::V2::CloudTpu::ShieldedInstanceConfig']; | ||
| 906 | |||
| 907 | coerce 'ShieldedInstanceConfig', | ||
| 908 | from HashRef, via { 'Google::Cloud::Tpu::V2::CloudTpu::ShieldedInstanceConfig'->new($_) }; | ||
| 909 | |||
| 910 | declare 'RepeatedShieldedInstanceConfig', | ||
| 911 | as ArrayRef[ShieldedInstanceConfig()]; | ||
| 912 | |||
| 913 | coerce 'RepeatedShieldedInstanceConfig', | ||
| 914 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Tpu::V2::CloudTpu::ShieldedInstanceConfig'->new($_) } @$_ ] }; | ||
| 915 | |||
| 916 | declare 'MapStringShieldedInstanceConfig', | ||
| 917 | as HashRef[ShieldedInstanceConfig()]; | ||
| 918 | |||
| 919 | 1; | ||
| 920 | |||
| 921 | __END__ |