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

This is a measure of how salient this country is for the document.

Attributes

  • country (type: String.t, default: nil) - 2-letter country format.
  • salience (type: number(), default: nil) - How salient this country is for the document. [0,1] range.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.QualitySalientCountriesSalientCountry{
    country: String.t() | nil,
    salience: number() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.