View Source GoogleApi.Translate.V3.Model.RomanizeTextRequest (google_api_translate v0.21.0)

The request message for synchronous romanization.

Attributes

  • contents (type: list(String.t), default: nil) - Required. The content of the input in string format.
  • sourceLanguageCode (type: String.t, default: nil) - Optional. The ISO-639 language code of the input text if known, for example, "hi" or "zh". 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Translate.V3.Model.RomanizeTextRequest{
  contents: [String.t()] | nil,
  sourceLanguageCode: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.