Data Loss Prevention V2 Client - Class NumericalStatsConfig (1.14.0)

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

Compute numerical stats over an individual column, including min, max, and quantiles.

Generated from protobuf message google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig

Namespace

Google \ Cloud \ Dlp \ V2 \ PrivacyMetric

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ field Google\Cloud\Dlp\V2\FieldId

Field to compute numerical stats on. Supported types are integer, float, date, datetime, timestamp, time.

getField

Field to compute numerical stats on. Supported types are integer, float, date, datetime, timestamp, time.

Returns
Type Description
Google\Cloud\Dlp\V2\FieldId|null

hasField

clearField

setField

Field to compute numerical stats on. Supported types are integer, float, date, datetime, timestamp, time.

Parameter
Name Description
var Google\Cloud\Dlp\V2\FieldId
Returns
Type Description
$this