Google Cloud Web Risk v1 API - Class ThreatEntryAdditions (2.2.0)

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

Reference documentation and code samples for the Google Cloud Web Risk v1 API class ThreatEntryAdditions.

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.V1

Assembly

Google.Cloud.WebRisk.V1.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