google_api_translate v0.9.0 GoogleApi.Translate.V3.Model.DetectedLanguage 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

Link to this type

t()

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

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.