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

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

  • 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.
  • 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".

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.