Google Cloud Web Risk v1 API - Class ThreatEntryAdditions (2.6.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
Name Description
other ThreatEntryAdditions

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
Type Description
RepeatedFieldRawHashes

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
Type Description
RiceDeltaEncoding