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.



1831
1832
1833
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1831

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

Instance Attribute Details

#h264Google::Apis::TranscoderV1::H264CodecSettings

H264 codec settings. Corresponds to the JSON property h264



1819
1820
1821
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1819

def h264
  @h264
end

#h265Google::Apis::TranscoderV1::H265CodecSettings

H265 codec settings. Corresponds to the JSON property h265



1824
1825
1826
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1824

def h265
  @h265
end

#vp9Google::Apis::TranscoderV1::Vp9CodecSettings

VP9 codec settings. Corresponds to the JSON property vp9



1829
1830
1831
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1829

def vp9
  @vp9
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1836
1837
1838
1839
1840
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1836

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