FatcatCompactTaxonomicClassificationCategory

GoogleApi.ContentWarehouse.V1.Model.FatcatCompactTaxonomicClassificationCategory


Table of Contents ▼

Jump to a specific part of the page:

Description

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

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. 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].
  2. id (type: integer(), default: nil)
    - The category's ID, e.g. 20 for /Sports in the go/verticals4 taxonomy.

Type

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

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.FatcatCompactTaxonomicClassificationCategory