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

Proto message containing the id, localized title, score, and hierarchy level of a trusted genome entity. Next ID: 12

Attributes

  • categoryId (type: String.t, default: nil) - The category id matching this trusted genome entity. e.g. Action tag with id /m/025zzc matches category of id GAME_ACTION
  • id (type: String.t, default: nil) - The identifier of a play trusted genome entity. Required.
  • isLocalized (type: boolean(), default: nil) - Indicate whether the trusted genome entity has localized title.
  • level (type: integer(), default: nil) - The level of the entity. E.g. in hierarchy like Action -> Platformer > Endless Runner. Action is level 1, Platformer is level 2 and Endless Runner is level 3. Currently, only APP_TAXONOMY and GAME_TAXONOMY type may have the levels. For entity that does not have hierarchy, its level is 1. Required.
  • predicateName (type: String.t, default: nil) - The name of the relation between the app and the entity. Required.
  • queryText (type: String.t, default: nil) - The localized query string for this trusted genome entity. This query will be used when we want to bring users to SERP on click.
  • recsTopicId (type: list(String.t), default: nil) - The corresponding recs topics created from the trusted genome entity if available.
  • score (type: number(), default: nil) - The confidence score of the entity to the app.
  • title (type: String.t, default: nil) - The localized title. Required.
  • userVisible (type: boolean(), default: nil) - This boolean is used to decide whether this entity will be shown on user-facing features in the Store or not.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.VendingConsumerProtoTrustedGenomeEntity{
    categoryId: String.t() | nil,
    id: String.t() | nil,
    isLocalized: boolean() | nil,
    level: integer() | nil,
    predicateName: String.t() | nil,
    queryText: String.t() | nil,
    recsTopicId: [String.t()] | nil,
    score: number() | nil,
    title: String.t() | nil,
    userVisible: boolean() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.