Reference documentation and code samples for the Cloud Speech-to-Text V2 API class Google::Cloud::Speech::V2::TranslationConfig.
Translation configuration. Use to translate the given audio into text for the desired language.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#target_language
def target_language() -> ::String
Returns
- (::String) — Required. The language code to translate to.
#target_language=
def target_language=(value) -> ::String
Parameter
- value (::String) — Required. The language code to translate to.
Returns
- (::String) — Required. The language code to translate to.