View Source GoogleApi.ContentWarehouse.V1.Model.GeostoreRegionSpecificNameProto (google_api_content_warehouse v0.3.0)

This protocol buffer supports a name per region per language, allowing it to represent the name of a given feature in different regions and languages. For example, the Persian Gulf has different English names in UAE versus Lebanon.

Attributes

  • displayableAsAlternativeName (type: boolean(), default: nil) - If true, this region specific name should be appended, in parentheses, to the appropriate name from FeatureProto.name, for the default rest of world behavior.
  • name (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreNameProto.t, default: nil) - Name to be used for this feature in a specific region and language.
  • regionCode (type: String.t, default: nil) - Region code (or other identifier) for the region.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreRegionSpecificNameProto{
  displayableAsAlternativeName: boolean() | nil,
  name: GoogleApi.ContentWarehouse.V1.Model.GeostoreNameProto.t() | nil,
  regionCode: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.