Data Loss Prevention V2 Client - Class NumericalStatsConfig (1.9.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
NameDescription
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
TypeDescription
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
NameDescription
var Google\Cloud\Dlp\V2\FieldId
Returns
TypeDescription
$this