SnippetExtraInfo

GoogleApi.ContentWarehouse.V1.Model.SnippetExtraInfo


Table of Contents ▼

Jump to a specific part of the page:

Description

No description given.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. candidateInfo (type: list(GoogleApi.ContentWarehouse.V1.Model.SnippetExtraInfoSnippetCandidateInfo), default: nil)
    - Candidates are ordered by their id.
  2. containUserQuotes (type: boolean(), default: nil)
    - Indicates that the snippet candidates all contain uesr quotes.
  3. containVulgarCandidates (type: boolean(), default: nil)
    - Indicates if there are any vulgar snippet candidates.
  4. 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.
  5. disableQueryFeatures (type: boolean(), default: nil)
    - Indicates whether the query relevance features is disabled or not in Muppet scoring.
  6. forceLeadingTextOrMeta (type: boolean(), default: nil)
    - Indicates to not add any new candidates in SnippetFlow.
  7. 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
  8. snippetsbrainModelInfo (type: GoogleApi.ContentWarehouse.V1.Model.SnippetExtraInfoSnippetsBrainModelInfo, default: nil)
    - SnippetsBrain model information for snippets popup debug.

Type

@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
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.SnippetExtraInfo