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

Attributes

  • anchor (type: list(GoogleApi.ContentWarehouse.V1.Model.AnchorsAnchor.t), default: nil) -
  • homepageAnchorsDropped (type: String.t, default: nil) - The total # of local homepage anchors dropped in AnchorAccumulator.
  • indexTier (type: integer(), default: nil) - The index tier from which the anchors were extracted. Note that this is only valid in the anchor record written by linkextractor. The value can be one of the enum values defined in segindexer/types.h.
  • localAnchorsDropped (type: String.t, default: nil) - The total # of local non-homepage anchors dropped in AnchorAccumulator.
  • nonlocalAnchorsDropped (type: String.t, default: nil) - The total # of non-local anchors dropped in AnchorAccumulator.
  • redundantAnchorsDropped (type: String.t, default: nil) - The *_anchors_dropped fields below are not populated by Alexandria, which uses cdoc.anchor_stats instead. The total # of redundant anchors dropped in linkextractor.
  • redundantanchorinfo (type: list(GoogleApi.ContentWarehouse.V1.Model.AnchorsRedundantAnchorInfo.t), default: nil) -
  • supplementalAnchorsDropped (type: String.t, default: nil) - The total # of supplemental anchors dropped in AnchorAccumulator. ## DEPRECATED.
  • targetDocid (type: String.t, default: nil) - may be implicit
  • targetSite (type: String.t, default: nil) - HOST_LEVEL site chunking.
  • targetUrl (type: String.t, default: nil) - This is produced during link extraction but not written out in the linklogs in order to save space.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.Anchors{
  anchor: [GoogleApi.ContentWarehouse.V1.Model.AnchorsAnchor.t()] | nil,
  homepageAnchorsDropped: String.t() | nil,
  indexTier: integer() | nil,
  localAnchorsDropped: String.t() | nil,
  nonlocalAnchorsDropped: String.t() | nil,
  redundantAnchorsDropped: String.t() | nil,
  redundantanchorinfo:
    [GoogleApi.ContentWarehouse.V1.Model.AnchorsRedundantAnchorInfo.t()] | nil,
  supplementalAnchorsDropped: String.t() | nil,
  targetDocid: String.t() | nil,
  targetSite: String.t() | nil,
  targetUrl: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.