GoogleApi.Translate.V3.Model.DetectedLanguage (google_api_translate v0.22.0)

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 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

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.