Data Loss Prevention V2 Client - Class CategoricalStatsConfig (1.8.6)

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

Compute numerical stats over an individual column, including number of distinct values and value count distribution.

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

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ field
Google\Cloud\Dlp\V2\FieldId

Field to compute categorical stats on. All column types are supported except for arrays and structs. However, it may be more informative to use NumericalStats when the field type is supported, depending on the data.

getField

Field to compute categorical stats on. All column types are supported except for arrays and structs. However, it may be more informative to use NumericalStats when the field type is supported, depending on the data.

Returns
Type
Description

hasField

clearField

setField

Field to compute categorical stats on. All column types are supported except for arrays and structs. However, it may be more informative to use NumericalStats when the field type is supported, depending on the data.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: