Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1AnalyzeDataSourceRiskRequest

Inherits:
Object
  • Object
show all
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

Request for creating a risk analysis operation.

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) ⇒ GooglePrivacyDlpV2beta1AnalyzeDataSourceRiskRequest

Returns a new instance of GooglePrivacyDlpV2beta1AnalyzeDataSourceRiskRequest



171
172
173
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 171

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

Instance Attribute Details

#privacy_metricGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PrivacyMetric

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



160
161
162
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 160

def privacy_metric
  @privacy_metric
end

#source_tableGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1BigQueryTable

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 sourceTable



169
170
171
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 169

def source_table
  @source_table
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



176
177
178
179
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 176

def update!(**args)
  @privacy_metric = args[:privacy_metric] if args.key?(:privacy_metric)
  @source_table = args[:source_table] if args.key?(:source_table)
end