Google Cloud Web Risk v1 API - Class ComputeThreatListDiffResponse (2.4.0)

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

Inheritance

object > ComputeThreatListDiffResponse

Namespace

Google.Cloud.WebRisk.V1

Assembly

Google.Cloud.WebRisk.V1.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 discard this diff and retry later.

Property Value
TypeDescription
ComputeThreatListDiffResponseTypesChecksum

NewVersionToken

public ByteString NewVersionToken { get; set; }

The new opaque client version token. This should be retained by the client and passed into the next call of ComputeThreatListDiff as 'version_token'. A separate version token should be stored and used for each threatList.

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
ComputeThreatListDiffResponseTypesResponseType