CountryLocationInfo

GoogleApi.ContentWarehouse.V1.Model.CountryLocationInfo


Table of Contents ▼

Jump to a specific part of the page:

Description

This represents one location.

Attributes List

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

View Attributes

Attributes

  1. center (type: GoogleApi.ContentWarehouse.V1.Model.GeostorePointProto, default: nil)
    - The latitude and longitude of the conceptual center of the location. For cities, this would be the center of the downtown, or maybe the location of city hall. For states and countries it might be the capital city. But there are no guarantees and this may be any random point inside the location.
  2. city (type: String.t, default: nil)
    -
  3. country (type: String.t, default: nil)
    - Human readable name hierarchy. Only the relevant fields will be present. For example for city GeoLocations, sub_locality field will not be present. Cleared during index creation.
  4. county (type: String.t, default: nil)
    -
  5. enclosingStateFeatureId (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto, default: nil)
    - Oyster feature ID of the enclosing state. Cleared during index creation.
  6. featureId (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto, default: nil)
    - Oyster feature ID of the location. Cleared during index creation.
  7. state (type: String.t, default: nil)
    -
  8. stateIdFprint (type: integer(), default: nil)
    - 32 bit fingerprint of the feature id of the state of this location. For cities and sub-localities it will be the enclosing state. For state locations, it will be fingerprint of the feture-id of the location itself. Populated during index creation.
  9. subLocality (type: String.t, default: nil)
    -
  10. type (type: String.t, default: nil)
    - Type of the location (sub-locality, city, state etc).

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.CountryLocationInfo{
center: GoogleApi.ContentWarehouse.V1.Model.GeostorePointProto.t() | nil,
city: String.t() | nil,
country: String.t() | nil,
county: String.t() | nil,
enclosingStateFeatureId: GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t() | nil,
featureId: GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t() | nil,
state: String.t() | nil,
stateIdFprint: integer() | nil,
subLocality: String.t() | nil,
type: String.t() | nil
}

Function

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

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