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

Protocol message for data related to good travel sites. This data is stored as signals data in docjoins.

Attributes

  • i18n (type: list(GoogleApi.ContentWarehouse.V1.Model.QualityTravelGoodSitesDataI18n.t), default: nil) -
  • isAggr (type: boolean(), default: nil) -
  • isAttractionOfficial (type: boolean(), default: nil) -
  • isEntity (type: boolean(), default: nil) -
  • isHotelOfficial (type: boolean(), default: nil) -
  • normalizationFactor (type: number(), default: nil) - Factor that determines how local anchor credit is scaled before being added to global anchors.
  • signal (type: list(GoogleApi.ContentWarehouse.V1.Model.QualityTravelGoodSitesDataSignal.t), default: nil) -
  • site (type: String.t, default: nil) -
  • totalScore (type: number(), default: nil) - Site quality score, which determines the site type.
  • type (type: String.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.QualityTravelGoodSitesData{
  i18n:
    [GoogleApi.ContentWarehouse.V1.Model.QualityTravelGoodSitesDataI18n.t()]
    | nil,
  isAggr: boolean() | nil,
  isAttractionOfficial: boolean() | nil,
  isEntity: boolean() | nil,
  isHotelOfficial: boolean() | nil,
  normalizationFactor: number() | nil,
  signal:
    [GoogleApi.ContentWarehouse.V1.Model.QualityTravelGoodSitesDataSignal.t()]
    | nil,
  site: String.t() | nil,
  totalScore: number() | nil,
  type: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.