Class: Google::Apis::DlpV2::GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2/classes.rb,
generated/google/apis/dlp_v2/representations.rb,
generated/google/apis/dlp_v2/representations.rb

Overview

Result of a risk analysis operation request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails

Returns a new instance of GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails



96
97
98
# File 'generated/google/apis/dlp_v2/classes.rb', line 96

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#categorical_stats_resultGoogle::Apis::DlpV2::GooglePrivacyDlpV2CategoricalStatsResult

Result of the categorical stats computation. Corresponds to the JSON property categoricalStatsResult



59
60
61
# File 'generated/google/apis/dlp_v2/classes.rb', line 59

def categorical_stats_result
  @categorical_stats_result
end

#k_anonymity_resultGoogle::Apis::DlpV2::GooglePrivacyDlpV2KAnonymityResult

Result of the k-anonymity computation. Corresponds to the JSON property kAnonymityResult



64
65
66
# File 'generated/google/apis/dlp_v2/classes.rb', line 64

def k_anonymity_result
  @k_anonymity_result
end

#k_map_estimation_resultGoogle::Apis::DlpV2::GooglePrivacyDlpV2KMapEstimationResult

Result of the reidentifiability analysis. Note that these results are an estimation, not exact values. Corresponds to the JSON property kMapEstimationResult



70
71
72
# File 'generated/google/apis/dlp_v2/classes.rb', line 70

def k_map_estimation_result
  @k_map_estimation_result
end

#l_diversity_resultGoogle::Apis::DlpV2::GooglePrivacyDlpV2LDiversityResult

Result of the l-diversity computation. Corresponds to the JSON property lDiversityResult



75
76
77
# File 'generated/google/apis/dlp_v2/classes.rb', line 75

def l_diversity_result
  @l_diversity_result
end

#numerical_stats_resultGoogle::Apis::DlpV2::GooglePrivacyDlpV2NumericalStatsResult

Result of the numerical stats computation. Corresponds to the JSON property numericalStatsResult



80
81
82
# File 'generated/google/apis/dlp_v2/classes.rb', line 80

def numerical_stats_result
  @numerical_stats_result
end

#requested_privacy_metricGoogle::Apis::DlpV2::GooglePrivacyDlpV2PrivacyMetric

Privacy metric to compute for reidentification risk analysis. Corresponds to the JSON property requestedPrivacyMetric



85
86
87
# File 'generated/google/apis/dlp_v2/classes.rb', line 85

def requested_privacy_metric
  @requested_privacy_metric
end

#requested_source_tableGoogle::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable

Message defining the location of a BigQuery table. A table is uniquely identified by its project_id, dataset_id, and table_name. Within a query a table is often referenced with a string in the format of: <project_id>:<dataset_id>.<table_id> or <project_id>.<dataset_id>.<table_id>. Corresponds to the JSON property requestedSourceTable



94
95
96
# File 'generated/google/apis/dlp_v2/classes.rb', line 94

def requested_source_table
  @requested_source_table
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



101
102
103
104
105
106
107
108
109
# File 'generated/google/apis/dlp_v2/classes.rb', line 101

def update!(**args)
  @categorical_stats_result = args[:categorical_stats_result] if args.key?(:categorical_stats_result)
  @k_anonymity_result = args[:k_anonymity_result] if args.key?(:k_anonymity_result)
  @k_map_estimation_result = args[:k_map_estimation_result] if args.key?(:k_map_estimation_result)
  @l_diversity_result = args[:l_diversity_result] if args.key?(:l_diversity_result)
  @numerical_stats_result = args[:numerical_stats_result] if args.key?(:numerical_stats_result)
  @requested_privacy_metric = args[:requested_privacy_metric] if args.key?(:requested_privacy_metric)
  @requested_source_table = args[:requested_source_table] if args.key?(:requested_source_table)
end