VendingConsumerProtoTrustedGenomeHierarchy

GoogleApi.ContentWarehouse.V1.Model.VendingConsumerProtoTrustedGenomeHierarchy


Table of Contents ▼

Jump to a specific part of the page:

Description

Proto message containing one or multiple trusted genome entity. This is used to capture entities that belong to the same type and have parent-children relationship in the taxonomy. e.g. One hierarchy may include 3 entities with Game_Taxonomy Type: (1) Action (Level 1) (2) Platformer (Level 2 under Action) (3) Endless Runner (Level 3 under Platformer) e.g. One hierarchy may also include only 1 entity with Game_Graphic_Style: (1) Anime (No level information) Next ID: 5

Attributes List

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

View Attributes

Attributes

  1. entity (type: list(GoogleApi.ContentWarehouse.V1.Model.VendingConsumerProtoTrustedGenomeEntity), default: nil)
    - List of entities (one or multiple) that belong in the same hierarchy. The entries will be ordered such that the first entry will be of level 1, and the second entry will be of level 2, and so on. Required
  2. hierarchyType (type: String.t, default: nil)
    - The (hierarchy-level) type of this Trusted Genome hierarchy. Will only be populated when meeting certain criteria, e.g. 'GD2_Game_Main' means this hierarchy of entities can serve as the main game genre for Game Discovery 2.0.
  3. source (type: String.t, default: nil)
    - The source of this Trusted Genome hierarchy.
  4. trustedGenomeType (type: String.t, default: nil)
    - The (entity-level) type of trusted genome entities in this hierarchy. Required.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.VendingConsumerProtoTrustedGenomeHierarchy{
entity: [ GoogleApi.ContentWarehouse.V1.Model.VendingConsumerProtoTrustedGenomeEntity.t() ] | nil,
hierarchyType: String.t() | nil,
source: String.t() | nil,
trustedGenomeType: String.t() | nil
}

Function

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

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