Cloud Translation V3 API - Class Google::Cloud::Translate::V3::Romanization (v1.1.1)

Reference documentation and code samples for the Cloud Translation V3 API class Google::Cloud::Translate::V3::Romanization.

A single romanization response.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#detected_language_code

def detected_language_code() -> ::String
Returns
  • (::String) — The ISO-639 language code of source text in the initial request, detected automatically, if no source language was passed within the initial request. If the source language was passed, auto-detection of the language does not occur and this field is empty.

#detected_language_code=

def detected_language_code=(value) -> ::String
Parameter
  • value (::String) — The ISO-639 language code of source text in the initial request, detected automatically, if no source language was passed within the initial request. If the source language was passed, auto-detection of the language does not occur and this field is empty.
Returns
  • (::String) — The ISO-639 language code of source text in the initial request, detected automatically, if no source language was passed within the initial request. If the source language was passed, auto-detection of the language does not occur and this field is empty.

#romanized_text

def romanized_text() -> ::String
Returns
  • (::String) — Romanized text. If an error occurs during romanization, this field might be excluded from the response.

#romanized_text=

def romanized_text=(value) -> ::String
Parameter
  • value (::String) — Romanized text. If an error occurs during romanization, this field might be excluded from the response.
Returns
  • (::String) — Romanized text. If an error occurs during romanization, this field might be excluded from the response.