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

JSON template for a language entry.

Attributes

  • customLanguage (type: String.t, default: nil) - Other language. User can provide 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) - Language Code. Should be used for storing ISO 639 LanguageCode string representation for language. See the Language Codes page 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) - Preference. Optional field, which if present, controls whether the specified languageCode is stored as the user's preferred language. If customLanguage is set, this can't be set. Allowed values are preferred and not_preferred.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.