Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskRequest

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

Request for creating a risk analysis DlpJob.

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

Returns a new instance of GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskRequest



1690
1691
1692
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1690

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

Instance Attribute Details

#job_configGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RiskAnalysisJobConfig

Configuration for a risk analysis job. Corresponds to the JSON property jobConfig



1679
1680
1681
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1679

def job_config
  @job_config
end

#job_idString

Optional job ID to use for the created job. If not provided, a job ID will automatically be generated. Must be unique within the project. The job ID can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: [a-zA-Z\\d-]+. The maximum length is 100 characters. Can be empty to allow the system to generate one. Corresponds to the JSON property jobId

Returns:

  • (String)


1688
1689
1690
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1688

def job_id
  @job_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1695
1696
1697
1698
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1695

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