Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RiskAnalysisJobConfig

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

Overview

Configuration for a risk analysis job.

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

Returns a new instance of GooglePrivacyDlpV2beta2RiskAnalysisJobConfig



5526
5527
5528
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5526

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

Instance Attribute Details

#actionsArray<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Action>

Actions to execute at the completion of the job. Are executed in the order provided. Corresponds to the JSON property actions



5510
5511
5512
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5510

def actions
  @actions
end

#privacy_metricGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PrivacyMetric

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



5515
5516
5517
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5515

def privacy_metric
  @privacy_metric
end

#source_tableGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2BigQueryTable

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



5524
5525
5526
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5524

def source_table
  @source_table
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5531
5532
5533
5534
5535
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5531

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