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

Represents a single sitelink target, contains basic information used to display the target (such as url and title) and to, maybe, dynamically change the way targets are selected and/or ranked (such as score and is_mobile). Please update the TargetInternal message if you make a change to this proto. See "Note on adding new fields".

Attributes

  • DEPRECATEDSnippet (type: list(String.t), default: nil) -
  • isGoodForMobile (type: boolean(), default: nil) -
  • isMobileN1dup (type: boolean(), default: nil) -
  • languages (type: list(integer()), default: nil) - The languages of the document, taken from its cdoc.properties().languages()
  • salientImage (type: GoogleApi.ContentWarehouse.V1.Model.WWWResultInfoSubImageDocInfo.t, default: nil) - The image data will be copied from the DocInfo response, and will be retrieved online, so this field should not be populated during indexing. This is a temporary field for experimentation.
  • score (type: number(), default: nil) -
  • scoringSignals (type: GoogleApi.ContentWarehouse.V1.Model.QualitySitemapScoringSignals.t, default: nil) -
  • sectionTexts (type: list(String.t), default: nil) - Section texts used for Page Anchors Preview (go/page-anchor-preview-dd).
  • snippetResponse (type: GoogleApi.ContentWarehouse.V1.Model.GenericSnippetResponse.t, default: nil) - The snippet response for the target document for an empty query.
  • sourceAnchor (type: boolean(), default: nil) -
  • title (type: String.t, default: nil) -
  • twoLevelScore (type: number(), default: nil) -
  • url (type: String.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.QualitySitemapTarget{
  DEPRECATEDSnippet: [String.t()] | nil,
  isGoodForMobile: boolean() | nil,
  isMobileN1dup: boolean() | nil,
  languages: [integer()] | nil,
  salientImage:
    GoogleApi.ContentWarehouse.V1.Model.WWWResultInfoSubImageDocInfo.t() | nil,
  score: number() | nil,
  scoringSignals:
    GoogleApi.ContentWarehouse.V1.Model.QualitySitemapScoringSignals.t() | nil,
  sectionTexts: [String.t()] | nil,
  snippetResponse:
    GoogleApi.ContentWarehouse.V1.Model.GenericSnippetResponse.t() | nil,
  sourceAnchor: boolean() | nil,
  title: String.t() | nil,
  twoLevelScore: number() | nil,
  url: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.