View Source GoogleApi.ContentWarehouse.V1.Model.SnippetExtraInfo (google_api_content_warehouse v0.4.0)

Attributes

  • candidateInfo (type: list(GoogleApi.ContentWarehouse.V1.Model.SnippetExtraInfoSnippetCandidateInfo.t), default: nil) - Candidates are ordered by their id.
  • containUserQuotes (type: boolean(), default: nil) - Indicates that the snippet candidates all contain uesr quotes.
  • containVulgarCandidates (type: boolean(), default: nil) - Indicates if there are any vulgar snippet candidates.
  • disableNg3Scoring (type: boolean(), default: nil) - Indicates that SR side should disable the ng3 scoring and soly rely on the SnippetBrain scoring for selecting the final candidate. E.g. this can happen when the offline snippet generation routine is triggered.
  • disableQueryFeatures (type: boolean(), default: nil) - Indicates whether the query relevance features is disabled or not in Muppet scoring.
  • forceLeadingTextOrMeta (type: boolean(), default: nil) - Indicates to not add any new candidates in SnippetFlow.
  • snippetBrainSelectedCandidateIndex (type: integer(), default: nil) - Snippet candidate index selected by snippet brain model. This field will get populated in SnippetFlow in superroot. go/snippets-brain
  • snippetsbrainModelInfo (type: GoogleApi.ContentWarehouse.V1.Model.SnippetExtraInfoSnippetsBrainModelInfo.t, default: nil) - SnippetsBrain model information for snippets popup debug.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.SnippetExtraInfo{
  candidateInfo:
    [
      GoogleApi.ContentWarehouse.V1.Model.SnippetExtraInfoSnippetCandidateInfo.t()
    ]
    | nil,
  containUserQuotes: boolean() | nil,
  containVulgarCandidates: boolean() | nil,
  disableNg3Scoring: boolean() | nil,
  disableQueryFeatures: boolean() | nil,
  forceLeadingTextOrMeta: boolean() | nil,
  snippetBrainSelectedCandidateIndex: integer() | nil,
  snippetsbrainModelInfo:
    GoogleApi.ContentWarehouse.V1.Model.SnippetExtraInfoSnippetsBrainModelInfo.t()
    | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.