class Google::Apis::TranscoderV1beta1::TextStream
Encoding of a text stream. For example, closed captions or subtitles.
Attributes
codec[RW]
The codec for this text stream. The default is `“webvtt”`. Supported text codecs: - 'srt' - 'ttml' - 'cea608' - 'cea708' - 'webvtt' Corresponds to the JSON property `codec` @return [String]
language_code[RW]
Required. The BCP-47 language code, such as `“en-US”` or `“sr-Latn”`. For more information, see www.unicode.org/reports/tr35/# Unicode_locale_identifier. Corresponds to the JSON property `languageCode` @return [String]
mapping[RW]
The mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`. Corresponds to the JSON property `mapping` @return [Array<Google::Apis::TranscoderV1beta1::TextAtom>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/transcoder_v1beta1/classes.rb, line 1561 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/transcoder_v1beta1/classes.rb, line 1566 def update!(**args) @codec = args[:codec] if args.key?(:codec) @language_code = args[:language_code] if args.key?(:language_code) @mapping = args[:mapping] if args.key?(:mapping) end