class Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob
Combines all of the information about a DLP job.
Attributes
Time when the job was created. Corresponds to the JSON property `createTime` @return [String]
Time when the job finished. Corresponds to the JSON property `endTime` @return [String]
A stream of errors encountered running the job. Corresponds to the JSON property `errors` @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Error>]
The results of an inspect DataSource job. Corresponds to the JSON property `inspectDetails` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectDataSourceDetails]
If created by a job trigger, the resource name of the trigger that instantiated the job. Corresponds to the JSON property `jobTriggerName` @return [String]
The server-assigned name. Corresponds to the JSON property `name` @return [String]
Result of a risk analysis operation request. Corresponds to the JSON property `riskDetails` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails]
Time when the job started. Corresponds to the JSON property `startTime` @return [String]
State of a job. Corresponds to the JSON property `state` @return [String]
The type of job. Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File lib/google/apis/dlp_v2/classes.rb, line 2124 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dlp_v2/classes.rb, line 2129 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @end_time = args[:end_time] if args.key?(:end_time) @errors = args[:errors] if args.key?(:errors) @inspect_details = args[:inspect_details] if args.key?(:inspect_details) @job_trigger_name = args[:job_trigger_name] if args.key?(:job_trigger_name) @name = args[:name] if args.key?(:name) @risk_details = args[:risk_details] if args.key?(:risk_details) @start_time = args[:start_time] if args.key?(:start_time) @state = args[:state] if args.key?(:state) @type = args[:type] if args.key?(:type) end