Class ThreatEntryAdditions (3.0.0-beta01)

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

Contains the set of entries to add to a local database. May contain a combination of compressed and raw data in a single response.

Inheritance

Object > ThreatEntryAdditions

Namespace

Google.Cloud.WebRisk.V1Beta1

Assembly

Google.Cloud.WebRisk.V1Beta1.dll

Constructors

ThreatEntryAdditions()

public ThreatEntryAdditions()

ThreatEntryAdditions(ThreatEntryAdditions)

public ThreatEntryAdditions(ThreatEntryAdditions other)
Parameter
NameDescription
otherThreatEntryAdditions

Properties

RawHashes

public RepeatedField<RawHashes> RawHashes { get; }

The raw SHA256-formatted entries. Repeated to allow returning sets of hashes with different prefix sizes.

Property Value
TypeDescription
RepeatedField<RawHashes>

RiceHashes

public RiceDeltaEncoding RiceHashes { get; set; }

The encoded 4-byte prefixes of SHA256-formatted entries, using a Golomb-Rice encoding. The hashes are converted to uint32, sorted in ascending order, then delta encoded and stored as encoded_data.

Property Value
TypeDescription
RiceDeltaEncoding