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

A taxonomic category. A classification consists of weight (totalling 1.0) distributed among one or more categories.

Attributes

  • discreteWeight (type: integer(), default: nil) - go/petacat-faq#how-should-i-interpret-classification-weights Discrete to reduce size. Range is [0,127], corresponding to [0.0,1.0].
  • id (type: integer(), default: nil) - The category's ID, e.g. 20 for /Sports in the go/verticals4 taxonomy.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.FatcatCompactTaxonomicClassificationCategory{
    discreteWeight: integer() | nil,
    id: integer() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.