Class: Google::Apis::TranscoderV1::VideoStream

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

Video stream resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VideoStream

Returns a new instance of VideoStream.



1738
1739
1740
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1738

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

Instance Attribute Details

#h264Google::Apis::TranscoderV1::H264CodecSettings

H264 codec settings. Corresponds to the JSON property h264



1726
1727
1728
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1726

def h264
  @h264
end

#h265Google::Apis::TranscoderV1::H265CodecSettings

H265 codec settings. Corresponds to the JSON property h265



1731
1732
1733
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1731

def h265
  @h265
end

#vp9Google::Apis::TranscoderV1::Vp9CodecSettings

VP9 codec settings. Corresponds to the JSON property vp9



1736
1737
1738
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1736

def vp9
  @vp9
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1743
1744
1745
1746
1747
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1743

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