Data Loss Prevention V2 Client - Class NumericalStatsResult (1.11.0)

Reference documentation and code samples for the Data Loss Prevention V2 Client class NumericalStatsResult.

Result of the numerical stats computation.

Generated from protobuf message google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult

Namespace

Google \ Cloud \ Dlp \ V2 \ AnalyzeDataSourceRiskDetails

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ min_value Google\Cloud\Dlp\V2\Value

Minimum value appearing in the column.

↳ max_value Google\Cloud\Dlp\V2\Value

Maximum value appearing in the column.

↳ quantile_values array<Google\Cloud\Dlp\V2\Value>

List of 99 values that partition the set of field values into 100 equal sized buckets.

getMinValue

Minimum value appearing in the column.

Returns
TypeDescription
Google\Cloud\Dlp\V2\Value|null

hasMinValue

clearMinValue

setMinValue

Minimum value appearing in the column.

Parameter
NameDescription
var Google\Cloud\Dlp\V2\Value
Returns
TypeDescription
$this

getMaxValue

Maximum value appearing in the column.

Returns
TypeDescription
Google\Cloud\Dlp\V2\Value|null

hasMaxValue

clearMaxValue

setMaxValue

Maximum value appearing in the column.

Parameter
NameDescription
var Google\Cloud\Dlp\V2\Value
Returns
TypeDescription
$this

getQuantileValues

List of 99 values that partition the set of field values into 100 equal sized buckets.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setQuantileValues

List of 99 values that partition the set of field values into 100 equal sized buckets.

Parameter
NameDescription
var array<Google\Cloud\Dlp\V2\Value>
Returns
TypeDescription
$this