View Source GoogleApi.Translate.V2.Model.DetectionsResource (google_api_translate v0.21.0)

Attributes

  • confidence (type: number(), default: nil) - The confidence of the detection result of this language.
  • isReliable (type: boolean(), default: nil) - A boolean to indicate is the language detection result reliable.
  • language (type: String.t, default: nil) - The language we detected.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Translate.V2.Model.DetectionsResource{
  confidence: number() | nil,
  isReliable: boolean() | nil,
  language: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.