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
-
#dash ⇒ Google::Apis::TranscoderV1::DashConfig
DASHmanifest configuration. -
#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.
1545 1546 1547 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1545 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dash ⇒ Google::Apis::TranscoderV1::DashConfig
DASH manifest configuration.
Corresponds to the JSON property dash
1525 1526 1527 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1525 def dash @dash end |
#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
1531 1532 1533 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1531 def file_name @file_name end |
#mux_streams ⇒ Array<String>
Required. List of user supplied MuxStream.key values 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 in this list.
Corresponds to the JSON property muxStreams
1538 1539 1540 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1538 def mux_streams @mux_streams end |
#type ⇒ String
Required. Type of the manifest.
Corresponds to the JSON property type
1543 1544 1545 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1543 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1550 1551 1552 1553 1554 1555 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1550 def update!(**args) @dash = args[:dash] if args.key?(:dash) @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 |