Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PrivacyMetric
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PrivacyMetric
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2beta1/classes.rb,
generated/google/apis/dlp_v2beta1/representations.rb,
generated/google/apis/dlp_v2beta1/representations.rb
Overview
Privacy metric to compute for reidentification risk analysis.
Instance Attribute Summary collapse
-
#categorical_stats_config ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CategoricalStatsConfig
Compute numerical stats over an individual column, including number of distinct values and value count distribution.
-
#k_anonymity_config ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KAnonymityConfig
k-anonymity metric, used for analysis of reidentification risk.
-
#l_diversity_config ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1LDiversityConfig
l-diversity metric, used for analysis of reidentification risk.
-
#numerical_stats_config ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1NumericalStatsConfig
Compute numerical stats over an individual column, including min, max, and quantiles.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1PrivacyMetric
constructor
A new instance of GooglePrivacyDlpV2beta1PrivacyMetric.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1PrivacyMetric
Returns a new instance of GooglePrivacyDlpV2beta1PrivacyMetric
2411 2412 2413 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2411 def initialize(**args) update!(**args) end |
Instance Attribute Details
#categorical_stats_config ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CategoricalStatsConfig
Compute numerical stats over an individual column, including
number of distinct values and value count distribution.
Corresponds to the JSON property categoricalStatsConfig
2393 2394 2395 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2393 def categorical_stats_config @categorical_stats_config end |
#k_anonymity_config ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KAnonymityConfig
k-anonymity metric, used for analysis of reidentification risk.
Corresponds to the JSON property kAnonymityConfig
2398 2399 2400 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2398 def k_anonymity_config @k_anonymity_config end |
#l_diversity_config ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1LDiversityConfig
l-diversity metric, used for analysis of reidentification risk.
Corresponds to the JSON property lDiversityConfig
2403 2404 2405 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2403 def l_diversity_config @l_diversity_config end |
#numerical_stats_config ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1NumericalStatsConfig
Compute numerical stats over an individual column, including
min, max, and quantiles.
Corresponds to the JSON property numericalStatsConfig
2409 2410 2411 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2409 def numerical_stats_config @numerical_stats_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2416 2417 2418 2419 2420 2421 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2416 def update!(**args) @categorical_stats_config = args[:categorical_stats_config] if args.key?(:categorical_stats_config) @k_anonymity_config = args[:k_anonymity_config] if args.key?(:k_anonymity_config) @l_diversity_config = args[:l_diversity_config] if args.key?(:l_diversity_config) @numerical_stats_config = args[:numerical_stats_config] if args.key?(:numerical_stats_config) end |