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

LINT.IfChange Some document segments may consist of multiple sub-segments (e.g. a document might have multiple anchors or navboost queries). SubSegmentIndex contains all information needed to identify the sub-segment (e.g. specific query, query feature or or anchor) where the mention is located.

Attributes

  • anchorIndex (type: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefAnchorIndices.t, default: nil) - Pointer to the exact set of anchors in the cdoc.
  • genericIndex (type: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefGenericIndices.t, default: nil) - Pointer to the Webref-internal Segment indices. Can't be mapped back to the CDoc.
  • imageQueryIndex (type: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefImageQueryIndices.t, default: nil) - Pointer to the exact set of image navboost queries in the cdoc.
  • jgnIndex (type: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefJuggernautIndices.t, default: nil) - Pointer to the proto in the cdoc and index within the proto for Spore.
  • metaTagIndex (type: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefMetaTagIndices.t, default: nil) - Informs about the 'name' attribute of the referenced tag.
  • queryIndex (type: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefQueryIndices.t, default: nil) - Pointer to the exact set of queries in the cdoc.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

Functions

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

Unwrap a decoded JSON object into its complex fields.