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

The response message for language detection.

Attributes

  • languages (type: list(GoogleApi.Translate.V3.Model.DetectedLanguage.t), default: nil) - The most probable language detected by the Translation API. For each request, the Translation API will always return only one result.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Translate.V3.Model.DetectLanguageResponse{
  languages: [GoogleApi.Translate.V3.Model.DetectedLanguage.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.