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

This is a protocol buffer to export into flatfiles in ranklab. All fields are converted into flatfiles with some specific prefix and a field name like 'snippet_features_snippet_data_source_type'.

Attributes

  • browserWidth (type: integer(), default: nil) - Browser width.
  • candidates (type: list(GoogleApi.ContentWarehouse.V1.Model.MustangReposWwwSnippetsSnippetCandidate.t), default: nil) - Features for snippets candidates, generated by both old and new scorer. Currently only features for chosen candidate is generated.
  • displaySnippet (type: GoogleApi.ContentWarehouse.V1.Model.QualityPreviewRanklabSnippet.t, default: nil) - Snippet features for the final chosen snippet. This field is firstly populated by Muppet, and then overwriten by Superroot if SnippetBrain is triggered.
  • documentLanguage (type: String.t, default: nil) - locale of the document.
  • originalQueryTermCoverages (type: GoogleApi.ContentWarehouse.V1.Model.QualityPreviewSnippetQueryTermCoverageFeatures.t, default: nil) - Original query term coverage in titles and / or snippets.
  • queryLanguage (type: String.t, default: nil) - locale of the query,
  • snippetDataSourceType (type: integer(), default: nil) - Snippet data source.
  • snippetQueryTermCoverage (type: number(), default: nil) - Query term coverage in snippets.
  • snippets (type: list(GoogleApi.ContentWarehouse.V1.Model.QualityPreviewRanklabSnippet.t), default: nil) - Snippet features for Muppet snippet candidates. In production, only the data for chosen snippet will be recorded.
  • titleDataSourceType (type: integer(), default: nil) - Title data source.
  • titleQueryTermCoverage (type: number(), default: nil) - Query term coverage in titles.
  • titleSnippetQueryTermCoverage (type: number(), default: nil) - Query term coverage in titles and snippets.
  • titles (type: list(GoogleApi.ContentWarehouse.V1.Model.QualityPreviewRanklabTitle.t), default: nil) - Per-candidate title features for ranklab models, sorted from the best candidate to the worst candidate (i.e., the first element is the actually selected title).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.MustangReposWwwSnippetsSnippetsRanklabFeatures{
    browserWidth: integer() | nil,
    candidates:
      [
        GoogleApi.ContentWarehouse.V1.Model.MustangReposWwwSnippetsSnippetCandidate.t()
      ]
      | nil,
    displaySnippet:
      GoogleApi.ContentWarehouse.V1.Model.QualityPreviewRanklabSnippet.t() | nil,
    documentLanguage: String.t() | nil,
    originalQueryTermCoverages:
      GoogleApi.ContentWarehouse.V1.Model.QualityPreviewSnippetQueryTermCoverageFeatures.t()
      | nil,
    queryLanguage: String.t() | nil,
    snippetDataSourceType: integer() | nil,
    snippetQueryTermCoverage: number() | nil,
    snippets:
      [GoogleApi.ContentWarehouse.V1.Model.QualityPreviewRanklabSnippet.t()]
      | nil,
    titleDataSourceType: integer() | nil,
    titleQueryTermCoverage: number() | nil,
    titleSnippetQueryTermCoverage: number() | nil,
    titles:
      [GoogleApi.ContentWarehouse.V1.Model.QualityPreviewRanklabTitle.t()] | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.