| 1 | package Google::Cloud::Video::Livestream::V1::Outputs::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 'ElementaryStream', | ||
| 11 | as InstanceOf['Google::Cloud::Video::Livestream::V1::Outputs::ElementaryStream']; | ||
| 12 | |||
| 13 | coerce 'ElementaryStream', | ||
| 14 | from HashRef, via { 'Google::Cloud::Video::Livestream::V1::Outputs::ElementaryStream'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedElementaryStream', | ||
| 17 | as ArrayRef[ElementaryStream()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedElementaryStream', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Livestream::V1::Outputs::ElementaryStream'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringElementaryStream', | ||
| 23 | as HashRef[ElementaryStream()]; | ||
| 24 | |||
| 25 | declare 'MuxStream', | ||
| 26 | as InstanceOf['Google::Cloud::Video::Livestream::V1::Outputs::MuxStream']; | ||
| 27 | |||
| 28 | coerce 'MuxStream', | ||
| 29 | from HashRef, via { 'Google::Cloud::Video::Livestream::V1::Outputs::MuxStream'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedMuxStream', | ||
| 32 | as ArrayRef[MuxStream()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedMuxStream', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Livestream::V1::Outputs::MuxStream'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringMuxStream', | ||
| 38 | as HashRef[MuxStream()]; | ||
| 39 | |||
| 40 | declare 'Manifest', | ||
| 41 | as InstanceOf['Google::Cloud::Video::Livestream::V1::Outputs::Manifest']; | ||
| 42 | |||
| 43 | coerce 'Manifest', | ||
| 44 | from HashRef, via { 'Google::Cloud::Video::Livestream::V1::Outputs::Manifest'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedManifest', | ||
| 47 | as ArrayRef[Manifest()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedManifest', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Livestream::V1::Outputs::Manifest'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringManifest', | ||
| 53 | as HashRef[Manifest()]; | ||
| 54 | |||
| 55 | declare 'ManifestType', | ||
| 56 | as (Int | Str); | ||
| 57 | |||
| 58 | declare 'DistributionStream', | ||
| 59 | as InstanceOf['Google::Cloud::Video::Livestream::V1::Outputs::DistributionStream']; | ||
| 60 | |||
| 61 | coerce 'DistributionStream', | ||
| 62 | from HashRef, via { 'Google::Cloud::Video::Livestream::V1::Outputs::DistributionStream'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedDistributionStream', | ||
| 65 | as ArrayRef[DistributionStream()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedDistributionStream', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Livestream::V1::Outputs::DistributionStream'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringDistributionStream', | ||
| 71 | as HashRef[DistributionStream()]; | ||
| 72 | |||
| 73 | declare 'Distribution', | ||
| 74 | as InstanceOf['Google::Cloud::Video::Livestream::V1::Outputs::Distribution']; | ||
| 75 | |||
| 76 | coerce 'Distribution', | ||
| 77 | from HashRef, via { 'Google::Cloud::Video::Livestream::V1::Outputs::Distribution'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedDistribution', | ||
| 80 | as ArrayRef[Distribution()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedDistribution', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Livestream::V1::Outputs::Distribution'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringDistribution', | ||
| 86 | as HashRef[Distribution()]; | ||
| 87 | |||
| 88 | declare 'State', | ||
| 89 | as (Int | Str); | ||
| 90 | |||
| 91 | declare 'SrtPushOutputEndpoint', | ||
| 92 | as InstanceOf['Google::Cloud::Video::Livestream::V1::Outputs::SrtPushOutputEndpoint']; | ||
| 93 | |||
| 94 | coerce 'SrtPushOutputEndpoint', | ||
| 95 | from HashRef, via { 'Google::Cloud::Video::Livestream::V1::Outputs::SrtPushOutputEndpoint'->new($_) }; | ||
| 96 | |||
| 97 | declare 'RepeatedSrtPushOutputEndpoint', | ||
| 98 | as ArrayRef[SrtPushOutputEndpoint()]; | ||
| 99 | |||
| 100 | coerce 'RepeatedSrtPushOutputEndpoint', | ||
| 101 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Livestream::V1::Outputs::SrtPushOutputEndpoint'->new($_) } @$_ ] }; | ||
| 102 | |||
| 103 | declare 'MapStringSrtPushOutputEndpoint', | ||
| 104 | as HashRef[SrtPushOutputEndpoint()]; | ||
| 105 | |||
| 106 | declare 'RtmpPushOutputEndpoint', | ||
| 107 | as InstanceOf['Google::Cloud::Video::Livestream::V1::Outputs::RtmpPushOutputEndpoint']; | ||
| 108 | |||
| 109 | coerce 'RtmpPushOutputEndpoint', | ||
| 110 | from HashRef, via { 'Google::Cloud::Video::Livestream::V1::Outputs::RtmpPushOutputEndpoint'->new($_) }; | ||
| 111 | |||
| 112 | declare 'RepeatedRtmpPushOutputEndpoint', | ||
| 113 | as ArrayRef[RtmpPushOutputEndpoint()]; | ||
| 114 | |||
| 115 | coerce 'RepeatedRtmpPushOutputEndpoint', | ||
| 116 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Livestream::V1::Outputs::RtmpPushOutputEndpoint'->new($_) } @$_ ] }; | ||
| 117 | |||
| 118 | declare 'MapStringRtmpPushOutputEndpoint', | ||
| 119 | as HashRef[RtmpPushOutputEndpoint()]; | ||
| 120 | |||
| 121 | declare 'SpriteSheet', | ||
| 122 | as InstanceOf['Google::Cloud::Video::Livestream::V1::Outputs::SpriteSheet']; | ||
| 123 | |||
| 124 | coerce 'SpriteSheet', | ||
| 125 | from HashRef, via { 'Google::Cloud::Video::Livestream::V1::Outputs::SpriteSheet'->new($_) }; | ||
| 126 | |||
| 127 | declare 'RepeatedSpriteSheet', | ||
| 128 | as ArrayRef[SpriteSheet()]; | ||
| 129 | |||
| 130 | coerce 'RepeatedSpriteSheet', | ||
| 131 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Livestream::V1::Outputs::SpriteSheet'->new($_) } @$_ ] }; | ||
| 132 | |||
| 133 | declare 'MapStringSpriteSheet', | ||
| 134 | as HashRef[SpriteSheet()]; | ||
| 135 | |||
| 136 | declare 'PreprocessingConfig', | ||
| 137 | as InstanceOf['Google::Cloud::Video::Livestream::V1::Outputs::PreprocessingConfig']; | ||
| 138 | |||
| 139 | coerce 'PreprocessingConfig', | ||
| 140 | from HashRef, via { 'Google::Cloud::Video::Livestream::V1::Outputs::PreprocessingConfig'->new($_) }; | ||
| 141 | |||
| 142 | declare 'RepeatedPreprocessingConfig', | ||
| 143 | as ArrayRef[PreprocessingConfig()]; | ||
| 144 | |||
| 145 | coerce 'RepeatedPreprocessingConfig', | ||
| 146 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Livestream::V1::Outputs::PreprocessingConfig'->new($_) } @$_ ] }; | ||
| 147 | |||
| 148 | declare 'MapStringPreprocessingConfig', | ||
| 149 | as HashRef[PreprocessingConfig()]; | ||
| 150 | |||
| 151 | declare 'Audio', | ||
| 152 | as InstanceOf['Google::Cloud::Video::Livestream::V1::Outputs::PreprocessingConfig::Audio']; | ||
| 153 | |||
| 154 | coerce 'Audio', | ||
| 155 | from HashRef, via { 'Google::Cloud::Video::Livestream::V1::Outputs::PreprocessingConfig::Audio'->new($_) }; | ||
| 156 | |||
| 157 | declare 'RepeatedAudio', | ||
| 158 | as ArrayRef[Audio()]; | ||
| 159 | |||
| 160 | coerce 'RepeatedAudio', | ||
| 161 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Livestream::V1::Outputs::PreprocessingConfig::Audio'->new($_) } @$_ ] }; | ||
| 162 | |||
| 163 | declare 'MapStringAudio', | ||
| 164 | as HashRef[Audio()]; | ||
| 165 | |||
| 166 | declare 'Crop', | ||
| 167 | as InstanceOf['Google::Cloud::Video::Livestream::V1::Outputs::PreprocessingConfig::Crop']; | ||
| 168 | |||
| 169 | coerce 'Crop', | ||
| 170 | from HashRef, via { 'Google::Cloud::Video::Livestream::V1::Outputs::PreprocessingConfig::Crop'->new($_) }; | ||
| 171 | |||
| 172 | declare 'RepeatedCrop', | ||
| 173 | as ArrayRef[Crop()]; | ||
| 174 | |||
| 175 | coerce 'RepeatedCrop', | ||
| 176 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Livestream::V1::Outputs::PreprocessingConfig::Crop'->new($_) } @$_ ] }; | ||
| 177 | |||
| 178 | declare 'MapStringCrop', | ||
| 179 | as HashRef[Crop()]; | ||
| 180 | |||
| 181 | declare 'Pad', | ||
| 182 | as InstanceOf['Google::Cloud::Video::Livestream::V1::Outputs::PreprocessingConfig::Pad']; | ||
| 183 | |||
| 184 | coerce 'Pad', | ||
| 185 | from HashRef, via { 'Google::Cloud::Video::Livestream::V1::Outputs::PreprocessingConfig::Pad'->new($_) }; | ||
| 186 | |||
| 187 | declare 'RepeatedPad', | ||
| 188 | as ArrayRef[Pad()]; | ||
| 189 | |||
| 190 | coerce 'RepeatedPad', | ||
| 191 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Livestream::V1::Outputs::PreprocessingConfig::Pad'->new($_) } @$_ ] }; | ||
| 192 | |||
| 193 | declare 'MapStringPad', | ||
| 194 | as HashRef[Pad()]; | ||
| 195 | |||
| 196 | declare 'VideoStream', | ||
| 197 | as InstanceOf['Google::Cloud::Video::Livestream::V1::Outputs::VideoStream']; | ||
| 198 | |||
| 199 | coerce 'VideoStream', | ||
| 200 | from HashRef, via { 'Google::Cloud::Video::Livestream::V1::Outputs::VideoStream'->new($_) }; | ||
| 201 | |||
| 202 | declare 'RepeatedVideoStream', | ||
| 203 | as ArrayRef[VideoStream()]; | ||
| 204 | |||
| 205 | coerce 'RepeatedVideoStream', | ||
| 206 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Livestream::V1::Outputs::VideoStream'->new($_) } @$_ ] }; | ||
| 207 | |||
| 208 | declare 'MapStringVideoStream', | ||
| 209 | as HashRef[VideoStream()]; | ||
| 210 | |||
| 211 | declare 'H264CodecSettings', | ||
| 212 | as InstanceOf['Google::Cloud::Video::Livestream::V1::Outputs::VideoStream::H264CodecSettings']; | ||
| 213 | |||
| 214 | coerce 'H264CodecSettings', | ||
| 215 | from HashRef, via { 'Google::Cloud::Video::Livestream::V1::Outputs::VideoStream::H264CodecSettings'->new($_) }; | ||
| 216 | |||
| 217 | declare 'RepeatedH264CodecSettings', | ||
| 218 | as ArrayRef[H264CodecSettings()]; | ||
| 219 | |||
| 220 | coerce 'RepeatedH264CodecSettings', | ||
| 221 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Livestream::V1::Outputs::VideoStream::H264CodecSettings'->new($_) } @$_ ] }; | ||
| 222 | |||
| 223 | declare 'MapStringH264CodecSettings', | ||
| 224 | as HashRef[H264CodecSettings()]; | ||
| 225 | |||
| 226 | declare 'H265CodecSettings', | ||
| 227 | as InstanceOf['Google::Cloud::Video::Livestream::V1::Outputs::VideoStream::H265CodecSettings']; | ||
| 228 | |||
| 229 | coerce 'H265CodecSettings', | ||
| 230 | from HashRef, via { 'Google::Cloud::Video::Livestream::V1::Outputs::VideoStream::H265CodecSettings'->new($_) }; | ||
| 231 | |||
| 232 | declare 'RepeatedH265CodecSettings', | ||
| 233 | as ArrayRef[H265CodecSettings()]; | ||
| 234 | |||
| 235 | coerce 'RepeatedH265CodecSettings', | ||
| 236 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Livestream::V1::Outputs::VideoStream::H265CodecSettings'->new($_) } @$_ ] }; | ||
| 237 | |||
| 238 | declare 'MapStringH265CodecSettings', | ||
| 239 | as HashRef[H265CodecSettings()]; | ||
| 240 | |||
| 241 | declare 'AudioStream', | ||
| 242 | as InstanceOf['Google::Cloud::Video::Livestream::V1::Outputs::AudioStream']; | ||
| 243 | |||
| 244 | coerce 'AudioStream', | ||
| 245 | from HashRef, via { 'Google::Cloud::Video::Livestream::V1::Outputs::AudioStream'->new($_) }; | ||
| 246 | |||
| 247 | declare 'RepeatedAudioStream', | ||
| 248 | as ArrayRef[AudioStream()]; | ||
| 249 | |||
| 250 | coerce 'RepeatedAudioStream', | ||
| 251 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Livestream::V1::Outputs::AudioStream'->new($_) } @$_ ] }; | ||
| 252 | |||
| 253 | declare 'MapStringAudioStream', | ||
| 254 | as HashRef[AudioStream()]; | ||
| 255 | |||
| 256 | declare 'AudioMapping', | ||
| 257 | as InstanceOf['Google::Cloud::Video::Livestream::V1::Outputs::AudioStream::AudioMapping']; | ||
| 258 | |||
| 259 | coerce 'AudioMapping', | ||
| 260 | from HashRef, via { 'Google::Cloud::Video::Livestream::V1::Outputs::AudioStream::AudioMapping'->new($_) }; | ||
| 261 | |||
| 262 | declare 'RepeatedAudioMapping', | ||
| 263 | as ArrayRef[AudioMapping()]; | ||
| 264 | |||
| 265 | coerce 'RepeatedAudioMapping', | ||
| 266 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Livestream::V1::Outputs::AudioStream::AudioMapping'->new($_) } @$_ ] }; | ||
| 267 | |||
| 268 | declare 'MapStringAudioMapping', | ||
| 269 | as HashRef[AudioMapping()]; | ||
| 270 | |||
| 271 | declare 'TextStream', | ||
| 272 | as InstanceOf['Google::Cloud::Video::Livestream::V1::Outputs::TextStream']; | ||
| 273 | |||
| 274 | coerce 'TextStream', | ||
| 275 | from HashRef, via { 'Google::Cloud::Video::Livestream::V1::Outputs::TextStream'->new($_) }; | ||
| 276 | |||
| 277 | declare 'RepeatedTextStream', | ||
| 278 | as ArrayRef[TextStream()]; | ||
| 279 | |||
| 280 | coerce 'RepeatedTextStream', | ||
| 281 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Livestream::V1::Outputs::TextStream'->new($_) } @$_ ] }; | ||
| 282 | |||
| 283 | declare 'MapStringTextStream', | ||
| 284 | as HashRef[TextStream()]; | ||
| 285 | |||
| 286 | declare 'TextMapping', | ||
| 287 | as InstanceOf['Google::Cloud::Video::Livestream::V1::Outputs::TextStream::TextMapping']; | ||
| 288 | |||
| 289 | coerce 'TextMapping', | ||
| 290 | from HashRef, via { 'Google::Cloud::Video::Livestream::V1::Outputs::TextStream::TextMapping'->new($_) }; | ||
| 291 | |||
| 292 | declare 'RepeatedTextMapping', | ||
| 293 | as ArrayRef[TextMapping()]; | ||
| 294 | |||
| 295 | coerce 'RepeatedTextMapping', | ||
| 296 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Livestream::V1::Outputs::TextStream::TextMapping'->new($_) } @$_ ] }; | ||
| 297 | |||
| 298 | declare 'MapStringTextMapping', | ||
| 299 | as HashRef[TextMapping()]; | ||
| 300 | |||
| 301 | declare 'SegmentSettings', | ||
| 302 | as InstanceOf['Google::Cloud::Video::Livestream::V1::Outputs::SegmentSettings']; | ||
| 303 | |||
| 304 | coerce 'SegmentSettings', | ||
| 305 | from HashRef, via { 'Google::Cloud::Video::Livestream::V1::Outputs::SegmentSettings'->new($_) }; | ||
| 306 | |||
| 307 | declare 'RepeatedSegmentSettings', | ||
| 308 | as ArrayRef[SegmentSettings()]; | ||
| 309 | |||
| 310 | coerce 'RepeatedSegmentSettings', | ||
| 311 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Livestream::V1::Outputs::SegmentSettings'->new($_) } @$_ ] }; | ||
| 312 | |||
| 313 | declare 'MapStringSegmentSettings', | ||
| 314 | as HashRef[SegmentSettings()]; | ||
| 315 | |||
| 316 | declare 'TimecodeConfig', | ||
| 317 | as InstanceOf['Google::Cloud::Video::Livestream::V1::Outputs::TimecodeConfig']; | ||
| 318 | |||
| 319 | coerce 'TimecodeConfig', | ||
| 320 | from HashRef, via { 'Google::Cloud::Video::Livestream::V1::Outputs::TimecodeConfig'->new($_) }; | ||
| 321 | |||
| 322 | declare 'RepeatedTimecodeConfig', | ||
| 323 | as ArrayRef[TimecodeConfig()]; | ||
| 324 | |||
| 325 | coerce 'RepeatedTimecodeConfig', | ||
| 326 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Video::Livestream::V1::Outputs::TimecodeConfig'->new($_) } @$_ ] }; | ||
| 327 | |||
| 328 | declare 'MapStringTimecodeConfig', | ||
| 329 | as HashRef[TimecodeConfig()]; | ||
| 330 | |||
| 331 | declare 'TimecodeSource', | ||
| 332 | as (Int | Str); | ||
| 333 | |||
| 334 | 1; | ||
| 335 | |||
| 336 | __END__ |