class Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob

Combines all of the information about a DLP job.

Attributes

create_time[RW]

Time when the job was created. Corresponds to the JSON property `createTime` @return [String]

end_time[RW]

Time when the job finished. Corresponds to the JSON property `endTime` @return [String]

errors[RW]

A stream of errors encountered running the job. Corresponds to the JSON property `errors` @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Error>]

inspect_details[RW]

The results of an inspect DataSource job. Corresponds to the JSON property `inspectDetails` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectDataSourceDetails]

job_trigger_name[RW]

If created by a job trigger, the resource name of the trigger that instantiated the job. Corresponds to the JSON property `jobTriggerName` @return [String]

name[RW]

The server-assigned name. Corresponds to the JSON property `name` @return [String]

risk_details[RW]

Result of a risk analysis operation request. Corresponds to the JSON property `riskDetails` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails]

start_time[RW]

Time when the job started. Corresponds to the JSON property `startTime` @return [String]

state[RW]

State of a job. Corresponds to the JSON property `state` @return [String]

type[RW]

The type of job. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dlp_v2/classes.rb, line 2124
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 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