Data Loss Prevention V2 Client - Class PrivacyMetric (2.6.1)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Data Loss Prevention V2 Client class PrivacyMetric.
Privacy metric to compute for reidentification risk analysis.
Generated from protobuf message google.privacy.dlp.v2.PrivacyMetric
Namespace
Google \ Cloud \ Dlp \ V2
Methods
__construct
data
array
Optional. Data for populating the Message object.
↳ categorical_stats_config
↳ k_map_estimation_config
↳ delta_presence_estimation_config
getNumericalStatsConfig
hasNumericalStatsConfig
setNumericalStatsConfig
getCategoricalStatsConfig
hasCategoricalStatsConfig
setCategoricalStatsConfig
getKAnonymityConfig
hasKAnonymityConfig
setKAnonymityConfig
getLDiversityConfig
hasLDiversityConfig
setLDiversityConfig
getKMapEstimationConfig
hasKMapEstimationConfig
setKMapEstimationConfig
getDeltaPresenceEstimationConfig
hasDeltaPresenceEstimationConfig
setDeltaPresenceEstimationConfig
getType
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Data Loss Prevention V2 Client - Class PrivacyMetric (2.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.1 (latest)](/php/docs/reference/cloud-dlp/latest/V2.PrivacyMetric)\n- [2.6.0](/php/docs/reference/cloud-dlp/2.6.0/V2.PrivacyMetric)\n- [2.4.1](/php/docs/reference/cloud-dlp/2.4.1/V2.PrivacyMetric)\n- [2.3.0](/php/docs/reference/cloud-dlp/2.3.0/V2.PrivacyMetric)\n- [2.2.3](/php/docs/reference/cloud-dlp/2.2.3/V2.PrivacyMetric)\n- [2.1.0](/php/docs/reference/cloud-dlp/2.1.0/V2.PrivacyMetric)\n- [2.0.0](/php/docs/reference/cloud-dlp/2.0.0/V2.PrivacyMetric)\n- [1.19.0](/php/docs/reference/cloud-dlp/1.19.0/V2.PrivacyMetric)\n- [1.18.0](/php/docs/reference/cloud-dlp/1.18.0/V2.PrivacyMetric)\n- [1.17.0](/php/docs/reference/cloud-dlp/1.17.0/V2.PrivacyMetric)\n- [1.16.0](/php/docs/reference/cloud-dlp/1.16.0/V2.PrivacyMetric)\n- [1.15.1](/php/docs/reference/cloud-dlp/1.15.1/V2.PrivacyMetric)\n- [1.14.0](/php/docs/reference/cloud-dlp/1.14.0/V2.PrivacyMetric)\n- [1.13.2](/php/docs/reference/cloud-dlp/1.13.2/V2.PrivacyMetric)\n- [1.12.0](/php/docs/reference/cloud-dlp/1.12.0/V2.PrivacyMetric)\n- [1.11.0](/php/docs/reference/cloud-dlp/1.11.0/V2.PrivacyMetric)\n- [1.10.2](/php/docs/reference/cloud-dlp/1.10.2/V2.PrivacyMetric)\n- [1.9.0](/php/docs/reference/cloud-dlp/1.9.0/V2.PrivacyMetric)\n- [1.8.6](/php/docs/reference/cloud-dlp/1.8.6/V2.PrivacyMetric) \nReference documentation and code samples for the Data Loss Prevention V2 Client class PrivacyMetric.\n\nPrivacy metric to compute for reidentification risk analysis.\n\nGenerated from protobuf message `google.privacy.dlp.v2.PrivacyMetric`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dlp \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getNumericalStatsConfig\n\nNumerical stats\n\n### hasNumericalStatsConfig\n\n### setNumericalStatsConfig\n\nNumerical stats\n\n### getCategoricalStatsConfig\n\nCategorical stats\n\n### hasCategoricalStatsConfig\n\n### setCategoricalStatsConfig\n\nCategorical stats\n\n### getKAnonymityConfig\n\nK-anonymity\n\n### hasKAnonymityConfig\n\n### setKAnonymityConfig\n\nK-anonymity\n\n### getLDiversityConfig\n\nl-diversity\n\n### hasLDiversityConfig\n\n### setLDiversityConfig\n\nl-diversity\n\n### getKMapEstimationConfig\n\nk-map\n\n### hasKMapEstimationConfig\n\n### setKMapEstimationConfig\n\nk-map\n\n### getDeltaPresenceEstimationConfig\n\ndelta-presence\n\n### hasDeltaPresenceEstimationConfig\n\n### setDeltaPresenceEstimationConfig\n\ndelta-presence\n\n### getType"]]