Class: Google::Apis::TranscoderV1::JobConfig
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1::JobConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/transcoder_v1/classes.rb,
lib/google/apis/transcoder_v1/representations.rb,
lib/google/apis/transcoder_v1/representations.rb
Overview
Job configuration
Instance Attribute Summary collapse
-
#ad_breaks ⇒ Array<Google::Apis::TranscoderV1::AdBreak>
List of ad breaks.
-
#edit_list ⇒ Array<Google::Apis::TranscoderV1::EditAtom>
List of edit atoms.
-
#elementary_streams ⇒ Array<Google::Apis::TranscoderV1::ElementaryStream>
List of elementary streams.
-
#encryptions ⇒ Array<Google::Apis::TranscoderV1::Encryption>
List of encryption configurations for the content.
-
#inputs ⇒ Array<Google::Apis::TranscoderV1::Input>
List of input assets stored in Cloud Storage.
-
#manifests ⇒ Array<Google::Apis::TranscoderV1::Manifest>
List of output manifests.
-
#mux_streams ⇒ Array<Google::Apis::TranscoderV1::MuxStream>
List of multiplexing settings for output streams.
-
#output ⇒ Google::Apis::TranscoderV1::Output
Location of output file(s) in a Cloud Storage bucket.
-
#overlays ⇒ Array<Google::Apis::TranscoderV1::Overlay>
List of overlays on the output video, in descending Z-order.
-
#pubsub_destination ⇒ Google::Apis::TranscoderV1::PubsubDestination
A Pub/Sub destination.
-
#sprite_sheets ⇒ Array<Google::Apis::TranscoderV1::SpriteSheet>
List of output sprite sheets.
Instance Method Summary collapse
-
#initialize(**args) ⇒ JobConfig
constructor
A new instance of JobConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ JobConfig
Returns a new instance of JobConfig.
1403 1404 1405 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1403 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad_breaks ⇒ Array<Google::Apis::TranscoderV1::AdBreak>
List of ad breaks. Specifies where to insert ad break tags in the output
manifests.
Corresponds to the JSON property adBreaks
1347 1348 1349 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1347 def ad_breaks @ad_breaks end |
#edit_list ⇒ Array<Google::Apis::TranscoderV1::EditAtom>
List of edit atoms. Defines the ultimate timeline of the resulting file or
manifest.
Corresponds to the JSON property editList
1353 1354 1355 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1353 def edit_list @edit_list end |
#elementary_streams ⇒ Array<Google::Apis::TranscoderV1::ElementaryStream>
List of elementary streams.
Corresponds to the JSON property elementaryStreams
1358 1359 1360 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1358 def elementary_streams @elementary_streams end |
#encryptions ⇒ Array<Google::Apis::TranscoderV1::Encryption>
List of encryption configurations for the content. Each configuration has an
ID. Specify this ID in the MuxStream.encryption_id field to indicate the
configuration to use for that MuxStream output.
Corresponds to the JSON property encryptions
1365 1366 1367 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1365 def encryptions @encryptions end |
#inputs ⇒ Array<Google::Apis::TranscoderV1::Input>
List of input assets stored in Cloud Storage.
Corresponds to the JSON property inputs
1370 1371 1372 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1370 def inputs @inputs end |
#manifests ⇒ Array<Google::Apis::TranscoderV1::Manifest>
List of output manifests.
Corresponds to the JSON property manifests
1375 1376 1377 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1375 def manifests @manifests end |
#mux_streams ⇒ Array<Google::Apis::TranscoderV1::MuxStream>
List of multiplexing settings for output streams.
Corresponds to the JSON property muxStreams
1380 1381 1382 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1380 def mux_streams @mux_streams end |
#output ⇒ Google::Apis::TranscoderV1::Output
Location of output file(s) in a Cloud Storage bucket.
Corresponds to the JSON property output
1385 1386 1387 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1385 def output @output end |
#overlays ⇒ Array<Google::Apis::TranscoderV1::Overlay>
List of overlays on the output video, in descending Z-order.
Corresponds to the JSON property overlays
1390 1391 1392 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1390 def @overlays end |
#pubsub_destination ⇒ Google::Apis::TranscoderV1::PubsubDestination
A Pub/Sub destination.
Corresponds to the JSON property pubsubDestination
1395 1396 1397 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1395 def pubsub_destination @pubsub_destination end |
#sprite_sheets ⇒ Array<Google::Apis::TranscoderV1::SpriteSheet>
List of output sprite sheets. Spritesheets require at least one VideoStream in
the Jobconfig.
Corresponds to the JSON property spriteSheets
1401 1402 1403 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1401 def sprite_sheets @sprite_sheets end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1408 def update!(**args) @ad_breaks = args[:ad_breaks] if args.key?(:ad_breaks) @edit_list = args[:edit_list] if args.key?(:edit_list) @elementary_streams = args[:elementary_streams] if args.key?(:elementary_streams) @encryptions = args[:encryptions] if args.key?(:encryptions) @inputs = args[:inputs] if args.key?(:inputs) @manifests = args[:manifests] if args.key?(:manifests) @mux_streams = args[:mux_streams] if args.key?(:mux_streams) @output = args[:output] if args.key?(:output) @overlays = args[:overlays] if args.key?(:overlays) @pubsub_destination = args[:pubsub_destination] if args.key?(:pubsub_destination) @sprite_sheets = args[:sprite_sheets] if args.key?(:sprite_sheets) end |