GeostoreBestLocaleProto

AI Overview😉

  • The potential purpose of this module is to determine the most suitable language and locale for a specific feature or content, allowing Google to display the most relevant and accurate information to users based on their location and language preferences.
  • This module could impact search results by influencing the ranking and display of content that has multiple language or locale variations. It may prioritize content that is more relevant to the user's location and language, making search results more personalized and accurate. This could also lead to a better user experience, as users are more likely to see content that is tailored to their needs and preferences.
  • To be more favorable for this function, a website could ensure that it provides accurate and consistent language and locale information for its content, such as using proper language codes and region-specific URLs. Additionally, websites could implement localization policies that align with Google's guidelines, making it easier for the search engine to determine the most suitable language and locale for a specific feature or content. This could involve providing high-quality translations, using location-specific keywords, and optimizing content for specific regions or languages.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.GeostoreBestLocaleProto (google_api_content_warehouse v0.4.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

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@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

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.