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

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
Name Description
data array

Optional. Data for populating the Message object.

↳ raw_indices RawIndices

The raw removal indices for a local list.

↳ rice_indices 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
Type Description
RawIndices|null

hasRawIndices

clearRawIndices

setRawIndices

The raw removal indices for a local list.

Parameter
Name Description
var RawIndices
Returns
Type Description
$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
Type Description
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
Name Description
var RiceDeltaEncoding
Returns
Type Description
$this