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

The response message for language detection.

Attributes

  • confidence (type: number(), default: nil) - The confidence of the detection result for this language.
  • languageCode (type: String.t, default: nil) - The ISO-639 language code of the source content in the request, detected automatically.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Translate.V3.Model.DetectedLanguage{
  confidence: number() | nil,
  languageCode: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.