class Google::Apis::TranscoderV1::JobConfig

Job configuration

Attributes

ad_breaks[RW]

List of ad breaks. Specifies where to insert ad break tags in the output manifests. Corresponds to the JSON property ‘adBreaks` @return [Array<Google::Apis::TranscoderV1::AdBreak>]

edit_list[RW]

List of ‘Edit atom`s. Defines the ultimate timeline of the resulting file or manifest. Corresponds to the JSON property `editList` @return [Array<Google::Apis::TranscoderV1::EditAtom>]

elementary_streams[RW]

List of elementary streams. Corresponds to the JSON property ‘elementaryStreams` @return [Array<Google::Apis::TranscoderV1::ElementaryStream>]

inputs[RW]

List of input assets stored in Cloud Storage. Corresponds to the JSON property ‘inputs` @return [Array<Google::Apis::TranscoderV1::Input>]

manifests[RW]

List of output manifests. Corresponds to the JSON property ‘manifests` @return [Array<Google::Apis::TranscoderV1::Manifest>]

mux_streams[RW]

List of multiplexing settings for output streams. Corresponds to the JSON property ‘muxStreams` @return [Array<Google::Apis::TranscoderV1::MuxStream>]

output[RW]

Location of output file(s) in a Cloud Storage bucket. Corresponds to the JSON property ‘output` @return [Google::Apis::TranscoderV1::Output]

overlays[RW]

List of overlays on the output video, in descending Z-order. Corresponds to the JSON property ‘overlays` @return [Array<Google::Apis::TranscoderV1::Overlay>]

pubsub_destination[RW]

A Pub/Sub destination. Corresponds to the JSON property ‘pubsubDestination` @return [Google::Apis::TranscoderV1::PubsubDestination]

sprite_sheets[RW]

List of output sprite sheets. Corresponds to the JSON property ‘spriteSheets` @return [Array<Google::Apis::TranscoderV1::SpriteSheet>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/transcoder_v1/classes.rb, line 1106
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/transcoder_v1/classes.rb, line 1111
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)
  @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