Class: Google::Apis::TranscoderV1::VideoStream
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1::VideoStream
- 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
Video stream resource.
Instance Attribute Summary collapse
-
#h264 ⇒ Google::Apis::TranscoderV1::H264CodecSettings
H264 codec settings.
-
#h265 ⇒ Google::Apis::TranscoderV1::H265CodecSettings
H265 codec settings.
-
#vp9 ⇒ Google::Apis::TranscoderV1::Vp9CodecSettings
VP9 codec settings.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VideoStream
constructor
A new instance of VideoStream.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VideoStream
Returns a new instance of VideoStream.
1723 1724 1725 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1723 def initialize(**args) update!(**args) end |
Instance Attribute Details
#h264 ⇒ Google::Apis::TranscoderV1::H264CodecSettings
H264 codec settings.
Corresponds to the JSON property h264
1711 1712 1713 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1711 def h264 @h264 end |
#h265 ⇒ Google::Apis::TranscoderV1::H265CodecSettings
H265 codec settings.
Corresponds to the JSON property h265
1716 1717 1718 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1716 def h265 @h265 end |
#vp9 ⇒ Google::Apis::TranscoderV1::Vp9CodecSettings
VP9 codec settings.
Corresponds to the JSON property vp9
1721 1722 1723 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1721 def vp9 @vp9 end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1728 1729 1730 1731 1732 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1728 def update!(**args) @h264 = args[:h264] if args.key?(:h264) @h265 = args[:h265] if args.key?(:h265) @vp9 = args[:vp9] if args.key?(:vp9) end |