View Source GoogleApi.ContentWarehouse.V1.Model.GeostoreBestLocaleProto (google_api_content_warehouse v0.3.0)
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
-
locale
(type:GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t
, 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.t
, default:nil
) - Field-level metadata for this best locale.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@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 }
Functions
Unwrap a decoded JSON object into its complex fields.