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.



1807
1808
1809
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1807

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

Instance Attribute Details

#h264Google::Apis::TranscoderV1::H264CodecSettings

H264 codec settings. Corresponds to the JSON property h264



1795
1796
1797
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1795

def h264
  @h264
end

#h265Google::Apis::TranscoderV1::H265CodecSettings

H265 codec settings. Corresponds to the JSON property h265



1800
1801
1802
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1800

def h265
  @h265
end

#vp9Google::Apis::TranscoderV1::Vp9CodecSettings

VP9 codec settings. Corresponds to the JSON property vp9



1805
1806
1807
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1805

def vp9
  @vp9
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1812
1813
1814
1815
1816
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1812

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