View Source GoogleApi.SafeBrowsing.V4.Model.GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse (google_api_safe_browsing v0.25.0)

An update to an individual list.

Attributes

  • additions (type: list(GoogleApi.SafeBrowsing.V4.Model.GoogleSecuritySafebrowsingV4ThreatEntrySet.t), default: nil) - A set of entries to add to a local threat type's list. Repeated to allow for a combination of compressed and raw data to be sent in a single response.
  • checksum (type: GoogleApi.SafeBrowsing.V4.Model.GoogleSecuritySafebrowsingV4Checksum.t, default: nil) - The expected SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database after applying the provided update. If the client state doesn't match the expected state, the client must disregard this update and retry later.
  • newClientState (type: String.t, default: nil) - The new client state, in encrypted format. Opaque to clients.
  • platformType (type: String.t, default: nil) - The platform type for which data is returned.
  • removals (type: list(GoogleApi.SafeBrowsing.V4.Model.GoogleSecuritySafebrowsingV4ThreatEntrySet.t), default: nil) - A set of entries to remove from a local threat type's list. In practice, this field is empty or contains exactly one ThreatEntrySet.
  • responseType (type: String.t, default: nil) - The type of response. This may indicate that an action is required by the client when the response is received.
  • threatEntryType (type: String.t, default: nil) - The format of the threats.
  • threatType (type: String.t, default: nil) - The threat type for which data is returned.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.SafeBrowsing.V4.Model.GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse{
    additions:
      [
        GoogleApi.SafeBrowsing.V4.Model.GoogleSecuritySafebrowsingV4ThreatEntrySet.t()
      ]
      | nil,
    checksum:
      GoogleApi.SafeBrowsing.V4.Model.GoogleSecuritySafebrowsingV4Checksum.t()
      | nil,
    newClientState: String.t() | nil,
    platformType: String.t() | nil,
    removals:
      [
        GoogleApi.SafeBrowsing.V4.Model.GoogleSecuritySafebrowsingV4ThreatEntrySet.t()
      ]
      | nil,
    responseType: String.t() | nil,
    threatEntryType: String.t() | nil,
    threatType: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.