RomanizeTextResponse

The response message for synchronous romanization.

JSON representation
{
  "romanizations": [
    {
      object (Romanization)
    }
  ]
}
Fields
romanizations[]

object (Romanization)

Text romanization responses. This field has the same length as contents.

Romanization

A single romanization response.

JSON representation
{
  "romanizedText": string,
  "detectedLanguageCode": string
}
Fields
romanizedText

string

Romanized text. If an error occurs during romanization, this field might be excluded from the response.

detectedLanguageCode

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.