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.
1867 1868 1869 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1867 def initialize(**args) update!(**args) end |
Instance Attribute Details
#h264 ⇒ Google::Apis::TranscoderV1::H264CodecSettings
H264 codec settings.
Corresponds to the JSON property h264
1855 1856 1857 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1855 def h264 @h264 end |
#h265 ⇒ Google::Apis::TranscoderV1::H265CodecSettings
H265 codec settings.
Corresponds to the JSON property h265
1860 1861 1862 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1860 def h265 @h265 end |
#vp9 ⇒ Google::Apis::TranscoderV1::Vp9CodecSettings
VP9 codec settings.
Corresponds to the JSON property vp9
1865 1866 1867 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1865 def vp9 @vp9 end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1872 1873 1874 1875 1876 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1872 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 |