Class: Google::Apis::YoutubeV3::VideoFileDetailsAudioStream
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::VideoFileDetailsAudioStream
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_v3/classes.rb,
generated/google/apis/youtube_v3/representations.rb,
generated/google/apis/youtube_v3/representations.rb
Overview
Information about an audio stream.
Instance Attribute Summary collapse
-
#bitrate_bps ⇒ Fixnum
The audio stream's bitrate, in bits per second.
-
#channel_count ⇒ Fixnum
The number of audio channels that the stream contains.
-
#codec ⇒ String
The audio codec that the stream uses.
-
#vendor ⇒ String
A value that uniquely identifies a video vendor.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VideoFileDetailsAudioStream
constructor
A new instance of VideoFileDetailsAudioStream.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ VideoFileDetailsAudioStream
Returns a new instance of VideoFileDetailsAudioStream
7658 7659 7660 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 7658 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bitrate_bps ⇒ Fixnum
The audio stream's bitrate, in bits per second.
Corresponds to the JSON property bitrateBps
7640 7641 7642 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 7640 def bitrate_bps @bitrate_bps end |
#channel_count ⇒ Fixnum
The number of audio channels that the stream contains.
Corresponds to the JSON property channelCount
7645 7646 7647 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 7645 def channel_count @channel_count end |
#codec ⇒ String
The audio codec that the stream uses.
Corresponds to the JSON property codec
7650 7651 7652 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 7650 def codec @codec end |
#vendor ⇒ String
A value that uniquely identifies a video vendor. Typically, the value is a
four-letter vendor code.
Corresponds to the JSON property vendor
7656 7657 7658 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 7656 def vendor @vendor end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7663 7664 7665 7666 7667 7668 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 7663 def update!(**args) @bitrate_bps = args[:bitrate_bps] if args.key?(:bitrate_bps) @channel_count = args[:channel_count] if args.key?(:channel_count) @codec = args[:codec] if args.key?(:codec) @vendor = args[:vendor] if args.key?(:vendor) end |