Class: Google::Apis::TranscoderV1::Manifest
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1::Manifest
- 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
Manifest configuration.
Instance Attribute Summary collapse
-
#file_name ⇒ String
The name of the generated file.
-
#mux_streams ⇒ Array<String>
Required.
-
#type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Manifest
constructor
A new instance of Manifest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Manifest
Returns a new instance of Manifest.
1351 1352 1353 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1351 def initialize(**args) update!(**args) end |
Instance Attribute Details
#file_name ⇒ String
The name of the generated file. The default is manifest with the extension
suffix corresponding to the Manifest.type.
Corresponds to the JSON property fileName
1336 1337 1338 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1336 def file_name @file_name end |
#mux_streams ⇒ Array<String>
Required. List of user given MuxStream.keys that should appear in this
manifest. When Manifest.type is HLS, a media manifest with name MuxStream.
key and .m3u8 extension is generated for each element of the Manifest.
mux_streams.
Corresponds to the JSON property muxStreams
1344 1345 1346 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1344 def mux_streams @mux_streams end |
#type ⇒ String
Required. Type of the manifest, can be HLS or DASH.
Corresponds to the JSON property type
1349 1350 1351 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1349 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1356 1357 1358 1359 1360 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1356 def update!(**args) @file_name = args[:file_name] if args.key?(:file_name) @mux_streams = args[:mux_streams] if args.key?(:mux_streams) @type = args[:type] if args.key?(:type) end |