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

This holds SpamBrain values which will be populated to docjoins & muppet. Proto is copied from spam_brain::SpamBrainData and populated at sitechunked site level (as opposed to the spambrain page classifier score).

Attributes

  • site (type: String.t, default: nil) - Sitechunker site granularity for this result
  • versionedData (type: list(GoogleApi.ContentWarehouse.V1.Model.SpamBrainScore.t), default: nil) - Versioned scores of SB classifiers

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.SpamBrainData{
  site: String.t() | nil,
  versionedData: [GoogleApi.ContentWarehouse.V1.Model.SpamBrainScore.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.