GoogleApi.ContentWarehouse.V1.Model.MustangReposWwwSnippetsSnippetCandidate
Table of Contents ▼
Jump to a specific part of the page:
Description
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 List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
dataSourceType
(type:integer()
, default:nil
)
- data_source_type corresponds to the ChosenSnippet::SnippetType enum. -
features
(type:list(GoogleApi.ContentWarehouse.V1.Model.MustangReposWwwSnippetsCandidateFeature)
, default:nil
)
- -
text
(type:String.t
, default:nil
)
-
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.MustangReposWwwSnippetsSnippetCandidate{
dataSourceType: integer() | nil,
features: [ GoogleApi.ContentWarehouse.V1.Model.MustangReposWwwSnippetsCandidateFeature.t() ] | nil,
text: String.t() | nil
}
dataSourceType: integer() | nil,
features: [ GoogleApi.ContentWarehouse.V1.Model.MustangReposWwwSnippetsCandidateFeature.t() ] | nil,
text: String.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.MustangReposWwwSnippetsSnippetCandidate