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

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

  • entity (type: list(GoogleApi.ContentWarehouse.V1.Model.VendingConsumerProtoTrustedGenomeEntity.t), 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
  • 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.
  • source (type: String.t, default: nil) - The source of this Trusted Genome hierarchy.
  • trustedGenomeType (type: String.t, default: nil) - The (entity-level) type of trusted genome entities in this hierarchy. Required.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@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
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.