Data Loss Prevention V2 Client - Class KAnonymityResult (1.14.0)

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

Result of the k-anonymity computation.

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

Namespace

Google \ Cloud \ Dlp \ V2 \ AnalyzeDataSourceRiskDetails

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ equivalence_class_histogram_buckets array<Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KAnonymityResult\KAnonymityHistogramBucket>

Histogram of k-anonymity equivalence classes.

getEquivalenceClassHistogramBuckets

Histogram of k-anonymity equivalence classes.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setEquivalenceClassHistogramBuckets

Histogram of k-anonymity equivalence classes.

Parameter
Name Description
var array<Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KAnonymityResult\KAnonymityHistogramBucket>
Returns
Type Description
$this