View Source GoogleApi.ToolResults.V1beta3.Model.SuggestionClusterProto (google_api_tool_results v0.33.0)

A set of similar suggestions that we suspect are closely related. This proto and most of the nested protos are branched from foxandcrown.prelaunchreport.service.SuggestionClusterProto, replacing PLR's dependencies with FTL's.

Attributes

  • category (type: String.t, default: nil) - Category in which these types of suggestions should appear. Always set.
  • suggestions (type: list(GoogleApi.ToolResults.V1beta3.Model.SuggestionProto.t), default: nil) - A sequence of suggestions. All of the suggestions within a cluster must have the same SuggestionPriority and belong to the same SuggestionCategory. Suggestions with the same screenshot URL should be adjacent.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ToolResults.V1beta3.Model.SuggestionClusterProto{
  category: String.t() | nil,
  suggestions: [GoogleApi.ToolResults.V1beta3.Model.SuggestionProto.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.