Class ComputeThreatListDiffResponse (1.0.1)

Stay organized with collections Save and categorize content based on your preferences.
ComputeThreatListDiffResponse(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Attributes

NameDescription
response_type `.webrisk.ComputeThreatListDiffResponse.ResponseType`
The type of response. This may indicate that an action must be taken by the client when the response is received.
additions `.webrisk.ThreatEntryAdditions`
A set of entries to add to a local threat type's list.
removals `.webrisk.ThreatEntryRemovals`
A set of entries to remove from a local threat type's list. This field may be empty.
new_version_token bytes
The new opaque client version token.
checksum `.webrisk.ComputeThreatListDiffResponse.Checksum`
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 diff. If the client state doesn't match the expected state, the client must disregard this diff and retry later.
recommended_next_diff `.timestamp.Timestamp`
The soonest the client should wait before issuing any diff request. Querying sooner is unlikely to produce a meaningful diff. Waiting longer is acceptable considering the use case. If this field is not set clients may update as soon as they want.

Inheritance

builtins.object > proto.message.Message > ComputeThreatListDiffResponse

Classes

Checksum

Checksum(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The expected state of a client's local database.

ResponseType

ResponseType(value)

The type of response sent to the client.