Transcoder V1 API - Class Google::Cloud::Video::Transcoder::V1::TrackDefinition (v2.3.0)

Reference documentation and code samples for the Transcoder V1 API class Google::Cloud::Video::Transcoder::V1::TrackDefinition.

Track definition for the input asset.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#detect_languages

def detect_languages() -> ::Boolean
Returns
  • (::Boolean) — Optional. Whether to automatically detect the languages present in the track. If true, the system will attempt to identify all the languages present in the track and populate the languages field.

#detect_languages=

def detect_languages=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Whether to automatically detect the languages present in the track. If true, the system will attempt to identify all the languages present in the track and populate the languages field.
Returns
  • (::Boolean) — Optional. Whether to automatically detect the languages present in the track. If true, the system will attempt to identify all the languages present in the track and populate the languages field.

#detected_languages

def detected_languages() -> ::Array<::String>
Returns
  • (::Array<::String>) — Output only. A list of languages detected in the input asset, represented by a BCP 47 language code, such as "en-US" or "sr-Latn". For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. This field is only populated if the detect_languages field is set to true.

#input_track

def input_track() -> ::Integer
Returns
  • (::Integer) — The input track.

#input_track=

def input_track=(value) -> ::Integer
Parameter
  • value (::Integer) — The input track.
Returns
  • (::Integer) — The input track.

#languages

def languages() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. A list of languages spoken in the input asset, represented by a BCP 47 language code, such as "en-US" or "sr-Latn". For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.

#languages=

def languages=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. A list of languages spoken in the input asset, represented by a BCP 47 language code, such as "en-US" or "sr-Latn". For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
Returns
  • (::Array<::String>) — Optional. A list of languages spoken in the input asset, represented by a BCP 47 language code, such as "en-US" or "sr-Latn". For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.