RepositoryWebrefWebrefEntityId

GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefWebrefEntityId


Table of Contents ▼

Jump to a specific part of the page:

Description

The identifier of a WebrefEntity (see webref-entities.proto). IMPORTANT: Please consider reading this proto through GetWebrefEntityMid() in webref-entities-util.h, because this proto may: a) contain both freebase_mid and concept_id (this is frequently the case to avoid breaking downstream clients), b) only contain freebase_mid or only contain concept_id (as the other one is technically redundant), c) contain neither of them or be missing entirely (potentially in future).

Attributes List

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

View Attributes

Attributes

  1. conceptId (type: String.t, default: nil)
    - The MID in integer format. Nowadays, this field contains the equivalent representation of freebase_mid, i.e. what metaweb::ParseId() returns.
  2. freebaseMid (type: String.t, default: nil)
    - The MID in the same format that is returned by metaweb::MidToString(), e.g. "/m/02mjmr" or "/g/11b6vyscgb" or "/t/24bjj59_jbj9f".

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefWebrefEntityId{
conceptId: String.t() | nil,
freebaseMid: String.t() | nil
}

Function

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

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