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

This message contains features for candidates at the chooser level. For each snippet candidate, we also log the final score as the last candidate feature.

Attributes

  • dataSourceType (type: integer(), default: nil) - data_source_type corresponds to the ChosenSnippet::SnippetType enum.
  • features (type: list(GoogleApi.ContentWarehouse.V1.Model.MustangReposWwwSnippetsCandidateFeature.t), default: nil) -
  • text (type: String.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.MustangReposWwwSnippetsSnippetCandidate{
    dataSourceType: integer() | nil,
    features:
      [
        GoogleApi.ContentWarehouse.V1.Model.MustangReposWwwSnippetsCandidateFeature.t()
      ]
      | nil,
    text: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.