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.



2243
2244
2245
# File 'lib/google/apis/transcoder_v1/classes.rb', line 2243

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

Instance Attribute Details

#h264Google::Apis::TranscoderV1::H264CodecSettings

H264 codec settings. Corresponds to the JSON property h264



2231
2232
2233
# File 'lib/google/apis/transcoder_v1/classes.rb', line 2231

def h264
  @h264
end

#h265Google::Apis::TranscoderV1::H265CodecSettings

H265 codec settings. Corresponds to the JSON property h265



2236
2237
2238
# File 'lib/google/apis/transcoder_v1/classes.rb', line 2236

def h265
  @h265
end

#vp9Google::Apis::TranscoderV1::Vp9CodecSettings

VP9 codec settings. Corresponds to the JSON property vp9



2241
2242
2243
# File 'lib/google/apis/transcoder_v1/classes.rb', line 2241

def vp9
  @vp9
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2248
2249
2250
2251
2252
# File 'lib/google/apis/transcoder_v1/classes.rb', line 2248

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