View Source GoogleApi.ContentWarehouse.V1.Model.LocalsearchChainId (google_api_content_warehouse v0.3.0)

An unique identification of a chain. The following are the possible chain id forms: 1) prominent_entity_id only: The entity uniquely represents a chain, which may have multiple sitechunks. 2) sitechunk only: The sitechunk uniquely represents a chain while the chain currently does not have an entity in KG. 3) prominent_entity_id + sitechunk: The chain could be represented by the entity, but not merged at last, and the sitechunks represents the chain better. 4) prominent_entity_id + category: There are multiple subchains for the prominent entity, and category is used to differentiate subchains. NOTE: the size and complexity of the ChainId proto has implications in the serving system and should be thoughtfully kept under control.

Attributes

  • category (type: String.t, default: nil) - The category associated with this chain, currently only used for subchains.
  • prominentEntityId (type: String.t, default: nil) - The Knowledge Graph (KG) entity of the chain, found and used in chain mining.
  • sitechunk (type: String.t, default: nil) - The website sitechunk/domain that is owned by the chain.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.LocalsearchChainId{
  category: String.t() | nil,
  prominentEntityId: String.t() | nil,
  sitechunk: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.