View Source GoogleApi.ContentWarehouse.V1.Model.CountrySalientCountry (google_api_content_warehouse v0.4.0)

Salient Countries is an estimated probability (salience) of a doc to be relevant to a country. On this message, countries are represented as int32 (the format of this data is defined in i18n/identifiers/stableinternalregionconverter.cc). Salience is a value in range [0.0 - 1.0] in which 1.0 represents a high likelihood to be relevant to the country

Attributes

  • compressedSalience (type: integer(), default: nil) -
  • countryCode (type: integer(), default: nil) -
  • salience (type: number(), default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.CountrySalientCountry{
  compressedSalience: integer() | nil,
  countryCode: integer() | nil,
  salience: number() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.