Google Cloud Web Risk V1 Client - Class ThreatEntryRemovals (1.4.4)

Reference documentation and code samples for the Google Cloud Web Risk V1 Client class ThreatEntryRemovals.

Contains the set of entries to remove from a local database.

Generated from protobuf message google.cloud.webrisk.v1.ThreatEntryRemovals

Namespace

Google \ Cloud \ WebRisk \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ raw_indices Google\Cloud\WebRisk\V1\RawIndices

The raw removal indices for a local list.

↳ rice_indices Google\Cloud\WebRisk\V1\RiceDeltaEncoding

The encoded local, lexicographically-sorted list indices, using a Golomb-Rice encoding. Used for sending compressed removal indices. The removal indices (uint32) are sorted in ascending order, then delta encoded and stored as encoded_data.

getRawIndices

The raw removal indices for a local list.

Returns
TypeDescription
Google\Cloud\WebRisk\V1\RawIndices|null

hasRawIndices

clearRawIndices

setRawIndices

The raw removal indices for a local list.

Parameter
NameDescription
var Google\Cloud\WebRisk\V1\RawIndices
Returns
TypeDescription
$this

getRiceIndices

The encoded local, lexicographically-sorted list indices, using a Golomb-Rice encoding. Used for sending compressed removal indices. The removal indices (uint32) are sorted in ascending order, then delta encoded and stored as encoded_data.

Returns
TypeDescription
Google\Cloud\WebRisk\V1\RiceDeltaEncoding|null

hasRiceIndices

clearRiceIndices

setRiceIndices

The encoded local, lexicographically-sorted list indices, using a Golomb-Rice encoding. Used for sending compressed removal indices. The removal indices (uint32) are sorted in ascending order, then delta encoded and stored as encoded_data.

Parameter
NameDescription
var Google\Cloud\WebRisk\V1\RiceDeltaEncoding
Returns
TypeDescription
$this