| 1 | package Google::Cloud::Lifesciences::V2beta::Workflows::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 'RunPipelineRequest', | ||
| 11 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::RunPipelineRequest']; | ||
| 12 | |||
| 13 | coerce 'RunPipelineRequest', | ||
| 14 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::RunPipelineRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedRunPipelineRequest', | ||
| 17 | as ArrayRef[RunPipelineRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedRunPipelineRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::RunPipelineRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringRunPipelineRequest', | ||
| 23 | as HashRef[RunPipelineRequest()]; | ||
| 24 | |||
| 25 | declare 'LabelsEntry', | ||
| 26 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::RunPipelineRequest::LabelsEntry']; | ||
| 27 | |||
| 28 | coerce 'LabelsEntry', | ||
| 29 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::RunPipelineRequest::LabelsEntry'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedLabelsEntry', | ||
| 32 | as ArrayRef[LabelsEntry()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedLabelsEntry', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::RunPipelineRequest::LabelsEntry'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringLabelsEntry', | ||
| 38 | as HashRef[LabelsEntry()]; | ||
| 39 | |||
| 40 | declare 'RunPipelineResponse', | ||
| 41 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::RunPipelineResponse']; | ||
| 42 | |||
| 43 | coerce 'RunPipelineResponse', | ||
| 44 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::RunPipelineResponse'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedRunPipelineResponse', | ||
| 47 | as ArrayRef[RunPipelineResponse()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedRunPipelineResponse', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::RunPipelineResponse'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringRunPipelineResponse', | ||
| 53 | as HashRef[RunPipelineResponse()]; | ||
| 54 | |||
| 55 | declare 'Pipeline', | ||
| 56 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::Pipeline']; | ||
| 57 | |||
| 58 | coerce 'Pipeline', | ||
| 59 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::Pipeline'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedPipeline', | ||
| 62 | as ArrayRef[Pipeline()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedPipeline', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::Pipeline'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringPipeline', | ||
| 68 | as HashRef[Pipeline()]; | ||
| 69 | |||
| 70 | declare 'EnvironmentEntry', | ||
| 71 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::Pipeline::EnvironmentEntry']; | ||
| 72 | |||
| 73 | coerce 'EnvironmentEntry', | ||
| 74 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::Pipeline::EnvironmentEntry'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedEnvironmentEntry', | ||
| 77 | as ArrayRef[EnvironmentEntry()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedEnvironmentEntry', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::Pipeline::EnvironmentEntry'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringEnvironmentEntry', | ||
| 83 | as HashRef[EnvironmentEntry()]; | ||
| 84 | |||
| 85 | declare 'Action', | ||
| 86 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::Action']; | ||
| 87 | |||
| 88 | coerce 'Action', | ||
| 89 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::Action'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedAction', | ||
| 92 | as ArrayRef[Action()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedAction', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::Action'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringAction', | ||
| 98 | as HashRef[Action()]; | ||
| 99 | |||
| 100 | declare 'EnvironmentEntry', | ||
| 101 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::Action::EnvironmentEntry']; | ||
| 102 | |||
| 103 | coerce 'EnvironmentEntry', | ||
| 104 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::Action::EnvironmentEntry'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedEnvironmentEntry', | ||
| 107 | as ArrayRef[EnvironmentEntry()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedEnvironmentEntry', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::Action::EnvironmentEntry'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringEnvironmentEntry', | ||
| 113 | as HashRef[EnvironmentEntry()]; | ||
| 114 | |||
| 115 | declare 'PortMappingsEntry', | ||
| 116 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::Action::PortMappingsEntry']; | ||
| 117 | |||
| 118 | coerce 'PortMappingsEntry', | ||
| 119 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::Action::PortMappingsEntry'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedPortMappingsEntry', | ||
| 122 | as ArrayRef[PortMappingsEntry()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedPortMappingsEntry', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::Action::PortMappingsEntry'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringPortMappingsEntry', | ||
| 128 | as HashRef[PortMappingsEntry()]; | ||
| 129 | |||
| 130 | declare 'LabelsEntry', | ||
| 131 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::Action::LabelsEntry']; | ||
| 132 | |||
| 133 | coerce 'LabelsEntry', | ||
| 134 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::Action::LabelsEntry'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedLabelsEntry', | ||
| 137 | as ArrayRef[LabelsEntry()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedLabelsEntry', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::Action::LabelsEntry'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringLabelsEntry', | ||
| 143 | as HashRef[LabelsEntry()]; | ||
| 144 | |||
| 145 | declare 'Secret', | ||
| 146 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::Secret']; | ||
| 147 | |||
| 148 | coerce 'Secret', | ||
| 149 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::Secret'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedSecret', | ||
| 152 | as ArrayRef[Secret()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedSecret', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::Secret'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringSecret', | ||
| 158 | as HashRef[Secret()]; | ||
| 159 | |||
| 160 | declare 'Mount', | ||
| 161 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::Mount']; | ||
| 162 | |||
| 163 | coerce 'Mount', | ||
| 164 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::Mount'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedMount', | ||
| 167 | as ArrayRef[Mount()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedMount', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::Mount'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringMount', | ||
| 173 | as HashRef[Mount()]; | ||
| 174 | |||
| 175 | declare 'Resources', | ||
| 176 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::Resources']; | ||
| 177 | |||
| 178 | coerce 'Resources', | ||
| 179 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::Resources'->new($_) }; | ||
| 180 | |||
| 181 | declare 'RepeatedResources', | ||
| 182 | as ArrayRef[Resources()]; | ||
| 183 | |||
| 184 | coerce 'RepeatedResources', | ||
| 185 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::Resources'->new($_) } @$_ ] }; | ||
| 186 | |||
| 187 | declare 'MapStringResources', | ||
| 188 | as HashRef[Resources()]; | ||
| 189 | |||
| 190 | declare 'VirtualMachine', | ||
| 191 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::VirtualMachine']; | ||
| 192 | |||
| 193 | coerce 'VirtualMachine', | ||
| 194 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::VirtualMachine'->new($_) }; | ||
| 195 | |||
| 196 | declare 'RepeatedVirtualMachine', | ||
| 197 | as ArrayRef[VirtualMachine()]; | ||
| 198 | |||
| 199 | coerce 'RepeatedVirtualMachine', | ||
| 200 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::VirtualMachine'->new($_) } @$_ ] }; | ||
| 201 | |||
| 202 | declare 'MapStringVirtualMachine', | ||
| 203 | as HashRef[VirtualMachine()]; | ||
| 204 | |||
| 205 | declare 'LabelsEntry', | ||
| 206 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::VirtualMachine::LabelsEntry']; | ||
| 207 | |||
| 208 | coerce 'LabelsEntry', | ||
| 209 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::VirtualMachine::LabelsEntry'->new($_) }; | ||
| 210 | |||
| 211 | declare 'RepeatedLabelsEntry', | ||
| 212 | as ArrayRef[LabelsEntry()]; | ||
| 213 | |||
| 214 | coerce 'RepeatedLabelsEntry', | ||
| 215 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::VirtualMachine::LabelsEntry'->new($_) } @$_ ] }; | ||
| 216 | |||
| 217 | declare 'MapStringLabelsEntry', | ||
| 218 | as HashRef[LabelsEntry()]; | ||
| 219 | |||
| 220 | declare 'ServiceAccount', | ||
| 221 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::ServiceAccount']; | ||
| 222 | |||
| 223 | coerce 'ServiceAccount', | ||
| 224 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::ServiceAccount'->new($_) }; | ||
| 225 | |||
| 226 | declare 'RepeatedServiceAccount', | ||
| 227 | as ArrayRef[ServiceAccount()]; | ||
| 228 | |||
| 229 | coerce 'RepeatedServiceAccount', | ||
| 230 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::ServiceAccount'->new($_) } @$_ ] }; | ||
| 231 | |||
| 232 | declare 'MapStringServiceAccount', | ||
| 233 | as HashRef[ServiceAccount()]; | ||
| 234 | |||
| 235 | declare 'Accelerator', | ||
| 236 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::Accelerator']; | ||
| 237 | |||
| 238 | coerce 'Accelerator', | ||
| 239 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::Accelerator'->new($_) }; | ||
| 240 | |||
| 241 | declare 'RepeatedAccelerator', | ||
| 242 | as ArrayRef[Accelerator()]; | ||
| 243 | |||
| 244 | coerce 'RepeatedAccelerator', | ||
| 245 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::Accelerator'->new($_) } @$_ ] }; | ||
| 246 | |||
| 247 | declare 'MapStringAccelerator', | ||
| 248 | as HashRef[Accelerator()]; | ||
| 249 | |||
| 250 | declare 'Network', | ||
| 251 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::Network']; | ||
| 252 | |||
| 253 | coerce 'Network', | ||
| 254 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::Network'->new($_) }; | ||
| 255 | |||
| 256 | declare 'RepeatedNetwork', | ||
| 257 | as ArrayRef[Network()]; | ||
| 258 | |||
| 259 | coerce 'RepeatedNetwork', | ||
| 260 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::Network'->new($_) } @$_ ] }; | ||
| 261 | |||
| 262 | declare 'MapStringNetwork', | ||
| 263 | as HashRef[Network()]; | ||
| 264 | |||
| 265 | declare 'Disk', | ||
| 266 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::Disk']; | ||
| 267 | |||
| 268 | coerce 'Disk', | ||
| 269 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::Disk'->new($_) }; | ||
| 270 | |||
| 271 | declare 'RepeatedDisk', | ||
| 272 | as ArrayRef[Disk()]; | ||
| 273 | |||
| 274 | coerce 'RepeatedDisk', | ||
| 275 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::Disk'->new($_) } @$_ ] }; | ||
| 276 | |||
| 277 | declare 'MapStringDisk', | ||
| 278 | as HashRef[Disk()]; | ||
| 279 | |||
| 280 | declare 'Volume', | ||
| 281 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::Volume']; | ||
| 282 | |||
| 283 | coerce 'Volume', | ||
| 284 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::Volume'->new($_) }; | ||
| 285 | |||
| 286 | declare 'RepeatedVolume', | ||
| 287 | as ArrayRef[Volume()]; | ||
| 288 | |||
| 289 | coerce 'RepeatedVolume', | ||
| 290 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::Volume'->new($_) } @$_ ] }; | ||
| 291 | |||
| 292 | declare 'MapStringVolume', | ||
| 293 | as HashRef[Volume()]; | ||
| 294 | |||
| 295 | declare 'PersistentDisk', | ||
| 296 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::PersistentDisk']; | ||
| 297 | |||
| 298 | coerce 'PersistentDisk', | ||
| 299 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::PersistentDisk'->new($_) }; | ||
| 300 | |||
| 301 | declare 'RepeatedPersistentDisk', | ||
| 302 | as ArrayRef[PersistentDisk()]; | ||
| 303 | |||
| 304 | coerce 'RepeatedPersistentDisk', | ||
| 305 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::PersistentDisk'->new($_) } @$_ ] }; | ||
| 306 | |||
| 307 | declare 'MapStringPersistentDisk', | ||
| 308 | as HashRef[PersistentDisk()]; | ||
| 309 | |||
| 310 | declare 'ExistingDisk', | ||
| 311 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::ExistingDisk']; | ||
| 312 | |||
| 313 | coerce 'ExistingDisk', | ||
| 314 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::ExistingDisk'->new($_) }; | ||
| 315 | |||
| 316 | declare 'RepeatedExistingDisk', | ||
| 317 | as ArrayRef[ExistingDisk()]; | ||
| 318 | |||
| 319 | coerce 'RepeatedExistingDisk', | ||
| 320 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::ExistingDisk'->new($_) } @$_ ] }; | ||
| 321 | |||
| 322 | declare 'MapStringExistingDisk', | ||
| 323 | as HashRef[ExistingDisk()]; | ||
| 324 | |||
| 325 | declare 'NFSMount', | ||
| 326 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::NFSMount']; | ||
| 327 | |||
| 328 | coerce 'NFSMount', | ||
| 329 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::NFSMount'->new($_) }; | ||
| 330 | |||
| 331 | declare 'RepeatedNFSMount', | ||
| 332 | as ArrayRef[NFSMount()]; | ||
| 333 | |||
| 334 | coerce 'RepeatedNFSMount', | ||
| 335 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::NFSMount'->new($_) } @$_ ] }; | ||
| 336 | |||
| 337 | declare 'MapStringNFSMount', | ||
| 338 | as HashRef[NFSMount()]; | ||
| 339 | |||
| 340 | declare 'Metadata', | ||
| 341 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::Metadata']; | ||
| 342 | |||
| 343 | coerce 'Metadata', | ||
| 344 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::Metadata'->new($_) }; | ||
| 345 | |||
| 346 | declare 'RepeatedMetadata', | ||
| 347 | as ArrayRef[Metadata()]; | ||
| 348 | |||
| 349 | coerce 'RepeatedMetadata', | ||
| 350 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::Metadata'->new($_) } @$_ ] }; | ||
| 351 | |||
| 352 | declare 'MapStringMetadata', | ||
| 353 | as HashRef[Metadata()]; | ||
| 354 | |||
| 355 | declare 'LabelsEntry', | ||
| 356 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::Metadata::LabelsEntry']; | ||
| 357 | |||
| 358 | coerce 'LabelsEntry', | ||
| 359 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::Metadata::LabelsEntry'->new($_) }; | ||
| 360 | |||
| 361 | declare 'RepeatedLabelsEntry', | ||
| 362 | as ArrayRef[LabelsEntry()]; | ||
| 363 | |||
| 364 | coerce 'RepeatedLabelsEntry', | ||
| 365 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::Metadata::LabelsEntry'->new($_) } @$_ ] }; | ||
| 366 | |||
| 367 | declare 'MapStringLabelsEntry', | ||
| 368 | as HashRef[LabelsEntry()]; | ||
| 369 | |||
| 370 | declare 'Event', | ||
| 371 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::Event']; | ||
| 372 | |||
| 373 | coerce 'Event', | ||
| 374 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::Event'->new($_) }; | ||
| 375 | |||
| 376 | declare 'RepeatedEvent', | ||
| 377 | as ArrayRef[Event()]; | ||
| 378 | |||
| 379 | coerce 'RepeatedEvent', | ||
| 380 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::Event'->new($_) } @$_ ] }; | ||
| 381 | |||
| 382 | declare 'MapStringEvent', | ||
| 383 | as HashRef[Event()]; | ||
| 384 | |||
| 385 | declare 'DelayedEvent', | ||
| 386 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::DelayedEvent']; | ||
| 387 | |||
| 388 | coerce 'DelayedEvent', | ||
| 389 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::DelayedEvent'->new($_) }; | ||
| 390 | |||
| 391 | declare 'RepeatedDelayedEvent', | ||
| 392 | as ArrayRef[DelayedEvent()]; | ||
| 393 | |||
| 394 | coerce 'RepeatedDelayedEvent', | ||
| 395 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::DelayedEvent'->new($_) } @$_ ] }; | ||
| 396 | |||
| 397 | declare 'MapStringDelayedEvent', | ||
| 398 | as HashRef[DelayedEvent()]; | ||
| 399 | |||
| 400 | declare 'WorkerAssignedEvent', | ||
| 401 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::WorkerAssignedEvent']; | ||
| 402 | |||
| 403 | coerce 'WorkerAssignedEvent', | ||
| 404 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::WorkerAssignedEvent'->new($_) }; | ||
| 405 | |||
| 406 | declare 'RepeatedWorkerAssignedEvent', | ||
| 407 | as ArrayRef[WorkerAssignedEvent()]; | ||
| 408 | |||
| 409 | coerce 'RepeatedWorkerAssignedEvent', | ||
| 410 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::WorkerAssignedEvent'->new($_) } @$_ ] }; | ||
| 411 | |||
| 412 | declare 'MapStringWorkerAssignedEvent', | ||
| 413 | as HashRef[WorkerAssignedEvent()]; | ||
| 414 | |||
| 415 | declare 'WorkerReleasedEvent', | ||
| 416 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::WorkerReleasedEvent']; | ||
| 417 | |||
| 418 | coerce 'WorkerReleasedEvent', | ||
| 419 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::WorkerReleasedEvent'->new($_) }; | ||
| 420 | |||
| 421 | declare 'RepeatedWorkerReleasedEvent', | ||
| 422 | as ArrayRef[WorkerReleasedEvent()]; | ||
| 423 | |||
| 424 | coerce 'RepeatedWorkerReleasedEvent', | ||
| 425 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::WorkerReleasedEvent'->new($_) } @$_ ] }; | ||
| 426 | |||
| 427 | declare 'MapStringWorkerReleasedEvent', | ||
| 428 | as HashRef[WorkerReleasedEvent()]; | ||
| 429 | |||
| 430 | declare 'PullStartedEvent', | ||
| 431 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::PullStartedEvent']; | ||
| 432 | |||
| 433 | coerce 'PullStartedEvent', | ||
| 434 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::PullStartedEvent'->new($_) }; | ||
| 435 | |||
| 436 | declare 'RepeatedPullStartedEvent', | ||
| 437 | as ArrayRef[PullStartedEvent()]; | ||
| 438 | |||
| 439 | coerce 'RepeatedPullStartedEvent', | ||
| 440 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::PullStartedEvent'->new($_) } @$_ ] }; | ||
| 441 | |||
| 442 | declare 'MapStringPullStartedEvent', | ||
| 443 | as HashRef[PullStartedEvent()]; | ||
| 444 | |||
| 445 | declare 'PullStoppedEvent', | ||
| 446 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::PullStoppedEvent']; | ||
| 447 | |||
| 448 | coerce 'PullStoppedEvent', | ||
| 449 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::PullStoppedEvent'->new($_) }; | ||
| 450 | |||
| 451 | declare 'RepeatedPullStoppedEvent', | ||
| 452 | as ArrayRef[PullStoppedEvent()]; | ||
| 453 | |||
| 454 | coerce 'RepeatedPullStoppedEvent', | ||
| 455 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::PullStoppedEvent'->new($_) } @$_ ] }; | ||
| 456 | |||
| 457 | declare 'MapStringPullStoppedEvent', | ||
| 458 | as HashRef[PullStoppedEvent()]; | ||
| 459 | |||
| 460 | declare 'ContainerStartedEvent', | ||
| 461 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::ContainerStartedEvent']; | ||
| 462 | |||
| 463 | coerce 'ContainerStartedEvent', | ||
| 464 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::ContainerStartedEvent'->new($_) }; | ||
| 465 | |||
| 466 | declare 'RepeatedContainerStartedEvent', | ||
| 467 | as ArrayRef[ContainerStartedEvent()]; | ||
| 468 | |||
| 469 | coerce 'RepeatedContainerStartedEvent', | ||
| 470 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::ContainerStartedEvent'->new($_) } @$_ ] }; | ||
| 471 | |||
| 472 | declare 'MapStringContainerStartedEvent', | ||
| 473 | as HashRef[ContainerStartedEvent()]; | ||
| 474 | |||
| 475 | declare 'PortMappingsEntry', | ||
| 476 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::ContainerStartedEvent::PortMappingsEntry']; | ||
| 477 | |||
| 478 | coerce 'PortMappingsEntry', | ||
| 479 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::ContainerStartedEvent::PortMappingsEntry'->new($_) }; | ||
| 480 | |||
| 481 | declare 'RepeatedPortMappingsEntry', | ||
| 482 | as ArrayRef[PortMappingsEntry()]; | ||
| 483 | |||
| 484 | coerce 'RepeatedPortMappingsEntry', | ||
| 485 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::ContainerStartedEvent::PortMappingsEntry'->new($_) } @$_ ] }; | ||
| 486 | |||
| 487 | declare 'MapStringPortMappingsEntry', | ||
| 488 | as HashRef[PortMappingsEntry()]; | ||
| 489 | |||
| 490 | declare 'ContainerStoppedEvent', | ||
| 491 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::ContainerStoppedEvent']; | ||
| 492 | |||
| 493 | coerce 'ContainerStoppedEvent', | ||
| 494 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::ContainerStoppedEvent'->new($_) }; | ||
| 495 | |||
| 496 | declare 'RepeatedContainerStoppedEvent', | ||
| 497 | as ArrayRef[ContainerStoppedEvent()]; | ||
| 498 | |||
| 499 | coerce 'RepeatedContainerStoppedEvent', | ||
| 500 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::ContainerStoppedEvent'->new($_) } @$_ ] }; | ||
| 501 | |||
| 502 | declare 'MapStringContainerStoppedEvent', | ||
| 503 | as HashRef[ContainerStoppedEvent()]; | ||
| 504 | |||
| 505 | declare 'UnexpectedExitStatusEvent', | ||
| 506 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::UnexpectedExitStatusEvent']; | ||
| 507 | |||
| 508 | coerce 'UnexpectedExitStatusEvent', | ||
| 509 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::UnexpectedExitStatusEvent'->new($_) }; | ||
| 510 | |||
| 511 | declare 'RepeatedUnexpectedExitStatusEvent', | ||
| 512 | as ArrayRef[UnexpectedExitStatusEvent()]; | ||
| 513 | |||
| 514 | coerce 'RepeatedUnexpectedExitStatusEvent', | ||
| 515 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::UnexpectedExitStatusEvent'->new($_) } @$_ ] }; | ||
| 516 | |||
| 517 | declare 'MapStringUnexpectedExitStatusEvent', | ||
| 518 | as HashRef[UnexpectedExitStatusEvent()]; | ||
| 519 | |||
| 520 | declare 'ContainerKilledEvent', | ||
| 521 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::ContainerKilledEvent']; | ||
| 522 | |||
| 523 | coerce 'ContainerKilledEvent', | ||
| 524 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::ContainerKilledEvent'->new($_) }; | ||
| 525 | |||
| 526 | declare 'RepeatedContainerKilledEvent', | ||
| 527 | as ArrayRef[ContainerKilledEvent()]; | ||
| 528 | |||
| 529 | coerce 'RepeatedContainerKilledEvent', | ||
| 530 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::ContainerKilledEvent'->new($_) } @$_ ] }; | ||
| 531 | |||
| 532 | declare 'MapStringContainerKilledEvent', | ||
| 533 | as HashRef[ContainerKilledEvent()]; | ||
| 534 | |||
| 535 | declare 'FailedEvent', | ||
| 536 | as InstanceOf['Google::Cloud::Lifesciences::V2beta::Workflows::FailedEvent']; | ||
| 537 | |||
| 538 | coerce 'FailedEvent', | ||
| 539 | from HashRef, via { 'Google::Cloud::Lifesciences::V2beta::Workflows::FailedEvent'->new($_) }; | ||
| 540 | |||
| 541 | declare 'RepeatedFailedEvent', | ||
| 542 | as ArrayRef[FailedEvent()]; | ||
| 543 | |||
| 544 | coerce 'RepeatedFailedEvent', | ||
| 545 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Lifesciences::V2beta::Workflows::FailedEvent'->new($_) } @$_ ] }; | ||
| 546 | |||
| 547 | declare 'MapStringFailedEvent', | ||
| 548 | as HashRef[FailedEvent()]; | ||
| 549 | |||
| 550 | 1; | ||
| 551 | |||
| 552 | __END__ |