Google Cloud Web Risk V1beta1 Client - Class ThreatEntryRemovals (1.5.4)

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

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

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

Namespace

Google \ Cloud \ WebRisk \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ raw_indices Google\Cloud\WebRisk\V1beta1\RawIndices

The raw removal indices for a local list.

↳ rice_indices Google\Cloud\WebRisk\V1beta1\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
Google\Cloud\WebRisk\V1beta1\RawIndices|null

hasRawIndices

clearRawIndices

setRawIndices

The raw removal indices for a local list.

Parameter
Name Description
var Google\Cloud\WebRisk\V1beta1\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
Google\Cloud\WebRisk\V1beta1\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 Google\Cloud\WebRisk\V1beta1\RiceDeltaEncoding
Returns
Type Description
$this