Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskRequest
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskRequest
- 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
-
#job_config ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RiskAnalysisJobConfig
Configuration for a risk analysis job.
-
#job_id ⇒ String
Optional job ID to use for the created job.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskRequest
constructor
A new instance of GooglePrivacyDlpV2beta2AnalyzeDataSourceRiskRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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_config ⇒ Google::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_id ⇒ String
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
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 |