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.



1893
1894
1895
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1893

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

Instance Attribute Details

#h264Google::Apis::TranscoderV1::H264CodecSettings

H264 codec settings. Corresponds to the JSON property h264



1881
1882
1883
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1881

def h264
  @h264
end

#h265Google::Apis::TranscoderV1::H265CodecSettings

H265 codec settings. Corresponds to the JSON property h265



1886
1887
1888
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1886

def h265
  @h265
end

#vp9Google::Apis::TranscoderV1::Vp9CodecSettings

VP9 codec settings. Corresponds to the JSON property vp9



1891
1892
1893
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1891

def vp9
  @vp9
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1898
1899
1900
1901
1902
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1898

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