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

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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.