v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-133276102.9 KB
projects

Romanize input text written in non-Latin scripts to Latin text.

post/v3/{+parent}:romanizeText

Path parameters

parentstring required

Required. Project or location to make a call. Must refer to a caller's project. Format: projects/{project-number-or-id}/locations/{location-id} or projects/{project-number-or-id}. For global calls, use projects/{project-number-or-id}/locations/global or projects/{project-number-or-id}.

Request body

contentsstring[]

Required. The content of the input in string format.

sourceLanguageCodestring

Optional. The ISO-639 language code of the input text if known, for example, "hi" or "zh". Supported language codes are listed in Language Support. If the source language isn't specified, the API attempts to identify the source language automatically and returns the source language for each content in the response.

Response

Successful response