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

A translated document message.

Attributes

  • byteStreamOutputs (type: list(String.t), default: nil) - The array of translated documents. It is expected to be size 1 for now. We may produce multiple translated documents in the future for other type of file formats.
  • detectedLanguageCode (type: String.t, default: nil) - The detected language for the input document. If the user did not provide the source language for the input document, this field will have the language code automatically detected. If the source language was passed, auto-detection of the language does not occur and this field is empty.
  • mimeType (type: String.t, default: nil) - The translated document's mime type.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Translate.V3.Model.DocumentTranslation{
  byteStreamOutputs: [String.t()] | nil,
  detectedLanguageCode: String.t() | nil,
  mimeType: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.