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

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 BCP-47 language code of source content in the request, detected automatically.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.