View Source GoogleApi.AIPlatform.V1.Model.LearningGenaiRootTranslationRequestInfo (google_api_ai_platform v0.6.0)

Each TranslationRequestInfo corresponds to a request sent to the translation server.

Attributes

  • detectedLanguageCodes (type: list(String.t), default: nil) - 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.
  • totalContentSize (type: String.t, default: nil) - The sum of the size of all the contents in the request.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.LearningGenaiRootTranslationRequestInfo{
  detectedLanguageCodes: [String.t()] | nil,
  totalContentSize: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.