Class: Google::Apis::TranscoderV1beta1::JobConfig
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1beta1::JobConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/transcoder_v1beta1/classes.rb,
generated/google/apis/transcoder_v1beta1/representations.rb,
generated/google/apis/transcoder_v1beta1/representations.rb
Overview
Job configuration
Instance Attribute Summary collapse
-
#ad_breaks ⇒ Array<Google::Apis::TranscoderV1beta1::AdBreak>
List of ad breaks.
-
#edit_list ⇒ Array<Google::Apis::TranscoderV1beta1::EditAtom>
List of
Edit atom
s. -
#elementary_streams ⇒ Array<Google::Apis::TranscoderV1beta1::ElementaryStream>
List of elementary streams.
-
#inputs ⇒ Array<Google::Apis::TranscoderV1beta1::Input>
List of input assets stored in Cloud Storage.
-
#manifests ⇒ Array<Google::Apis::TranscoderV1beta1::Manifest>
List of output manifests.
-
#mux_streams ⇒ Array<Google::Apis::TranscoderV1beta1::MuxStream>
List of multiplexing settings for output streams.
-
#output ⇒ Google::Apis::TranscoderV1beta1::Output
Location of output file(s) in a Cloud Storage bucket.
-
#overlays ⇒ Array<Google::Apis::TranscoderV1beta1::Overlay>
List of overlays on the output video, in descending Z-order.
-
#pubsub_destination ⇒ Google::Apis::TranscoderV1beta1::PubsubDestination
A Pub/Sub destination.
-
#sprite_sheets ⇒ Array<Google::Apis::TranscoderV1beta1::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.
886 887 888 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 886 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad_breaks ⇒ Array<Google::Apis::TranscoderV1beta1::AdBreak>
List of ad breaks. Specifies where to insert ad break tags in the output
manifests.
Corresponds to the JSON property adBreaks
838 839 840 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 838 def ad_breaks @ad_breaks end |
#edit_list ⇒ Array<Google::Apis::TranscoderV1beta1::EditAtom>
List of Edit atom
s. Defines the ultimate timeline of the resulting file or
manifest.
Corresponds to the JSON property editList
844 845 846 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 844 def edit_list @edit_list end |
#elementary_streams ⇒ Array<Google::Apis::TranscoderV1beta1::ElementaryStream>
List of elementary streams.
Corresponds to the JSON property elementaryStreams
849 850 851 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 849 def elementary_streams @elementary_streams end |
#inputs ⇒ Array<Google::Apis::TranscoderV1beta1::Input>
List of input assets stored in Cloud Storage.
Corresponds to the JSON property inputs
854 855 856 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 854 def inputs @inputs end |
#manifests ⇒ Array<Google::Apis::TranscoderV1beta1::Manifest>
List of output manifests.
Corresponds to the JSON property manifests
859 860 861 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 859 def manifests @manifests end |
#mux_streams ⇒ Array<Google::Apis::TranscoderV1beta1::MuxStream>
List of multiplexing settings for output streams.
Corresponds to the JSON property muxStreams
864 865 866 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 864 def mux_streams @mux_streams end |
#output ⇒ Google::Apis::TranscoderV1beta1::Output
Location of output file(s) in a Cloud Storage bucket.
Corresponds to the JSON property output
869 870 871 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 869 def output @output end |
#overlays ⇒ Array<Google::Apis::TranscoderV1beta1::Overlay>
List of overlays on the output video, in descending Z-order.
Corresponds to the JSON property overlays
874 875 876 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 874 def @overlays end |
#pubsub_destination ⇒ Google::Apis::TranscoderV1beta1::PubsubDestination
A Pub/Sub destination.
Corresponds to the JSON property pubsubDestination
879 880 881 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 879 def pubsub_destination @pubsub_destination end |
#sprite_sheets ⇒ Array<Google::Apis::TranscoderV1beta1::SpriteSheet>
List of output sprite sheets.
Corresponds to the JSON property spriteSheets
884 885 886 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 884 def sprite_sheets @sprite_sheets end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
891 892 893 894 895 896 897 898 899 900 901 902 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 891 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 |