google-apis-transcoder_v1 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +13 -0
- data/CHANGELOG.md +7 -0
- data/LICENSE.md +202 -0
- data/OVERVIEW.md +96 -0
- data/lib/google/apis/transcoder_v1/classes.rb +1816 -0
- data/lib/google/apis/transcoder_v1/gem_version.rb +28 -0
- data/lib/google/apis/transcoder_v1/representations.rb +710 -0
- data/lib/google/apis/transcoder_v1/service.rb +355 -0
- data/lib/google/apis/transcoder_v1.rb +36 -0
- data/lib/google-apis-transcoder_v1.rb +15 -0
- metadata +82 -0
@@ -0,0 +1,710 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module TranscoderV1
|
24
|
+
|
25
|
+
class AdBreak
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class Animation
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class AnimationEnd
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class AnimationFade
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class AnimationStatic
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class Audio
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class AudioMapping
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class AudioStream
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class Color
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class Crop
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class Deblock
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class Denoise
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class EditAtom
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class ElementaryStream
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class Empty
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class H264CodecSettings
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class H265CodecSettings
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class Image
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class Input
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class Job
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class JobConfig
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class JobTemplate
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class ListJobTemplatesResponse
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class ListJobsResponse
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class Manifest
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class MuxStream
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class NormalizedCoordinate
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class Output
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class Overlay
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class Pad
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class PreprocessingConfig
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class PubsubDestination
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class SegmentSettings
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class SpriteSheet
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class Status
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class TextMapping
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
241
|
+
class TextStream
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class VideoStream
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
253
|
+
class Vp9CodecSettings
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
259
|
+
class AdBreak
|
260
|
+
# @private
|
261
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
262
|
+
property :start_time_offset, as: 'startTimeOffset'
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
266
|
+
class Animation
|
267
|
+
# @private
|
268
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
269
|
+
property :animation_end, as: 'animationEnd', class: Google::Apis::TranscoderV1::AnimationEnd, decorator: Google::Apis::TranscoderV1::AnimationEnd::Representation
|
270
|
+
|
271
|
+
property :animation_fade, as: 'animationFade', class: Google::Apis::TranscoderV1::AnimationFade, decorator: Google::Apis::TranscoderV1::AnimationFade::Representation
|
272
|
+
|
273
|
+
property :animation_static, as: 'animationStatic', class: Google::Apis::TranscoderV1::AnimationStatic, decorator: Google::Apis::TranscoderV1::AnimationStatic::Representation
|
274
|
+
|
275
|
+
end
|
276
|
+
end
|
277
|
+
|
278
|
+
class AnimationEnd
|
279
|
+
# @private
|
280
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
281
|
+
property :start_time_offset, as: 'startTimeOffset'
|
282
|
+
end
|
283
|
+
end
|
284
|
+
|
285
|
+
class AnimationFade
|
286
|
+
# @private
|
287
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
288
|
+
property :end_time_offset, as: 'endTimeOffset'
|
289
|
+
property :fade_type, as: 'fadeType'
|
290
|
+
property :start_time_offset, as: 'startTimeOffset'
|
291
|
+
property :xy, as: 'xy', class: Google::Apis::TranscoderV1::NormalizedCoordinate, decorator: Google::Apis::TranscoderV1::NormalizedCoordinate::Representation
|
292
|
+
|
293
|
+
end
|
294
|
+
end
|
295
|
+
|
296
|
+
class AnimationStatic
|
297
|
+
# @private
|
298
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
299
|
+
property :start_time_offset, as: 'startTimeOffset'
|
300
|
+
property :xy, as: 'xy', class: Google::Apis::TranscoderV1::NormalizedCoordinate, decorator: Google::Apis::TranscoderV1::NormalizedCoordinate::Representation
|
301
|
+
|
302
|
+
end
|
303
|
+
end
|
304
|
+
|
305
|
+
class Audio
|
306
|
+
# @private
|
307
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
308
|
+
property :high_boost, as: 'highBoost'
|
309
|
+
property :low_boost, as: 'lowBoost'
|
310
|
+
property :lufs, as: 'lufs'
|
311
|
+
end
|
312
|
+
end
|
313
|
+
|
314
|
+
class AudioMapping
|
315
|
+
# @private
|
316
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
317
|
+
property :atom_key, as: 'atomKey'
|
318
|
+
property :gain_db, as: 'gainDb'
|
319
|
+
property :input_channel, as: 'inputChannel'
|
320
|
+
property :input_key, as: 'inputKey'
|
321
|
+
property :input_track, as: 'inputTrack'
|
322
|
+
property :output_channel, as: 'outputChannel'
|
323
|
+
end
|
324
|
+
end
|
325
|
+
|
326
|
+
class AudioStream
|
327
|
+
# @private
|
328
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
329
|
+
property :bitrate_bps, as: 'bitrateBps'
|
330
|
+
property :channel_count, as: 'channelCount'
|
331
|
+
collection :channel_layout, as: 'channelLayout'
|
332
|
+
property :codec, as: 'codec'
|
333
|
+
collection :mapping, as: 'mapping', class: Google::Apis::TranscoderV1::AudioMapping, decorator: Google::Apis::TranscoderV1::AudioMapping::Representation
|
334
|
+
|
335
|
+
property :sample_rate_hertz, as: 'sampleRateHertz'
|
336
|
+
end
|
337
|
+
end
|
338
|
+
|
339
|
+
class Color
|
340
|
+
# @private
|
341
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
342
|
+
property :brightness, as: 'brightness'
|
343
|
+
property :contrast, as: 'contrast'
|
344
|
+
property :saturation, as: 'saturation'
|
345
|
+
end
|
346
|
+
end
|
347
|
+
|
348
|
+
class Crop
|
349
|
+
# @private
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
351
|
+
property :bottom_pixels, as: 'bottomPixels'
|
352
|
+
property :left_pixels, as: 'leftPixels'
|
353
|
+
property :right_pixels, as: 'rightPixels'
|
354
|
+
property :top_pixels, as: 'topPixels'
|
355
|
+
end
|
356
|
+
end
|
357
|
+
|
358
|
+
class Deblock
|
359
|
+
# @private
|
360
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
361
|
+
property :enabled, as: 'enabled'
|
362
|
+
property :strength, as: 'strength'
|
363
|
+
end
|
364
|
+
end
|
365
|
+
|
366
|
+
class Denoise
|
367
|
+
# @private
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
369
|
+
property :strength, as: 'strength'
|
370
|
+
property :tune, as: 'tune'
|
371
|
+
end
|
372
|
+
end
|
373
|
+
|
374
|
+
class EditAtom
|
375
|
+
# @private
|
376
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
377
|
+
property :end_time_offset, as: 'endTimeOffset'
|
378
|
+
collection :inputs, as: 'inputs'
|
379
|
+
property :key, as: 'key'
|
380
|
+
property :start_time_offset, as: 'startTimeOffset'
|
381
|
+
end
|
382
|
+
end
|
383
|
+
|
384
|
+
class ElementaryStream
|
385
|
+
# @private
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
387
|
+
property :audio_stream, as: 'audioStream', class: Google::Apis::TranscoderV1::AudioStream, decorator: Google::Apis::TranscoderV1::AudioStream::Representation
|
388
|
+
|
389
|
+
property :key, as: 'key'
|
390
|
+
property :text_stream, as: 'textStream', class: Google::Apis::TranscoderV1::TextStream, decorator: Google::Apis::TranscoderV1::TextStream::Representation
|
391
|
+
|
392
|
+
property :video_stream, as: 'videoStream', class: Google::Apis::TranscoderV1::VideoStream, decorator: Google::Apis::TranscoderV1::VideoStream::Representation
|
393
|
+
|
394
|
+
end
|
395
|
+
end
|
396
|
+
|
397
|
+
class Empty
|
398
|
+
# @private
|
399
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
400
|
+
end
|
401
|
+
end
|
402
|
+
|
403
|
+
class H264CodecSettings
|
404
|
+
# @private
|
405
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
406
|
+
property :allow_open_gop, as: 'allowOpenGop'
|
407
|
+
property :aq_strength, as: 'aqStrength'
|
408
|
+
property :b_frame_count, as: 'bFrameCount'
|
409
|
+
property :b_pyramid, as: 'bPyramid'
|
410
|
+
property :bitrate_bps, as: 'bitrateBps'
|
411
|
+
property :crf_level, as: 'crfLevel'
|
412
|
+
property :enable_two_pass, as: 'enableTwoPass'
|
413
|
+
property :entropy_coder, as: 'entropyCoder'
|
414
|
+
property :frame_rate, as: 'frameRate'
|
415
|
+
property :gop_duration, as: 'gopDuration'
|
416
|
+
property :gop_frame_count, as: 'gopFrameCount'
|
417
|
+
property :height_pixels, as: 'heightPixels'
|
418
|
+
property :pixel_format, as: 'pixelFormat'
|
419
|
+
property :preset, as: 'preset'
|
420
|
+
property :profile, as: 'profile'
|
421
|
+
property :rate_control_mode, as: 'rateControlMode'
|
422
|
+
property :tune, as: 'tune'
|
423
|
+
property :vbv_fullness_bits, as: 'vbvFullnessBits'
|
424
|
+
property :vbv_size_bits, as: 'vbvSizeBits'
|
425
|
+
property :width_pixels, as: 'widthPixels'
|
426
|
+
end
|
427
|
+
end
|
428
|
+
|
429
|
+
class H265CodecSettings
|
430
|
+
# @private
|
431
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
432
|
+
property :allow_open_gop, as: 'allowOpenGop'
|
433
|
+
property :aq_strength, as: 'aqStrength'
|
434
|
+
property :b_frame_count, as: 'bFrameCount'
|
435
|
+
property :b_pyramid, as: 'bPyramid'
|
436
|
+
property :bitrate_bps, as: 'bitrateBps'
|
437
|
+
property :crf_level, as: 'crfLevel'
|
438
|
+
property :enable_two_pass, as: 'enableTwoPass'
|
439
|
+
property :frame_rate, as: 'frameRate'
|
440
|
+
property :gop_duration, as: 'gopDuration'
|
441
|
+
property :gop_frame_count, as: 'gopFrameCount'
|
442
|
+
property :height_pixels, as: 'heightPixels'
|
443
|
+
property :pixel_format, as: 'pixelFormat'
|
444
|
+
property :preset, as: 'preset'
|
445
|
+
property :profile, as: 'profile'
|
446
|
+
property :rate_control_mode, as: 'rateControlMode'
|
447
|
+
property :tune, as: 'tune'
|
448
|
+
property :vbv_fullness_bits, as: 'vbvFullnessBits'
|
449
|
+
property :vbv_size_bits, as: 'vbvSizeBits'
|
450
|
+
property :width_pixels, as: 'widthPixels'
|
451
|
+
end
|
452
|
+
end
|
453
|
+
|
454
|
+
class Image
|
455
|
+
# @private
|
456
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
457
|
+
property :alpha, as: 'alpha'
|
458
|
+
property :resolution, as: 'resolution', class: Google::Apis::TranscoderV1::NormalizedCoordinate, decorator: Google::Apis::TranscoderV1::NormalizedCoordinate::Representation
|
459
|
+
|
460
|
+
property :uri, as: 'uri'
|
461
|
+
end
|
462
|
+
end
|
463
|
+
|
464
|
+
class Input
|
465
|
+
# @private
|
466
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
467
|
+
property :key, as: 'key'
|
468
|
+
property :preprocessing_config, as: 'preprocessingConfig', class: Google::Apis::TranscoderV1::PreprocessingConfig, decorator: Google::Apis::TranscoderV1::PreprocessingConfig::Representation
|
469
|
+
|
470
|
+
property :uri, as: 'uri'
|
471
|
+
end
|
472
|
+
end
|
473
|
+
|
474
|
+
class Job
|
475
|
+
# @private
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
477
|
+
property :config, as: 'config', class: Google::Apis::TranscoderV1::JobConfig, decorator: Google::Apis::TranscoderV1::JobConfig::Representation
|
478
|
+
|
479
|
+
property :create_time, as: 'createTime'
|
480
|
+
property :end_time, as: 'endTime'
|
481
|
+
property :error, as: 'error', class: Google::Apis::TranscoderV1::Status, decorator: Google::Apis::TranscoderV1::Status::Representation
|
482
|
+
|
483
|
+
property :input_uri, as: 'inputUri'
|
484
|
+
property :name, as: 'name'
|
485
|
+
property :output_uri, as: 'outputUri'
|
486
|
+
property :start_time, as: 'startTime'
|
487
|
+
property :state, as: 'state'
|
488
|
+
property :template_id, as: 'templateId'
|
489
|
+
property :ttl_after_completion_days, as: 'ttlAfterCompletionDays'
|
490
|
+
end
|
491
|
+
end
|
492
|
+
|
493
|
+
class JobConfig
|
494
|
+
# @private
|
495
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
496
|
+
collection :ad_breaks, as: 'adBreaks', class: Google::Apis::TranscoderV1::AdBreak, decorator: Google::Apis::TranscoderV1::AdBreak::Representation
|
497
|
+
|
498
|
+
collection :edit_list, as: 'editList', class: Google::Apis::TranscoderV1::EditAtom, decorator: Google::Apis::TranscoderV1::EditAtom::Representation
|
499
|
+
|
500
|
+
collection :elementary_streams, as: 'elementaryStreams', class: Google::Apis::TranscoderV1::ElementaryStream, decorator: Google::Apis::TranscoderV1::ElementaryStream::Representation
|
501
|
+
|
502
|
+
collection :inputs, as: 'inputs', class: Google::Apis::TranscoderV1::Input, decorator: Google::Apis::TranscoderV1::Input::Representation
|
503
|
+
|
504
|
+
collection :manifests, as: 'manifests', class: Google::Apis::TranscoderV1::Manifest, decorator: Google::Apis::TranscoderV1::Manifest::Representation
|
505
|
+
|
506
|
+
collection :mux_streams, as: 'muxStreams', class: Google::Apis::TranscoderV1::MuxStream, decorator: Google::Apis::TranscoderV1::MuxStream::Representation
|
507
|
+
|
508
|
+
property :output, as: 'output', class: Google::Apis::TranscoderV1::Output, decorator: Google::Apis::TranscoderV1::Output::Representation
|
509
|
+
|
510
|
+
collection :overlays, as: 'overlays', class: Google::Apis::TranscoderV1::Overlay, decorator: Google::Apis::TranscoderV1::Overlay::Representation
|
511
|
+
|
512
|
+
property :pubsub_destination, as: 'pubsubDestination', class: Google::Apis::TranscoderV1::PubsubDestination, decorator: Google::Apis::TranscoderV1::PubsubDestination::Representation
|
513
|
+
|
514
|
+
collection :sprite_sheets, as: 'spriteSheets', class: Google::Apis::TranscoderV1::SpriteSheet, decorator: Google::Apis::TranscoderV1::SpriteSheet::Representation
|
515
|
+
|
516
|
+
end
|
517
|
+
end
|
518
|
+
|
519
|
+
class JobTemplate
|
520
|
+
# @private
|
521
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
522
|
+
property :config, as: 'config', class: Google::Apis::TranscoderV1::JobConfig, decorator: Google::Apis::TranscoderV1::JobConfig::Representation
|
523
|
+
|
524
|
+
property :name, as: 'name'
|
525
|
+
end
|
526
|
+
end
|
527
|
+
|
528
|
+
class ListJobTemplatesResponse
|
529
|
+
# @private
|
530
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
531
|
+
collection :job_templates, as: 'jobTemplates', class: Google::Apis::TranscoderV1::JobTemplate, decorator: Google::Apis::TranscoderV1::JobTemplate::Representation
|
532
|
+
|
533
|
+
property :next_page_token, as: 'nextPageToken'
|
534
|
+
collection :unreachable, as: 'unreachable'
|
535
|
+
end
|
536
|
+
end
|
537
|
+
|
538
|
+
class ListJobsResponse
|
539
|
+
# @private
|
540
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
541
|
+
collection :jobs, as: 'jobs', class: Google::Apis::TranscoderV1::Job, decorator: Google::Apis::TranscoderV1::Job::Representation
|
542
|
+
|
543
|
+
property :next_page_token, as: 'nextPageToken'
|
544
|
+
collection :unreachable, as: 'unreachable'
|
545
|
+
end
|
546
|
+
end
|
547
|
+
|
548
|
+
class Manifest
|
549
|
+
# @private
|
550
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
551
|
+
property :file_name, as: 'fileName'
|
552
|
+
collection :mux_streams, as: 'muxStreams'
|
553
|
+
property :type, as: 'type'
|
554
|
+
end
|
555
|
+
end
|
556
|
+
|
557
|
+
class MuxStream
|
558
|
+
# @private
|
559
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
560
|
+
property :container, as: 'container'
|
561
|
+
collection :elementary_streams, as: 'elementaryStreams'
|
562
|
+
property :file_name, as: 'fileName'
|
563
|
+
property :key, as: 'key'
|
564
|
+
property :segment_settings, as: 'segmentSettings', class: Google::Apis::TranscoderV1::SegmentSettings, decorator: Google::Apis::TranscoderV1::SegmentSettings::Representation
|
565
|
+
|
566
|
+
end
|
567
|
+
end
|
568
|
+
|
569
|
+
class NormalizedCoordinate
|
570
|
+
# @private
|
571
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
572
|
+
property :x, as: 'x'
|
573
|
+
property :y, as: 'y'
|
574
|
+
end
|
575
|
+
end
|
576
|
+
|
577
|
+
class Output
|
578
|
+
# @private
|
579
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
580
|
+
property :uri, as: 'uri'
|
581
|
+
end
|
582
|
+
end
|
583
|
+
|
584
|
+
class Overlay
|
585
|
+
# @private
|
586
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
587
|
+
collection :animations, as: 'animations', class: Google::Apis::TranscoderV1::Animation, decorator: Google::Apis::TranscoderV1::Animation::Representation
|
588
|
+
|
589
|
+
property :image, as: 'image', class: Google::Apis::TranscoderV1::Image, decorator: Google::Apis::TranscoderV1::Image::Representation
|
590
|
+
|
591
|
+
end
|
592
|
+
end
|
593
|
+
|
594
|
+
class Pad
|
595
|
+
# @private
|
596
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
597
|
+
property :bottom_pixels, as: 'bottomPixels'
|
598
|
+
property :left_pixels, as: 'leftPixels'
|
599
|
+
property :right_pixels, as: 'rightPixels'
|
600
|
+
property :top_pixels, as: 'topPixels'
|
601
|
+
end
|
602
|
+
end
|
603
|
+
|
604
|
+
class PreprocessingConfig
|
605
|
+
# @private
|
606
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
607
|
+
property :audio, as: 'audio', class: Google::Apis::TranscoderV1::Audio, decorator: Google::Apis::TranscoderV1::Audio::Representation
|
608
|
+
|
609
|
+
property :color, as: 'color', class: Google::Apis::TranscoderV1::Color, decorator: Google::Apis::TranscoderV1::Color::Representation
|
610
|
+
|
611
|
+
property :crop, as: 'crop', class: Google::Apis::TranscoderV1::Crop, decorator: Google::Apis::TranscoderV1::Crop::Representation
|
612
|
+
|
613
|
+
property :deblock, as: 'deblock', class: Google::Apis::TranscoderV1::Deblock, decorator: Google::Apis::TranscoderV1::Deblock::Representation
|
614
|
+
|
615
|
+
property :denoise, as: 'denoise', class: Google::Apis::TranscoderV1::Denoise, decorator: Google::Apis::TranscoderV1::Denoise::Representation
|
616
|
+
|
617
|
+
property :pad, as: 'pad', class: Google::Apis::TranscoderV1::Pad, decorator: Google::Apis::TranscoderV1::Pad::Representation
|
618
|
+
|
619
|
+
end
|
620
|
+
end
|
621
|
+
|
622
|
+
class PubsubDestination
|
623
|
+
# @private
|
624
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
625
|
+
property :topic, as: 'topic'
|
626
|
+
end
|
627
|
+
end
|
628
|
+
|
629
|
+
class SegmentSettings
|
630
|
+
# @private
|
631
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
632
|
+
property :individual_segments, as: 'individualSegments'
|
633
|
+
property :segment_duration, as: 'segmentDuration'
|
634
|
+
end
|
635
|
+
end
|
636
|
+
|
637
|
+
class SpriteSheet
|
638
|
+
# @private
|
639
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
640
|
+
property :column_count, as: 'columnCount'
|
641
|
+
property :end_time_offset, as: 'endTimeOffset'
|
642
|
+
property :file_prefix, as: 'filePrefix'
|
643
|
+
property :format, as: 'format'
|
644
|
+
property :interval, as: 'interval'
|
645
|
+
property :quality, as: 'quality'
|
646
|
+
property :row_count, as: 'rowCount'
|
647
|
+
property :sprite_height_pixels, as: 'spriteHeightPixels'
|
648
|
+
property :sprite_width_pixels, as: 'spriteWidthPixels'
|
649
|
+
property :start_time_offset, as: 'startTimeOffset'
|
650
|
+
property :total_count, as: 'totalCount'
|
651
|
+
end
|
652
|
+
end
|
653
|
+
|
654
|
+
class Status
|
655
|
+
# @private
|
656
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
657
|
+
property :code, as: 'code'
|
658
|
+
collection :details, as: 'details'
|
659
|
+
property :message, as: 'message'
|
660
|
+
end
|
661
|
+
end
|
662
|
+
|
663
|
+
class TextMapping
|
664
|
+
# @private
|
665
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
666
|
+
property :atom_key, as: 'atomKey'
|
667
|
+
property :input_key, as: 'inputKey'
|
668
|
+
property :input_track, as: 'inputTrack'
|
669
|
+
end
|
670
|
+
end
|
671
|
+
|
672
|
+
class TextStream
|
673
|
+
# @private
|
674
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
675
|
+
property :codec, as: 'codec'
|
676
|
+
collection :mapping, as: 'mapping', class: Google::Apis::TranscoderV1::TextMapping, decorator: Google::Apis::TranscoderV1::TextMapping::Representation
|
677
|
+
|
678
|
+
end
|
679
|
+
end
|
680
|
+
|
681
|
+
class VideoStream
|
682
|
+
# @private
|
683
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
684
|
+
property :h264, as: 'h264', class: Google::Apis::TranscoderV1::H264CodecSettings, decorator: Google::Apis::TranscoderV1::H264CodecSettings::Representation
|
685
|
+
|
686
|
+
property :h265, as: 'h265', class: Google::Apis::TranscoderV1::H265CodecSettings, decorator: Google::Apis::TranscoderV1::H265CodecSettings::Representation
|
687
|
+
|
688
|
+
property :vp9, as: 'vp9', class: Google::Apis::TranscoderV1::Vp9CodecSettings, decorator: Google::Apis::TranscoderV1::Vp9CodecSettings::Representation
|
689
|
+
|
690
|
+
end
|
691
|
+
end
|
692
|
+
|
693
|
+
class Vp9CodecSettings
|
694
|
+
# @private
|
695
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
696
|
+
property :bitrate_bps, as: 'bitrateBps'
|
697
|
+
property :crf_level, as: 'crfLevel'
|
698
|
+
property :frame_rate, as: 'frameRate'
|
699
|
+
property :gop_duration, as: 'gopDuration'
|
700
|
+
property :gop_frame_count, as: 'gopFrameCount'
|
701
|
+
property :height_pixels, as: 'heightPixels'
|
702
|
+
property :pixel_format, as: 'pixelFormat'
|
703
|
+
property :profile, as: 'profile'
|
704
|
+
property :rate_control_mode, as: 'rateControlMode'
|
705
|
+
property :width_pixels, as: 'widthPixels'
|
706
|
+
end
|
707
|
+
end
|
708
|
+
end
|
709
|
+
end
|
710
|
+
end
|