Cloud Speech-to-Text V2 API - Class Google::Cloud::Speech::V2::TranslationConfig (v0.14.0)

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

deftarget_language()->::String
Returns
  • (::String) — Required. The language code to translate to.

#target_language=

deftarget_language=(value)->::String
Parameter
  • value (::String) — Required. The language code to translate to.
Returns
  • (::String) — Required. The language code to translate to.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.