View Source GoogleApi.Admin.Directory_v1.Model.UserLanguage (google_api_admin v0.40.0)

JSON template for a language entry.

Attributes

  • customLanguage (type: String.t, default: nil) - Other language. User can provide their own language name if there is no corresponding ISO 639 language code. If this is set, languageCode can't be set.
  • languageCode (type: String.t, default: nil) - ISO 639 string representation of a language. See Language Codes for the list of supported codes. Valid language codes outside the supported set will be accepted by the API but may lead to unexpected behavior. Illegal values cause SchemaException. If this is set, customLanguage can't be set.
  • preference (type: String.t, default: nil) - Optional. If present, controls whether the specified languageCode is the user's preferred language. If customLanguage is set, this can't be set. Allowed values are preferred and not_preferred.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Admin.Directory_v1.Model.UserLanguage{
  customLanguage: String.t() | nil,
  languageCode: String.t() | nil,
  preference: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.