GoogleApi.ContentWarehouse.V1.Model.GeostoreBestLocaleProto
Table of Contents ▼
Jump to a specific part of the page:
Description
A BestLocaleProto holds information about the best-match locale for a feature. Clients may use this information to determine the appropriate local name of a feature.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
locale
(type:GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto
, default:nil
)
- The ID of the best-match TYPE_LOCALE feature for this feature. -
localizationPolicyId
(type:String.t
, default:nil
)
- The ID of the localization policy to apply when selecting a name for a feature. This field should always be set. If feature_id is also defined, this field should have the same localization policy ID as the referenced locale feature. Localization policy IDs are arbitrary identifiers (up to some number of bytes; see geostore/base/public/constants.h) that uniquely distinguish a set of language-selection rules. -
metadata
(type:GoogleApi.ContentWarehouse.V1.Model.GeostoreFieldMetadataProto
, default:nil
)
- Field-level metadata for this best locale.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreBestLocaleProto{
locale: GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t() | nil,
localizationPolicyId: String.t() | nil,
metadata: GoogleApi.ContentWarehouse.V1.Model.GeostoreFieldMetadataProto.t() | nil
}
locale: GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t() | nil,
localizationPolicyId: String.t() | nil,
metadata: GoogleApi.ContentWarehouse.V1.Model.GeostoreFieldMetadataProto.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GeostoreBestLocaleProto