Data Loss Prevention V2 Client - Class KAnonymityResult (1.11.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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setEquivalenceClassHistogramBuckets

Histogram of k-anonymity equivalence classes.

Parameter
NameDescription
var array<Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KAnonymityResult\KAnonymityHistogramBucket>
Returns
TypeDescription
$this