Class: Google::Apis::TranscoderV1::Manifest

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

Manifest configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Manifest

Returns a new instance of Manifest.



1640
1641
1642
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1640

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

Instance Attribute Details

#dashGoogle::Apis::TranscoderV1::DashConfig

DASH manifest configuration. Corresponds to the JSON property dash



1620
1621
1622
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1620

def dash
  @dash
end

#file_nameString

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

Returns:

  • (String)


1626
1627
1628
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1626

def file_name
  @file_name
end

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

Returns:

  • (Array<String>)


1633
1634
1635
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1633

def mux_streams
  @mux_streams
end

#typeString

Required. Type of the manifest. Corresponds to the JSON property type

Returns:

  • (String)


1638
1639
1640
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1638

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1645
1646
1647
1648
1649
1650
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1645

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