Class ComputeThreatListDiffResponse (3.0.0-beta01)

public sealed class ComputeThreatListDiffResponse : IMessage<ComputeThreatListDiffResponse>, IEquatable<ComputeThreatListDiffResponse>, IDeepCloneable<ComputeThreatListDiffResponse>, IBufferMessage, IMessage

Inheritance

Object > ComputeThreatListDiffResponse

Namespace

Google.Cloud.WebRisk.V1Beta1

Assembly

Google.Cloud.WebRisk.V1Beta1.dll

Constructors

ComputeThreatListDiffResponse()

public ComputeThreatListDiffResponse()

ComputeThreatListDiffResponse(ComputeThreatListDiffResponse)

public ComputeThreatListDiffResponse(ComputeThreatListDiffResponse other)
Parameter
NameDescription
otherComputeThreatListDiffResponse

Properties

Additions

public ThreatEntryAdditions Additions { get; set; }

A set of entries to add to a local threat type's list.

Property Value
TypeDescription
ThreatEntryAdditions

Checksum

public ComputeThreatListDiffResponse.Types.Checksum Checksum { get; set; }

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.

Property Value
TypeDescription
ComputeThreatListDiffResponse.Types.Checksum

NewVersionToken

public ByteString NewVersionToken { get; set; }

The new opaque client version token.

Property Value
TypeDescription
ByteString

RecommendedNextDiff

public Timestamp RecommendedNextDiff { get; set; }

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.

Property Value
TypeDescription
Timestamp

Removals

public ThreatEntryRemovals Removals { get; set; }

A set of entries to remove from a local threat type's list. This field may be empty.

Property Value
TypeDescription
ThreatEntryRemovals

ResponseType

public ComputeThreatListDiffResponse.Types.ResponseType ResponseType { get; set; }

The type of response. This may indicate that an action must be taken by the client when the response is received.

Property Value
TypeDescription
ComputeThreatListDiffResponse.Types.ResponseType