Class: Google::Apis::TranscoderV1::ElementaryStream
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1::ElementaryStream
- 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
Encoding of an input file such as an audio, video, or text track. Elementary streams must be packaged before mapping and sharing between different output formats.
Instance Attribute Summary collapse
-
#audio_stream ⇒ Google::Apis::TranscoderV1::AudioStream
Audio stream resource.
-
#key ⇒ String
A unique key for this elementary stream.
-
#text_stream ⇒ Google::Apis::TranscoderV1::TextStream
Encoding of a text stream.
-
#video_stream ⇒ Google::Apis::TranscoderV1::VideoStream
Video stream resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ElementaryStream
constructor
A new instance of ElementaryStream.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ElementaryStream
Returns a new instance of ElementaryStream.
571 572 573 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 571 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audio_stream ⇒ Google::Apis::TranscoderV1::AudioStream
Audio stream resource.
Corresponds to the JSON property audioStream
554 555 556 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 554 def audio_stream @audio_stream end |
#key ⇒ String
A unique key for this elementary stream.
Corresponds to the JSON property key
559 560 561 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 559 def key @key end |
#text_stream ⇒ Google::Apis::TranscoderV1::TextStream
Encoding of a text stream. For example, closed captions or subtitles.
Corresponds to the JSON property textStream
564 565 566 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 564 def text_stream @text_stream end |
#video_stream ⇒ Google::Apis::TranscoderV1::VideoStream
Video stream resource.
Corresponds to the JSON property videoStream
569 570 571 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 569 def video_stream @video_stream end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
576 577 578 579 580 581 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 576 def update!(**args) @audio_stream = args[:audio_stream] if args.key?(:audio_stream) @key = args[:key] if args.key?(:key) @text_stream = args[:text_stream] if args.key?(:text_stream) @video_stream = args[:video_stream] if args.key?(:video_stream) end |