| 1 | package Google::Cloud::Video::Transcoder::V1::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 'Job', | ||
| 11 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::Job']; | ||
| 12 | |||
| 13 | coerce 'Job', | ||
| 14 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::Job'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedJob', | ||
| 17 | as ArrayRef[Job()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedJob', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::Job'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringJob', | ||
| 23 | as HashRef[Job()]; | ||
| 24 | |||
| 25 | declare 'ProcessingState', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'ProcessingMode', | ||
| 29 | as (Int | Str); | ||
| 30 | |||
| 31 | declare 'OptimizationStrategy', | ||
| 32 | as (Int | Str); | ||
| 33 | |||
| 34 | declare 'LabelsEntry', | ||
| 35 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::Job::LabelsEntry']; | ||
| 36 | |||
| 37 | coerce 'LabelsEntry', | ||
| 38 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::Job::LabelsEntry'->new($_) }; | ||
| 39 | |||
| 40 | declare 'RepeatedLabelsEntry', | ||
| 41 | as ArrayRef[LabelsEntry()]; | ||
| 42 | |||
| 43 | coerce 'RepeatedLabelsEntry', | ||
| 44 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::Job::LabelsEntry'->new($_) } @$_ ] }; | ||
| 45 | |||
| 46 | declare 'MapStringLabelsEntry', | ||
| 47 | as HashRef[LabelsEntry()]; | ||
| 48 | |||
| 49 | declare 'JobTemplate', | ||
| 50 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::JobTemplate']; | ||
| 51 | |||
| 52 | coerce 'JobTemplate', | ||
| 53 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::JobTemplate'->new($_) }; | ||
| 54 | |||
| 55 | declare 'RepeatedJobTemplate', | ||
| 56 | as ArrayRef[JobTemplate()]; | ||
| 57 | |||
| 58 | coerce 'RepeatedJobTemplate', | ||
| 59 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::JobTemplate'->new($_) } @$_ ] }; | ||
| 60 | |||
| 61 | declare 'MapStringJobTemplate', | ||
| 62 | as HashRef[JobTemplate()]; | ||
| 63 | |||
| 64 | declare 'LabelsEntry', | ||
| 65 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::JobTemplate::LabelsEntry']; | ||
| 66 | |||
| 67 | coerce 'LabelsEntry', | ||
| 68 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::JobTemplate::LabelsEntry'->new($_) }; | ||
| 69 | |||
| 70 | declare 'RepeatedLabelsEntry', | ||
| 71 | as ArrayRef[LabelsEntry()]; | ||
| 72 | |||
| 73 | coerce 'RepeatedLabelsEntry', | ||
| 74 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::JobTemplate::LabelsEntry'->new($_) } @$_ ] }; | ||
| 75 | |||
| 76 | declare 'MapStringLabelsEntry', | ||
| 77 | as HashRef[LabelsEntry()]; | ||
| 78 | |||
| 79 | declare 'JobConfig', | ||
| 80 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::JobConfig']; | ||
| 81 | |||
| 82 | coerce 'JobConfig', | ||
| 83 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::JobConfig'->new($_) }; | ||
| 84 | |||
| 85 | declare 'RepeatedJobConfig', | ||
| 86 | as ArrayRef[JobConfig()]; | ||
| 87 | |||
| 88 | coerce 'RepeatedJobConfig', | ||
| 89 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::JobConfig'->new($_) } @$_ ] }; | ||
| 90 | |||
| 91 | declare 'MapStringJobConfig', | ||
| 92 | as HashRef[JobConfig()]; | ||
| 93 | |||
| 94 | declare 'Input', | ||
| 95 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::Input']; | ||
| 96 | |||
| 97 | coerce 'Input', | ||
| 98 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::Input'->new($_) }; | ||
| 99 | |||
| 100 | declare 'RepeatedInput', | ||
| 101 | as ArrayRef[Input()]; | ||
| 102 | |||
| 103 | coerce 'RepeatedInput', | ||
| 104 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::Input'->new($_) } @$_ ] }; | ||
| 105 | |||
| 106 | declare 'MapStringInput', | ||
| 107 | as HashRef[Input()]; | ||
| 108 | |||
| 109 | declare 'Output', | ||
| 110 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::Output']; | ||
| 111 | |||
| 112 | coerce 'Output', | ||
| 113 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::Output'->new($_) }; | ||
| 114 | |||
| 115 | declare 'RepeatedOutput', | ||
| 116 | as ArrayRef[Output()]; | ||
| 117 | |||
| 118 | coerce 'RepeatedOutput', | ||
| 119 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::Output'->new($_) } @$_ ] }; | ||
| 120 | |||
| 121 | declare 'MapStringOutput', | ||
| 122 | as HashRef[Output()]; | ||
| 123 | |||
| 124 | declare 'EditAtom', | ||
| 125 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::EditAtom']; | ||
| 126 | |||
| 127 | coerce 'EditAtom', | ||
| 128 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::EditAtom'->new($_) }; | ||
| 129 | |||
| 130 | declare 'RepeatedEditAtom', | ||
| 131 | as ArrayRef[EditAtom()]; | ||
| 132 | |||
| 133 | coerce 'RepeatedEditAtom', | ||
| 134 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::EditAtom'->new($_) } @$_ ] }; | ||
| 135 | |||
| 136 | declare 'MapStringEditAtom', | ||
| 137 | as HashRef[EditAtom()]; | ||
| 138 | |||
| 139 | declare 'AdBreak', | ||
| 140 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::AdBreak']; | ||
| 141 | |||
| 142 | coerce 'AdBreak', | ||
| 143 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::AdBreak'->new($_) }; | ||
| 144 | |||
| 145 | declare 'RepeatedAdBreak', | ||
| 146 | as ArrayRef[AdBreak()]; | ||
| 147 | |||
| 148 | coerce 'RepeatedAdBreak', | ||
| 149 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::AdBreak'->new($_) } @$_ ] }; | ||
| 150 | |||
| 151 | declare 'MapStringAdBreak', | ||
| 152 | as HashRef[AdBreak()]; | ||
| 153 | |||
| 154 | declare 'ElementaryStream', | ||
| 155 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::ElementaryStream']; | ||
| 156 | |||
| 157 | coerce 'ElementaryStream', | ||
| 158 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::ElementaryStream'->new($_) }; | ||
| 159 | |||
| 160 | declare 'RepeatedElementaryStream', | ||
| 161 | as ArrayRef[ElementaryStream()]; | ||
| 162 | |||
| 163 | coerce 'RepeatedElementaryStream', | ||
| 164 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::ElementaryStream'->new($_) } @$_ ] }; | ||
| 165 | |||
| 166 | declare 'MapStringElementaryStream', | ||
| 167 | as HashRef[ElementaryStream()]; | ||
| 168 | |||
| 169 | declare 'MuxStream', | ||
| 170 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::MuxStream']; | ||
| 171 | |||
| 172 | coerce 'MuxStream', | ||
| 173 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::MuxStream'->new($_) }; | ||
| 174 | |||
| 175 | declare 'RepeatedMuxStream', | ||
| 176 | as ArrayRef[MuxStream()]; | ||
| 177 | |||
| 178 | coerce 'RepeatedMuxStream', | ||
| 179 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::MuxStream'->new($_) } @$_ ] }; | ||
| 180 | |||
| 181 | declare 'MapStringMuxStream', | ||
| 182 | as HashRef[MuxStream()]; | ||
| 183 | |||
| 184 | declare 'Fmp4Config', | ||
| 185 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::MuxStream::Fmp4Config']; | ||
| 186 | |||
| 187 | coerce 'Fmp4Config', | ||
| 188 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::MuxStream::Fmp4Config'->new($_) }; | ||
| 189 | |||
| 190 | declare 'RepeatedFmp4Config', | ||
| 191 | as ArrayRef[Fmp4Config()]; | ||
| 192 | |||
| 193 | coerce 'RepeatedFmp4Config', | ||
| 194 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::MuxStream::Fmp4Config'->new($_) } @$_ ] }; | ||
| 195 | |||
| 196 | declare 'MapStringFmp4Config', | ||
| 197 | as HashRef[Fmp4Config()]; | ||
| 198 | |||
| 199 | declare 'Manifest', | ||
| 200 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::Manifest']; | ||
| 201 | |||
| 202 | coerce 'Manifest', | ||
| 203 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::Manifest'->new($_) }; | ||
| 204 | |||
| 205 | declare 'RepeatedManifest', | ||
| 206 | as ArrayRef[Manifest()]; | ||
| 207 | |||
| 208 | coerce 'RepeatedManifest', | ||
| 209 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::Manifest'->new($_) } @$_ ] }; | ||
| 210 | |||
| 211 | declare 'MapStringManifest', | ||
| 212 | as HashRef[Manifest()]; | ||
| 213 | |||
| 214 | declare 'ManifestType', | ||
| 215 | as (Int | Str); | ||
| 216 | |||
| 217 | declare 'DashConfig', | ||
| 218 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::Manifest::DashConfig']; | ||
| 219 | |||
| 220 | coerce 'DashConfig', | ||
| 221 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::Manifest::DashConfig'->new($_) }; | ||
| 222 | |||
| 223 | declare 'RepeatedDashConfig', | ||
| 224 | as ArrayRef[DashConfig()]; | ||
| 225 | |||
| 226 | coerce 'RepeatedDashConfig', | ||
| 227 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::Manifest::DashConfig'->new($_) } @$_ ] }; | ||
| 228 | |||
| 229 | declare 'MapStringDashConfig', | ||
| 230 | as HashRef[DashConfig()]; | ||
| 231 | |||
| 232 | declare 'SegmentReferenceScheme', | ||
| 233 | as (Int | Str); | ||
| 234 | |||
| 235 | declare 'PubsubDestination', | ||
| 236 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::PubsubDestination']; | ||
| 237 | |||
| 238 | coerce 'PubsubDestination', | ||
| 239 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::PubsubDestination'->new($_) }; | ||
| 240 | |||
| 241 | declare 'RepeatedPubsubDestination', | ||
| 242 | as ArrayRef[PubsubDestination()]; | ||
| 243 | |||
| 244 | coerce 'RepeatedPubsubDestination', | ||
| 245 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::PubsubDestination'->new($_) } @$_ ] }; | ||
| 246 | |||
| 247 | declare 'MapStringPubsubDestination', | ||
| 248 | as HashRef[PubsubDestination()]; | ||
| 249 | |||
| 250 | declare 'SpriteSheet', | ||
| 251 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::SpriteSheet']; | ||
| 252 | |||
| 253 | coerce 'SpriteSheet', | ||
| 254 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::SpriteSheet'->new($_) }; | ||
| 255 | |||
| 256 | declare 'RepeatedSpriteSheet', | ||
| 257 | as ArrayRef[SpriteSheet()]; | ||
| 258 | |||
| 259 | coerce 'RepeatedSpriteSheet', | ||
| 260 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::SpriteSheet'->new($_) } @$_ ] }; | ||
| 261 | |||
| 262 | declare 'MapStringSpriteSheet', | ||
| 263 | as HashRef[SpriteSheet()]; | ||
| 264 | |||
| 265 | declare 'Overlay', | ||
| 266 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::Overlay']; | ||
| 267 | |||
| 268 | coerce 'Overlay', | ||
| 269 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::Overlay'->new($_) }; | ||
| 270 | |||
| 271 | declare 'RepeatedOverlay', | ||
| 272 | as ArrayRef[Overlay()]; | ||
| 273 | |||
| 274 | coerce 'RepeatedOverlay', | ||
| 275 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::Overlay'->new($_) } @$_ ] }; | ||
| 276 | |||
| 277 | declare 'MapStringOverlay', | ||
| 278 | as HashRef[Overlay()]; | ||
| 279 | |||
| 280 | declare 'FadeType', | ||
| 281 | as (Int | Str); | ||
| 282 | |||
| 283 | declare 'NormalizedCoordinate', | ||
| 284 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::Overlay::NormalizedCoordinate']; | ||
| 285 | |||
| 286 | coerce 'NormalizedCoordinate', | ||
| 287 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::Overlay::NormalizedCoordinate'->new($_) }; | ||
| 288 | |||
| 289 | declare 'RepeatedNormalizedCoordinate', | ||
| 290 | as ArrayRef[NormalizedCoordinate()]; | ||
| 291 | |||
| 292 | coerce 'RepeatedNormalizedCoordinate', | ||
| 293 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::Overlay::NormalizedCoordinate'->new($_) } @$_ ] }; | ||
| 294 | |||
| 295 | declare 'MapStringNormalizedCoordinate', | ||
| 296 | as HashRef[NormalizedCoordinate()]; | ||
| 297 | |||
| 298 | declare 'Image', | ||
| 299 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::Overlay::Image']; | ||
| 300 | |||
| 301 | coerce 'Image', | ||
| 302 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::Overlay::Image'->new($_) }; | ||
| 303 | |||
| 304 | declare 'RepeatedImage', | ||
| 305 | as ArrayRef[Image()]; | ||
| 306 | |||
| 307 | coerce 'RepeatedImage', | ||
| 308 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::Overlay::Image'->new($_) } @$_ ] }; | ||
| 309 | |||
| 310 | declare 'MapStringImage', | ||
| 311 | as HashRef[Image()]; | ||
| 312 | |||
| 313 | declare 'AnimationStatic', | ||
| 314 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::Overlay::AnimationStatic']; | ||
| 315 | |||
| 316 | coerce 'AnimationStatic', | ||
| 317 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::Overlay::AnimationStatic'->new($_) }; | ||
| 318 | |||
| 319 | declare 'RepeatedAnimationStatic', | ||
| 320 | as ArrayRef[AnimationStatic()]; | ||
| 321 | |||
| 322 | coerce 'RepeatedAnimationStatic', | ||
| 323 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::Overlay::AnimationStatic'->new($_) } @$_ ] }; | ||
| 324 | |||
| 325 | declare 'MapStringAnimationStatic', | ||
| 326 | as HashRef[AnimationStatic()]; | ||
| 327 | |||
| 328 | declare 'AnimationFade', | ||
| 329 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::Overlay::AnimationFade']; | ||
| 330 | |||
| 331 | coerce 'AnimationFade', | ||
| 332 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::Overlay::AnimationFade'->new($_) }; | ||
| 333 | |||
| 334 | declare 'RepeatedAnimationFade', | ||
| 335 | as ArrayRef[AnimationFade()]; | ||
| 336 | |||
| 337 | coerce 'RepeatedAnimationFade', | ||
| 338 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::Overlay::AnimationFade'->new($_) } @$_ ] }; | ||
| 339 | |||
| 340 | declare 'MapStringAnimationFade', | ||
| 341 | as HashRef[AnimationFade()]; | ||
| 342 | |||
| 343 | declare 'AnimationEnd', | ||
| 344 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::Overlay::AnimationEnd']; | ||
| 345 | |||
| 346 | coerce 'AnimationEnd', | ||
| 347 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::Overlay::AnimationEnd'->new($_) }; | ||
| 348 | |||
| 349 | declare 'RepeatedAnimationEnd', | ||
| 350 | as ArrayRef[AnimationEnd()]; | ||
| 351 | |||
| 352 | coerce 'RepeatedAnimationEnd', | ||
| 353 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::Overlay::AnimationEnd'->new($_) } @$_ ] }; | ||
| 354 | |||
| 355 | declare 'MapStringAnimationEnd', | ||
| 356 | as HashRef[AnimationEnd()]; | ||
| 357 | |||
| 358 | declare 'Animation', | ||
| 359 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::Overlay::Animation']; | ||
| 360 | |||
| 361 | coerce 'Animation', | ||
| 362 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::Overlay::Animation'->new($_) }; | ||
| 363 | |||
| 364 | declare 'RepeatedAnimation', | ||
| 365 | as ArrayRef[Animation()]; | ||
| 366 | |||
| 367 | coerce 'RepeatedAnimation', | ||
| 368 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::Overlay::Animation'->new($_) } @$_ ] }; | ||
| 369 | |||
| 370 | declare 'MapStringAnimation', | ||
| 371 | as HashRef[Animation()]; | ||
| 372 | |||
| 373 | declare 'PreprocessingConfig', | ||
| 374 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::PreprocessingConfig']; | ||
| 375 | |||
| 376 | coerce 'PreprocessingConfig', | ||
| 377 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::PreprocessingConfig'->new($_) }; | ||
| 378 | |||
| 379 | declare 'RepeatedPreprocessingConfig', | ||
| 380 | as ArrayRef[PreprocessingConfig()]; | ||
| 381 | |||
| 382 | coerce 'RepeatedPreprocessingConfig', | ||
| 383 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::PreprocessingConfig'->new($_) } @$_ ] }; | ||
| 384 | |||
| 385 | declare 'MapStringPreprocessingConfig', | ||
| 386 | as HashRef[PreprocessingConfig()]; | ||
| 387 | |||
| 388 | declare 'Color', | ||
| 389 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::PreprocessingConfig::Color']; | ||
| 390 | |||
| 391 | coerce 'Color', | ||
| 392 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::PreprocessingConfig::Color'->new($_) }; | ||
| 393 | |||
| 394 | declare 'RepeatedColor', | ||
| 395 | as ArrayRef[Color()]; | ||
| 396 | |||
| 397 | coerce 'RepeatedColor', | ||
| 398 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::PreprocessingConfig::Color'->new($_) } @$_ ] }; | ||
| 399 | |||
| 400 | declare 'MapStringColor', | ||
| 401 | as HashRef[Color()]; | ||
| 402 | |||
| 403 | declare 'Denoise', | ||
| 404 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::PreprocessingConfig::Denoise']; | ||
| 405 | |||
| 406 | coerce 'Denoise', | ||
| 407 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::PreprocessingConfig::Denoise'->new($_) }; | ||
| 408 | |||
| 409 | declare 'RepeatedDenoise', | ||
| 410 | as ArrayRef[Denoise()]; | ||
| 411 | |||
| 412 | coerce 'RepeatedDenoise', | ||
| 413 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::PreprocessingConfig::Denoise'->new($_) } @$_ ] }; | ||
| 414 | |||
| 415 | declare 'MapStringDenoise', | ||
| 416 | as HashRef[Denoise()]; | ||
| 417 | |||
| 418 | declare 'Deblock', | ||
| 419 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::PreprocessingConfig::Deblock']; | ||
| 420 | |||
| 421 | coerce 'Deblock', | ||
| 422 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::PreprocessingConfig::Deblock'->new($_) }; | ||
| 423 | |||
| 424 | declare 'RepeatedDeblock', | ||
| 425 | as ArrayRef[Deblock()]; | ||
| 426 | |||
| 427 | coerce 'RepeatedDeblock', | ||
| 428 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::PreprocessingConfig::Deblock'->new($_) } @$_ ] }; | ||
| 429 | |||
| 430 | declare 'MapStringDeblock', | ||
| 431 | as HashRef[Deblock()]; | ||
| 432 | |||
| 433 | declare 'Audio', | ||
| 434 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::PreprocessingConfig::Audio']; | ||
| 435 | |||
| 436 | coerce 'Audio', | ||
| 437 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::PreprocessingConfig::Audio'->new($_) }; | ||
| 438 | |||
| 439 | declare 'RepeatedAudio', | ||
| 440 | as ArrayRef[Audio()]; | ||
| 441 | |||
| 442 | coerce 'RepeatedAudio', | ||
| 443 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::PreprocessingConfig::Audio'->new($_) } @$_ ] }; | ||
| 444 | |||
| 445 | declare 'MapStringAudio', | ||
| 446 | as HashRef[Audio()]; | ||
| 447 | |||
| 448 | declare 'Crop', | ||
| 449 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::PreprocessingConfig::Crop']; | ||
| 450 | |||
| 451 | coerce 'Crop', | ||
| 452 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::PreprocessingConfig::Crop'->new($_) }; | ||
| 453 | |||
| 454 | declare 'RepeatedCrop', | ||
| 455 | as ArrayRef[Crop()]; | ||
| 456 | |||
| 457 | coerce 'RepeatedCrop', | ||
| 458 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::PreprocessingConfig::Crop'->new($_) } @$_ ] }; | ||
| 459 | |||
| 460 | declare 'MapStringCrop', | ||
| 461 | as HashRef[Crop()]; | ||
| 462 | |||
| 463 | declare 'Pad', | ||
| 464 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::PreprocessingConfig::Pad']; | ||
| 465 | |||
| 466 | coerce 'Pad', | ||
| 467 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::PreprocessingConfig::Pad'->new($_) }; | ||
| 468 | |||
| 469 | declare 'RepeatedPad', | ||
| 470 | as ArrayRef[Pad()]; | ||
| 471 | |||
| 472 | coerce 'RepeatedPad', | ||
| 473 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::PreprocessingConfig::Pad'->new($_) } @$_ ] }; | ||
| 474 | |||
| 475 | declare 'MapStringPad', | ||
| 476 | as HashRef[Pad()]; | ||
| 477 | |||
| 478 | declare 'Deinterlace', | ||
| 479 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::PreprocessingConfig::Deinterlace']; | ||
| 480 | |||
| 481 | coerce 'Deinterlace', | ||
| 482 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::PreprocessingConfig::Deinterlace'->new($_) }; | ||
| 483 | |||
| 484 | declare 'RepeatedDeinterlace', | ||
| 485 | as ArrayRef[Deinterlace()]; | ||
| 486 | |||
| 487 | coerce 'RepeatedDeinterlace', | ||
| 488 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::PreprocessingConfig::Deinterlace'->new($_) } @$_ ] }; | ||
| 489 | |||
| 490 | declare 'MapStringDeinterlace', | ||
| 491 | as HashRef[Deinterlace()]; | ||
| 492 | |||
| 493 | declare 'YadifConfig', | ||
| 494 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::PreprocessingConfig::Deinterlace::YadifConfig']; | ||
| 495 | |||
| 496 | coerce 'YadifConfig', | ||
| 497 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::PreprocessingConfig::Deinterlace::YadifConfig'->new($_) }; | ||
| 498 | |||
| 499 | declare 'RepeatedYadifConfig', | ||
| 500 | as ArrayRef[YadifConfig()]; | ||
| 501 | |||
| 502 | coerce 'RepeatedYadifConfig', | ||
| 503 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::PreprocessingConfig::Deinterlace::YadifConfig'->new($_) } @$_ ] }; | ||
| 504 | |||
| 505 | declare 'MapStringYadifConfig', | ||
| 506 | as HashRef[YadifConfig()]; | ||
| 507 | |||
| 508 | declare 'BwdifConfig', | ||
| 509 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::PreprocessingConfig::Deinterlace::BwdifConfig']; | ||
| 510 | |||
| 511 | coerce 'BwdifConfig', | ||
| 512 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::PreprocessingConfig::Deinterlace::BwdifConfig'->new($_) }; | ||
| 513 | |||
| 514 | declare 'RepeatedBwdifConfig', | ||
| 515 | as ArrayRef[BwdifConfig()]; | ||
| 516 | |||
| 517 | coerce 'RepeatedBwdifConfig', | ||
| 518 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::PreprocessingConfig::Deinterlace::BwdifConfig'->new($_) } @$_ ] }; | ||
| 519 | |||
| 520 | declare 'MapStringBwdifConfig', | ||
| 521 | as HashRef[BwdifConfig()]; | ||
| 522 | |||
| 523 | declare 'TrackDefinition', | ||
| 524 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::TrackDefinition']; | ||
| 525 | |||
| 526 | coerce 'TrackDefinition', | ||
| 527 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::TrackDefinition'->new($_) }; | ||
| 528 | |||
| 529 | declare 'RepeatedTrackDefinition', | ||
| 530 | as ArrayRef[TrackDefinition()]; | ||
| 531 | |||
| 532 | coerce 'RepeatedTrackDefinition', | ||
| 533 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::TrackDefinition'->new($_) } @$_ ] }; | ||
| 534 | |||
| 535 | declare 'MapStringTrackDefinition', | ||
| 536 | as HashRef[TrackDefinition()]; | ||
| 537 | |||
| 538 | declare 'InputAttributes', | ||
| 539 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::InputAttributes']; | ||
| 540 | |||
| 541 | coerce 'InputAttributes', | ||
| 542 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::InputAttributes'->new($_) }; | ||
| 543 | |||
| 544 | declare 'RepeatedInputAttributes', | ||
| 545 | as ArrayRef[InputAttributes()]; | ||
| 546 | |||
| 547 | coerce 'RepeatedInputAttributes', | ||
| 548 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::InputAttributes'->new($_) } @$_ ] }; | ||
| 549 | |||
| 550 | declare 'MapStringInputAttributes', | ||
| 551 | as HashRef[InputAttributes()]; | ||
| 552 | |||
| 553 | declare 'VideoStream', | ||
| 554 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::VideoStream']; | ||
| 555 | |||
| 556 | coerce 'VideoStream', | ||
| 557 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::VideoStream'->new($_) }; | ||
| 558 | |||
| 559 | declare 'RepeatedVideoStream', | ||
| 560 | as ArrayRef[VideoStream()]; | ||
| 561 | |||
| 562 | coerce 'RepeatedVideoStream', | ||
| 563 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::VideoStream'->new($_) } @$_ ] }; | ||
| 564 | |||
| 565 | declare 'MapStringVideoStream', | ||
| 566 | as HashRef[VideoStream()]; | ||
| 567 | |||
| 568 | declare 'FrameRateConversionStrategy', | ||
| 569 | as (Int | Str); | ||
| 570 | |||
| 571 | declare 'H264ColorFormatSDR', | ||
| 572 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::VideoStream::H264ColorFormatSDR']; | ||
| 573 | |||
| 574 | coerce 'H264ColorFormatSDR', | ||
| 575 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::VideoStream::H264ColorFormatSDR'->new($_) }; | ||
| 576 | |||
| 577 | declare 'RepeatedH264ColorFormatSDR', | ||
| 578 | as ArrayRef[H264ColorFormatSDR()]; | ||
| 579 | |||
| 580 | coerce 'RepeatedH264ColorFormatSDR', | ||
| 581 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::VideoStream::H264ColorFormatSDR'->new($_) } @$_ ] }; | ||
| 582 | |||
| 583 | declare 'MapStringH264ColorFormatSDR', | ||
| 584 | as HashRef[H264ColorFormatSDR()]; | ||
| 585 | |||
| 586 | declare 'H264ColorFormatHLG', | ||
| 587 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::VideoStream::H264ColorFormatHLG']; | ||
| 588 | |||
| 589 | coerce 'H264ColorFormatHLG', | ||
| 590 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::VideoStream::H264ColorFormatHLG'->new($_) }; | ||
| 591 | |||
| 592 | declare 'RepeatedH264ColorFormatHLG', | ||
| 593 | as ArrayRef[H264ColorFormatHLG()]; | ||
| 594 | |||
| 595 | coerce 'RepeatedH264ColorFormatHLG', | ||
| 596 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::VideoStream::H264ColorFormatHLG'->new($_) } @$_ ] }; | ||
| 597 | |||
| 598 | declare 'MapStringH264ColorFormatHLG', | ||
| 599 | as HashRef[H264ColorFormatHLG()]; | ||
| 600 | |||
| 601 | declare 'H264CodecSettings', | ||
| 602 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::VideoStream::H264CodecSettings']; | ||
| 603 | |||
| 604 | coerce 'H264CodecSettings', | ||
| 605 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::VideoStream::H264CodecSettings'->new($_) }; | ||
| 606 | |||
| 607 | declare 'RepeatedH264CodecSettings', | ||
| 608 | as ArrayRef[H264CodecSettings()]; | ||
| 609 | |||
| 610 | coerce 'RepeatedH264CodecSettings', | ||
| 611 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::VideoStream::H264CodecSettings'->new($_) } @$_ ] }; | ||
| 612 | |||
| 613 | declare 'MapStringH264CodecSettings', | ||
| 614 | as HashRef[H264CodecSettings()]; | ||
| 615 | |||
| 616 | declare 'H265ColorFormatSDR', | ||
| 617 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::VideoStream::H265ColorFormatSDR']; | ||
| 618 | |||
| 619 | coerce 'H265ColorFormatSDR', | ||
| 620 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::VideoStream::H265ColorFormatSDR'->new($_) }; | ||
| 621 | |||
| 622 | declare 'RepeatedH265ColorFormatSDR', | ||
| 623 | as ArrayRef[H265ColorFormatSDR()]; | ||
| 624 | |||
| 625 | coerce 'RepeatedH265ColorFormatSDR', | ||
| 626 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::VideoStream::H265ColorFormatSDR'->new($_) } @$_ ] }; | ||
| 627 | |||
| 628 | declare 'MapStringH265ColorFormatSDR', | ||
| 629 | as HashRef[H265ColorFormatSDR()]; | ||
| 630 | |||
| 631 | declare 'H265ColorFormatHLG', | ||
| 632 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::VideoStream::H265ColorFormatHLG']; | ||
| 633 | |||
| 634 | coerce 'H265ColorFormatHLG', | ||
| 635 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::VideoStream::H265ColorFormatHLG'->new($_) }; | ||
| 636 | |||
| 637 | declare 'RepeatedH265ColorFormatHLG', | ||
| 638 | as ArrayRef[H265ColorFormatHLG()]; | ||
| 639 | |||
| 640 | coerce 'RepeatedH265ColorFormatHLG', | ||
| 641 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::VideoStream::H265ColorFormatHLG'->new($_) } @$_ ] }; | ||
| 642 | |||
| 643 | declare 'MapStringH265ColorFormatHLG', | ||
| 644 | as HashRef[H265ColorFormatHLG()]; | ||
| 645 | |||
| 646 | declare 'H265ColorFormatHDR10', | ||
| 647 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::VideoStream::H265ColorFormatHDR10']; | ||
| 648 | |||
| 649 | coerce 'H265ColorFormatHDR10', | ||
| 650 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::VideoStream::H265ColorFormatHDR10'->new($_) }; | ||
| 651 | |||
| 652 | declare 'RepeatedH265ColorFormatHDR10', | ||
| 653 | as ArrayRef[H265ColorFormatHDR10()]; | ||
| 654 | |||
| 655 | coerce 'RepeatedH265ColorFormatHDR10', | ||
| 656 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::VideoStream::H265ColorFormatHDR10'->new($_) } @$_ ] }; | ||
| 657 | |||
| 658 | declare 'MapStringH265ColorFormatHDR10', | ||
| 659 | as HashRef[H265ColorFormatHDR10()]; | ||
| 660 | |||
| 661 | declare 'H265CodecSettings', | ||
| 662 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::VideoStream::H265CodecSettings']; | ||
| 663 | |||
| 664 | coerce 'H265CodecSettings', | ||
| 665 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::VideoStream::H265CodecSettings'->new($_) }; | ||
| 666 | |||
| 667 | declare 'RepeatedH265CodecSettings', | ||
| 668 | as ArrayRef[H265CodecSettings()]; | ||
| 669 | |||
| 670 | coerce 'RepeatedH265CodecSettings', | ||
| 671 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::VideoStream::H265CodecSettings'->new($_) } @$_ ] }; | ||
| 672 | |||
| 673 | declare 'MapStringH265CodecSettings', | ||
| 674 | as HashRef[H265CodecSettings()]; | ||
| 675 | |||
| 676 | declare 'Vp9ColorFormatSDR', | ||
| 677 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::VideoStream::Vp9ColorFormatSDR']; | ||
| 678 | |||
| 679 | coerce 'Vp9ColorFormatSDR', | ||
| 680 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::VideoStream::Vp9ColorFormatSDR'->new($_) }; | ||
| 681 | |||
| 682 | declare 'RepeatedVp9ColorFormatSDR', | ||
| 683 | as ArrayRef[Vp9ColorFormatSDR()]; | ||
| 684 | |||
| 685 | coerce 'RepeatedVp9ColorFormatSDR', | ||
| 686 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::VideoStream::Vp9ColorFormatSDR'->new($_) } @$_ ] }; | ||
| 687 | |||
| 688 | declare 'MapStringVp9ColorFormatSDR', | ||
| 689 | as HashRef[Vp9ColorFormatSDR()]; | ||
| 690 | |||
| 691 | declare 'Vp9ColorFormatHLG', | ||
| 692 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::VideoStream::Vp9ColorFormatHLG']; | ||
| 693 | |||
| 694 | coerce 'Vp9ColorFormatHLG', | ||
| 695 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::VideoStream::Vp9ColorFormatHLG'->new($_) }; | ||
| 696 | |||
| 697 | declare 'RepeatedVp9ColorFormatHLG', | ||
| 698 | as ArrayRef[Vp9ColorFormatHLG()]; | ||
| 699 | |||
| 700 | coerce 'RepeatedVp9ColorFormatHLG', | ||
| 701 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::VideoStream::Vp9ColorFormatHLG'->new($_) } @$_ ] }; | ||
| 702 | |||
| 703 | declare 'MapStringVp9ColorFormatHLG', | ||
| 704 | as HashRef[Vp9ColorFormatHLG()]; | ||
| 705 | |||
| 706 | declare 'Vp9CodecSettings', | ||
| 707 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::VideoStream::Vp9CodecSettings']; | ||
| 708 | |||
| 709 | coerce 'Vp9CodecSettings', | ||
| 710 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::VideoStream::Vp9CodecSettings'->new($_) }; | ||
| 711 | |||
| 712 | declare 'RepeatedVp9CodecSettings', | ||
| 713 | as ArrayRef[Vp9CodecSettings()]; | ||
| 714 | |||
| 715 | coerce 'RepeatedVp9CodecSettings', | ||
| 716 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::VideoStream::Vp9CodecSettings'->new($_) } @$_ ] }; | ||
| 717 | |||
| 718 | declare 'MapStringVp9CodecSettings', | ||
| 719 | as HashRef[Vp9CodecSettings()]; | ||
| 720 | |||
| 721 | declare 'AudioStream', | ||
| 722 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::AudioStream']; | ||
| 723 | |||
| 724 | coerce 'AudioStream', | ||
| 725 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::AudioStream'->new($_) }; | ||
| 726 | |||
| 727 | declare 'RepeatedAudioStream', | ||
| 728 | as ArrayRef[AudioStream()]; | ||
| 729 | |||
| 730 | coerce 'RepeatedAudioStream', | ||
| 731 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::AudioStream'->new($_) } @$_ ] }; | ||
| 732 | |||
| 733 | declare 'MapStringAudioStream', | ||
| 734 | as HashRef[AudioStream()]; | ||
| 735 | |||
| 736 | declare 'AudioMapping', | ||
| 737 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::AudioStream::AudioMapping']; | ||
| 738 | |||
| 739 | coerce 'AudioMapping', | ||
| 740 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::AudioStream::AudioMapping'->new($_) }; | ||
| 741 | |||
| 742 | declare 'RepeatedAudioMapping', | ||
| 743 | as ArrayRef[AudioMapping()]; | ||
| 744 | |||
| 745 | coerce 'RepeatedAudioMapping', | ||
| 746 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::AudioStream::AudioMapping'->new($_) } @$_ ] }; | ||
| 747 | |||
| 748 | declare 'MapStringAudioMapping', | ||
| 749 | as HashRef[AudioMapping()]; | ||
| 750 | |||
| 751 | declare 'TextStream', | ||
| 752 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::TextStream']; | ||
| 753 | |||
| 754 | coerce 'TextStream', | ||
| 755 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::TextStream'->new($_) }; | ||
| 756 | |||
| 757 | declare 'RepeatedTextStream', | ||
| 758 | as ArrayRef[TextStream()]; | ||
| 759 | |||
| 760 | coerce 'RepeatedTextStream', | ||
| 761 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::TextStream'->new($_) } @$_ ] }; | ||
| 762 | |||
| 763 | declare 'MapStringTextStream', | ||
| 764 | as HashRef[TextStream()]; | ||
| 765 | |||
| 766 | declare 'TextMapping', | ||
| 767 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::TextStream::TextMapping']; | ||
| 768 | |||
| 769 | coerce 'TextMapping', | ||
| 770 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::TextStream::TextMapping'->new($_) }; | ||
| 771 | |||
| 772 | declare 'RepeatedTextMapping', | ||
| 773 | as ArrayRef[TextMapping()]; | ||
| 774 | |||
| 775 | coerce 'RepeatedTextMapping', | ||
| 776 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::TextStream::TextMapping'->new($_) } @$_ ] }; | ||
| 777 | |||
| 778 | declare 'MapStringTextMapping', | ||
| 779 | as HashRef[TextMapping()]; | ||
| 780 | |||
| 781 | declare 'SegmentSettings', | ||
| 782 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::SegmentSettings']; | ||
| 783 | |||
| 784 | coerce 'SegmentSettings', | ||
| 785 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::SegmentSettings'->new($_) }; | ||
| 786 | |||
| 787 | declare 'RepeatedSegmentSettings', | ||
| 788 | as ArrayRef[SegmentSettings()]; | ||
| 789 | |||
| 790 | coerce 'RepeatedSegmentSettings', | ||
| 791 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::SegmentSettings'->new($_) } @$_ ] }; | ||
| 792 | |||
| 793 | declare 'MapStringSegmentSettings', | ||
| 794 | as HashRef[SegmentSettings()]; | ||
| 795 | |||
| 796 | declare 'Encryption', | ||
| 797 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::Encryption']; | ||
| 798 | |||
| 799 | coerce 'Encryption', | ||
| 800 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::Encryption'->new($_) }; | ||
| 801 | |||
| 802 | declare 'RepeatedEncryption', | ||
| 803 | as ArrayRef[Encryption()]; | ||
| 804 | |||
| 805 | coerce 'RepeatedEncryption', | ||
| 806 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::Encryption'->new($_) } @$_ ] }; | ||
| 807 | |||
| 808 | declare 'MapStringEncryption', | ||
| 809 | as HashRef[Encryption()]; | ||
| 810 | |||
| 811 | declare 'Aes128Encryption', | ||
| 812 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::Encryption::Aes128Encryption']; | ||
| 813 | |||
| 814 | coerce 'Aes128Encryption', | ||
| 815 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::Encryption::Aes128Encryption'->new($_) }; | ||
| 816 | |||
| 817 | declare 'RepeatedAes128Encryption', | ||
| 818 | as ArrayRef[Aes128Encryption()]; | ||
| 819 | |||
| 820 | coerce 'RepeatedAes128Encryption', | ||
| 821 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::Encryption::Aes128Encryption'->new($_) } @$_ ] }; | ||
| 822 | |||
| 823 | declare 'MapStringAes128Encryption', | ||
| 824 | as HashRef[Aes128Encryption()]; | ||
| 825 | |||
| 826 | declare 'SampleAesEncryption', | ||
| 827 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::Encryption::SampleAesEncryption']; | ||
| 828 | |||
| 829 | coerce 'SampleAesEncryption', | ||
| 830 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::Encryption::SampleAesEncryption'->new($_) }; | ||
| 831 | |||
| 832 | declare 'RepeatedSampleAesEncryption', | ||
| 833 | as ArrayRef[SampleAesEncryption()]; | ||
| 834 | |||
| 835 | coerce 'RepeatedSampleAesEncryption', | ||
| 836 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::Encryption::SampleAesEncryption'->new($_) } @$_ ] }; | ||
| 837 | |||
| 838 | declare 'MapStringSampleAesEncryption', | ||
| 839 | as HashRef[SampleAesEncryption()]; | ||
| 840 | |||
| 841 | declare 'MpegCommonEncryption', | ||
| 842 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::Encryption::MpegCommonEncryption']; | ||
| 843 | |||
| 844 | coerce 'MpegCommonEncryption', | ||
| 845 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::Encryption::MpegCommonEncryption'->new($_) }; | ||
| 846 | |||
| 847 | declare 'RepeatedMpegCommonEncryption', | ||
| 848 | as ArrayRef[MpegCommonEncryption()]; | ||
| 849 | |||
| 850 | coerce 'RepeatedMpegCommonEncryption', | ||
| 851 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::Encryption::MpegCommonEncryption'->new($_) } @$_ ] }; | ||
| 852 | |||
| 853 | declare 'MapStringMpegCommonEncryption', | ||
| 854 | as HashRef[MpegCommonEncryption()]; | ||
| 855 | |||
| 856 | declare 'SecretManagerSource', | ||
| 857 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::Encryption::SecretManagerSource']; | ||
| 858 | |||
| 859 | coerce 'SecretManagerSource', | ||
| 860 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::Encryption::SecretManagerSource'->new($_) }; | ||
| 861 | |||
| 862 | declare 'RepeatedSecretManagerSource', | ||
| 863 | as ArrayRef[SecretManagerSource()]; | ||
| 864 | |||
| 865 | coerce 'RepeatedSecretManagerSource', | ||
| 866 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::Encryption::SecretManagerSource'->new($_) } @$_ ] }; | ||
| 867 | |||
| 868 | declare 'MapStringSecretManagerSource', | ||
| 869 | as HashRef[SecretManagerSource()]; | ||
| 870 | |||
| 871 | declare 'Widevine', | ||
| 872 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::Encryption::Widevine']; | ||
| 873 | |||
| 874 | coerce 'Widevine', | ||
| 875 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::Encryption::Widevine'->new($_) }; | ||
| 876 | |||
| 877 | declare 'RepeatedWidevine', | ||
| 878 | as ArrayRef[Widevine()]; | ||
| 879 | |||
| 880 | coerce 'RepeatedWidevine', | ||
| 881 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::Encryption::Widevine'->new($_) } @$_ ] }; | ||
| 882 | |||
| 883 | declare 'MapStringWidevine', | ||
| 884 | as HashRef[Widevine()]; | ||
| 885 | |||
| 886 | declare 'Fairplay', | ||
| 887 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::Encryption::Fairplay']; | ||
| 888 | |||
| 889 | coerce 'Fairplay', | ||
| 890 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::Encryption::Fairplay'->new($_) }; | ||
| 891 | |||
| 892 | declare 'RepeatedFairplay', | ||
| 893 | as ArrayRef[Fairplay()]; | ||
| 894 | |||
| 895 | coerce 'RepeatedFairplay', | ||
| 896 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::Encryption::Fairplay'->new($_) } @$_ ] }; | ||
| 897 | |||
| 898 | declare 'MapStringFairplay', | ||
| 899 | as HashRef[Fairplay()]; | ||
| 900 | |||
| 901 | declare 'Playready', | ||
| 902 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::Encryption::Playready']; | ||
| 903 | |||
| 904 | coerce 'Playready', | ||
| 905 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::Encryption::Playready'->new($_) }; | ||
| 906 | |||
| 907 | declare 'RepeatedPlayready', | ||
| 908 | as ArrayRef[Playready()]; | ||
| 909 | |||
| 910 | coerce 'RepeatedPlayready', | ||
| 911 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::Encryption::Playready'->new($_) } @$_ ] }; | ||
| 912 | |||
| 913 | declare 'MapStringPlayready', | ||
| 914 | as HashRef[Playready()]; | ||
| 915 | |||
| 916 | declare 'Clearkey', | ||
| 917 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::Encryption::Clearkey']; | ||
| 918 | |||
| 919 | coerce 'Clearkey', | ||
| 920 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::Encryption::Clearkey'->new($_) }; | ||
| 921 | |||
| 922 | declare 'RepeatedClearkey', | ||
| 923 | as ArrayRef[Clearkey()]; | ||
| 924 | |||
| 925 | coerce 'RepeatedClearkey', | ||
| 926 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::Encryption::Clearkey'->new($_) } @$_ ] }; | ||
| 927 | |||
| 928 | declare 'MapStringClearkey', | ||
| 929 | as HashRef[Clearkey()]; | ||
| 930 | |||
| 931 | declare 'DrmSystems', | ||
| 932 | as InstanceOf['Google::Cloud::Video::Transcoder::V1::Resources::Encryption::DrmSystems']; | ||
| 933 | |||
| 934 | coerce 'DrmSystems', | ||
| 935 | from HashRef, via { 'Google::Cloud::Video::Transcoder::V1::Resources::Encryption::DrmSystems'->new($_) }; | ||
| 936 | |||
| 937 | declare 'RepeatedDrmSystems', | ||
| 938 | as ArrayRef[DrmSystems()]; | ||
| 939 | |||
| 940 | coerce 'RepeatedDrmSystems', | ||
| 941 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Transcoder::V1::Resources::Encryption::DrmSystems'->new($_) } @$_ ] }; | ||
| 942 | |||
| 943 | declare 'MapStringDrmSystems', | ||
| 944 | as HashRef[DrmSystems()]; | ||
| 945 | |||
| 946 | 1; | ||
| 947 | |||
| 948 | __END__ |