View Source GoogleApi.ContentWarehouse.V1.Model.CountryCountryAttachment (google_api_content_warehouse v0.2.0)
If you add new fields to this message, do not use any tag value less than the "Next free tag" below. The lower tag values might be missing in this file, but they were used in past for some field, so cannot be used again. Next free tag: 44
Attributes
-
clickDistribution
(type:GoogleApi.ContentWarehouse.V1.Model.CountryClickDistribution.t
, default:nil
) - Store weighted click distribution for page level country-id classification. -
isValidForCountryRestrict
(type:boolean()
, default:nil
) - Set to true if the local_countries field can be used for country restricts as well. -
fromSgDomains
(type:boolean()
, default:nil
) - -
metroLocationId
(type:list(String.t)
, default:nil
) - Metro level data. metro_location_id stores geotokens for metro restricts. -
documentLocationSource
(type:String.t
, default:nil
) - Specifies the origin ofgeo_locations
. Right now, it can either come from deprecated Docloc system or the new Brainloc system when Docloc doesn't have sufficient evidence. -
metroIdList
(type:list(GoogleApi.ContentWarehouse.V1.Model.CountryMetroNBFeature.t)
, default:nil
) - Metro locations: list of NavBoost feature V2 associated with a doc, along with the enclosing province. Metro locations with new tags. -
fromRestricts
(type:boolean()
, default:nil
) - -
geoLocations
(type:GoogleApi.ContentWarehouse.V1.Model.CountryGeoLocations.t
, default:nil
) - New MetroID: Now called GeoLocations since the locations could be sublocalities, cities or states. GeoLocations are always more fine grained than country. TODO (jayeshv): Once new MetroID/GeoLocations is launched everywhere, deleted old MetroID related fields. -
sitename
(type:String.t
, default:nil
) - Domain name of keys in filtering metro reducer class, used only by the intermediate mapreduces to produce filtered data. -
debug
(type:String.t
, default:nil
) - A non critical field to store debug info for a country attachment. Used in experiments and for debugging. -
fromUgc
(type:boolean()
, default:nil
) - -
countryidFromUgc
(type:boolean()
, default:nil
) - Is true if the country attachment was computed through the UGC pipeline. -
fromWmx
(type:boolean()
, default:nil
) - -
fromTld
(type:boolean()
, default:nil
) - -
global
(type:boolean()
, default:nil
) - -
salientCountrySet
(type:GoogleApi.ContentWarehouse.V1.Model.QualitySalientCountriesSalientCountrySet.t
, default:nil
) - -
localCountryCodes
(type:list(integer())
, default:nil
) - Fields that actually store the country id in docjoins. The format of this data is defined in //i18n/identifiers/stableinternalregionconverter.cc. Converter defined there can be used to convert it to RegionCode format. -
urlPatternBasedCountry
(type:integer()
, default:nil
) - -
existNextLevel
(type:boolean()
, default:nil
) - -
superGlobal
(type:boolean()
, default:nil
) - Super global pages get lesser demotion than global pages. A document can only be either global or super_global but not both. -
provinceGeotokenList
(type:list(GoogleApi.ContentWarehouse.V1.Model.CountryProvinceGeotoken.t)
, default:nil
) - -
wmxCountry
(type:String.t
, default:nil
) - Country specified for a web-site through webmaster console. -
userVisibleLocalCountry
(type:integer()
, default:nil
) - This is the country id we show to users on the result page. This is kept different from country demotion country id because we dont want to expose our backoff and url based detection algorithm - also we want to be ultra conservative in showing this. -
salientCountries
(type:list(GoogleApi.ContentWarehouse.V1.Model.CountrySalientCountry.t)
, default:nil
) - [Experimental]: Top salient countries for a doc. If a country can not be found on this field it can be considered that this doc is not relevant to it. -
userVisibleCountryFromLogs
(type:String.t
, default:nil
) - This is used to store the visible country id computed from logs data -
restrictCountries
(type:list(String.t)
, default:nil
) - List of two-letter(lower-case) countrycodes(e.g. us) valid for restricts. Typically cloned out of local_countries if is_valid_for_country_restrict is set to true. -
fromLanguageFallback
(type:boolean()
, default:nil
) - Booleans to keep track of where the country-id of the page came from. These are used for debugging and/or unittests, and cleared in production. -
fromUrlPattern
(type:boolean()
, default:nil
) - -
metroNavboost
(type:list(GoogleApi.ContentWarehouse.V1.Model.CountryMetroNBFeature.t)
, default:nil
) - Metro navboost: list of (NavBoost feature V2, navboost float) pairs. -
relatedCountries
(type:list(String.t)
, default:nil
) - two-letter(lower-case) countrycode, e.g. us countries that is related to, but not local to -
debugSourceUrl
(type:list(String.t)
, default:nil
) - Set to the signal source URLs when merging country signals in Alexandria during sitemoves. Essentially if sites A and B move to C, and we merge A and B's signal to C, in the countryattachment signal C will have URL A and B as source_url. Only used for debugging and it doesn't show up in docjoins. -
localCountries
(type:list(String.t)
, default:nil
) - two-letter(lower-case) countrycode, e.g. us countries that is local to -
relatedCountryCodes
(type:list(integer())
, default:nil
) - -
weightAboveIdealForLocalness
(type:float()
, default:nil
) - If result is global, store weight above ideal, as a confidence signal. Used in query localness, cleared in production CountryAttachment. -
urlPatternBasedLanguage
(type:integer()
, default:nil
) - Language and country extracted using the URL pattern map.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.CountryCountryAttachment{ clickDistribution: GoogleApi.ContentWarehouse.V1.Model.CountryClickDistribution.t() | nil, countryidFromUgc: boolean() | nil, debug: String.t() | nil, debugSourceUrl: [String.t()] | nil, documentLocationSource: String.t() | nil, existNextLevel: boolean() | nil, fromLanguageFallback: boolean() | nil, fromRestricts: boolean() | nil, fromSgDomains: boolean() | nil, fromTld: boolean() | nil, fromUgc: boolean() | nil, fromUrlPattern: boolean() | nil, fromWmx: boolean() | nil, geoLocations: GoogleApi.ContentWarehouse.V1.Model.CountryGeoLocations.t() | nil, global: boolean() | nil, isValidForCountryRestrict: boolean() | nil, localCountries: [String.t()] | nil, localCountryCodes: [integer()] | nil, metroIdList: [GoogleApi.ContentWarehouse.V1.Model.CountryMetroNBFeature.t()] | nil, metroLocationId: [String.t()] | nil, metroNavboost: [GoogleApi.ContentWarehouse.V1.Model.CountryMetroNBFeature.t()] | nil, provinceGeotokenList: [GoogleApi.ContentWarehouse.V1.Model.CountryProvinceGeotoken.t()] | nil, relatedCountries: [String.t()] | nil, relatedCountryCodes: [integer()] | nil, restrictCountries: [String.t()] | nil, salientCountries: [GoogleApi.ContentWarehouse.V1.Model.CountrySalientCountry.t()] | nil, salientCountrySet: GoogleApi.ContentWarehouse.V1.Model.QualitySalientCountriesSalientCountrySet.t() | nil, sitename: String.t() | nil, superGlobal: boolean() | nil, urlPatternBasedCountry: integer() | nil, urlPatternBasedLanguage: integer() | nil, userVisibleCountryFromLogs: String.t() | nil, userVisibleLocalCountry: integer() | nil, weightAboveIdealForLocalness: float() | nil, wmxCountry: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.