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



113
114
115
# File 'generated/google/apis/dlp_v2/classes.rb', line 113

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



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

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



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

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



87
88
89
# File 'generated/google/apis/dlp_v2/classes.rb', line 87

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



92
93
94
# File 'generated/google/apis/dlp_v2/classes.rb', line 92

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



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

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



102
103
104
# File 'generated/google/apis/dlp_v2/classes.rb', line 102

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



111
112
113
# File 'generated/google/apis/dlp_v2/classes.rb', line 111

def requested_source_table
  @requested_source_table
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



118
119
120
121
122
123
124
125
126
# File 'generated/google/apis/dlp_v2/classes.rb', line 118

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