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):
Attributes
-
conceptId
(type:String.t
, default:nil
)
- The MID in integer format. Nowadays, this field contains the equivalent representation offreebase_mid
, i.e. what metaweb::ParseId() returns. -
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
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefWebrefEntityId