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

Stores one location and all meta-data associated with that location.

Attributes

  • clickRadius50Percent (type: integer(), default: nil) - The radius (in miles) around the assigned location that the document gets 50% of its clicks.
  • confidence (type: number(), default: nil) - Confidence on the location. Ranges in [0.0, 1.0]. Cleared during index creation.
  • confidencePercent (type: integer(), default: nil) - Confidence mapped to [0, 100]. Converted to integer for efficient storage. Populated during index creation.
  • internalId (type: integer(), default: nil) - Used for compressed docloc data. In compressed data, instead of location_info, only an integer ID for that LocationInfo is stored. A separate lookup table is used to get full LocationInfo from the internal ID.
  • locationInfo (type: GoogleApi.ContentWarehouse.V1.Model.CountryLocationInfo.t, default: nil) -
  • propagatedFromASubpage (type: boolean(), default: nil) - True if this location is assigned to one of the subpages, and not to the page itself. If the total number of locations assigned to all the subpages of a page is small (usually up to 5), then that page also gets assigned those locations, and this flag is set for those locations.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.CountryGeoLocation{
  clickRadius50Percent: integer() | nil,
  confidence: number() | nil,
  confidencePercent: integer() | nil,
  internalId: integer() | nil,
  locationInfo:
    GoogleApi.ContentWarehouse.V1.Model.CountryLocationInfo.t() | nil,
  propagatedFromASubpage: boolean() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.