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

Attributes

  • embedding (type: GoogleApi.ContentWarehouse.V1.Model.SdrEmbedding.t, default: nil) - Needed for relevance scoring.
  • geometryScore (type: number(), default: nil) - aggregate score from Section Geometry.
  • headingAbbrvScore (type: number(), default: nil) - Heading Abbreviation score.
  • hpScore (type: number(), default: nil) - Needed for heading/passage filtering.
  • level (type: integer(), default: nil) -
  • scrollTo (type: GoogleApi.ContentWarehouse.V1.Model.SdrScrollTo.t, default: nil) -
  • sectionHeight (type: integer(), default: nil) - Needed for Geometry Scoring and backoffs. from Section Geometry.
  • text (type: String.t, default: nil) - Heading/Reformulated text is needed to display.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.SdrPageAnchorsSitelink{
  embedding: GoogleApi.ContentWarehouse.V1.Model.SdrEmbedding.t() | nil,
  geometryScore: number() | nil,
  headingAbbrvScore: number() | nil,
  hpScore: number() | nil,
  level: integer() | nil,
  scrollTo: GoogleApi.ContentWarehouse.V1.Model.SdrScrollTo.t() | nil,
  sectionHeight: integer() | nil,
  text: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.