class Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDlpJobRequest

Request message for CreateDlpJobRequest. Used to initiate long running jobs such as calculating risk metrics or inspecting Google Cloud Storage.

Attributes

inspect_job[RW]

Controls what and how to inspect for findings. Corresponds to the JSON property `inspectJob` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectJobConfig]

job_id[RW]

The job id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: `[a-zA-Zd-_]+`. The maximum length is 100 characters. Can be empty to allow the system to generate one. Corresponds to the JSON property `jobId` @return [String]

location_id[RW]

Deprecated. This field has no effect. Corresponds to the JSON property `locationId` @return [String]

risk_job[RW]

Configuration for a risk analysis job. See cloud.google.com/dlp/docs/ concepts-risk-analysis to learn more. Corresponds to the JSON property `riskJob` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2RiskAnalysisJobConfig]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dlp_v2/classes.rb, line 1165
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dlp_v2/classes.rb, line 1170
def update!(**args)
  @inspect_job = args[:inspect_job] if args.key?(:inspect_job)
  @job_id = args[:job_id] if args.key?(:job_id)
  @location_id = args[:location_id] if args.key?(:location_id)
  @risk_job = args[:risk_job] if args.key?(:risk_job)
end