GeostoreLocaleLanguageProto

GoogleApi.ContentWarehouse.V1.Model.GeostoreLocaleLanguageProto


Table of Contents ▼

Jump to a specific part of the page:

Description

This message describes the details of a single language within a locale.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. language (type: String.t, default: nil)
    - The language associated with this preference. The external form of a Google International Identifiers Initiative (III) LanguageCode object. See google3/i18n/identifiers/languagecode.h for details. We place extra restrictions on languages in addition to what the III library requires. See http://go/geo-schema-reference/feature-properties/languages.md
  2. official (type: boolean(), default: nil)
    - Flag to indicate if the associated language is "official" within a locale.
  3. preference (type: number(), default: nil)
    - This value represents the preference of the associated language within a locale. It must be between 0.0 and 1.0.
  4. speakingPercent (type: number(), default: nil)
    - Percentage of population that can speak the associated language within a locale. It must be between 0 and 100.
  5. writingPercent (type: number(), default: nil)
    - Percentage of population that can write the associated language within a locale. It must be between 0 and 100.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreLocaleLanguageProto{
language: String.t() | nil,
official: boolean() | nil,
preference: number() | nil,
speakingPercent: number() | nil,
writingPercent: number() | nil
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GeostoreLocaleLanguageProto