Class: Google::Apis::TranscoderV1::JobConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ JobConfig

Returns a new instance of JobConfig.



1106
1107
1108
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1106

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#ad_breaksArray<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



1058
1059
1060
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1058

def ad_breaks
  @ad_breaks
end

#edit_listArray<Google::Apis::TranscoderV1::EditAtom>

List of Edit atoms. Defines the ultimate timeline of the resulting file or manifest. Corresponds to the JSON property editList



1064
1065
1066
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1064

def edit_list
  @edit_list
end

#elementary_streamsArray<Google::Apis::TranscoderV1::ElementaryStream>

List of elementary streams. Corresponds to the JSON property elementaryStreams



1069
1070
1071
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1069

def elementary_streams
  @elementary_streams
end

#inputsArray<Google::Apis::TranscoderV1::Input>

List of input assets stored in Cloud Storage. Corresponds to the JSON property inputs



1074
1075
1076
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1074

def inputs
  @inputs
end

#manifestsArray<Google::Apis::TranscoderV1::Manifest>

List of output manifests. Corresponds to the JSON property manifests



1079
1080
1081
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1079

def manifests
  @manifests
end

#mux_streamsArray<Google::Apis::TranscoderV1::MuxStream>

List of multiplexing settings for output streams. Corresponds to the JSON property muxStreams



1084
1085
1086
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1084

def mux_streams
  @mux_streams
end

#outputGoogle::Apis::TranscoderV1::Output

Location of output file(s) in a Cloud Storage bucket. Corresponds to the JSON property output



1089
1090
1091
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1089

def output
  @output
end

#overlaysArray<Google::Apis::TranscoderV1::Overlay>

List of overlays on the output video, in descending Z-order. Corresponds to the JSON property overlays



1094
1095
1096
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1094

def overlays
  @overlays
end

#pubsub_destinationGoogle::Apis::TranscoderV1::PubsubDestination

A Pub/Sub destination. Corresponds to the JSON property pubsubDestination



1099
1100
1101
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1099

def pubsub_destination
  @pubsub_destination
end

#sprite_sheetsArray<Google::Apis::TranscoderV1::SpriteSheet>

List of output sprite sheets. Corresponds to the JSON property spriteSheets



1104
1105
1106
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1104

def sprite_sheets
  @sprite_sheets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
# 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