Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb

Overview

Combines all of the information about a DLP job.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2DlpJob

Returns a new instance of GooglePrivacyDlpV2DlpJob.



3213
3214
3215
# File 'lib/google/apis/dlp_v2/classes.rb', line 3213

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

Instance Attribute Details

#action_detailsArray<Google::Apis::DlpV2::GooglePrivacyDlpV2ActionDetails>

Events that should occur after the job has completed. Corresponds to the JSON property actionDetails



3155
3156
3157
# File 'lib/google/apis/dlp_v2/classes.rb', line 3155

def action_details
  @action_details
end

#create_timeString

Time when the job was created. Corresponds to the JSON property createTime

Returns:

  • (String)


3160
3161
3162
# File 'lib/google/apis/dlp_v2/classes.rb', line 3160

def create_time
  @create_time
end

#end_timeString

Time when the job finished. Corresponds to the JSON property endTime

Returns:

  • (String)


3165
3166
3167
# File 'lib/google/apis/dlp_v2/classes.rb', line 3165

def end_time
  @end_time
end

#errorsArray<Google::Apis::DlpV2::GooglePrivacyDlpV2Error>

A stream of errors encountered running the job. Corresponds to the JSON property errors



3170
3171
3172
# File 'lib/google/apis/dlp_v2/classes.rb', line 3170

def errors
  @errors
end

#inspect_detailsGoogle::Apis::DlpV2::GooglePrivacyDlpV2InspectDataSourceDetails

The results of an inspect DataSource job. Corresponds to the JSON property inspectDetails



3175
3176
3177
# File 'lib/google/apis/dlp_v2/classes.rb', line 3175

def inspect_details
  @inspect_details
end

#job_trigger_nameString

If created by a job trigger, the resource name of the trigger that instantiated the job. Corresponds to the JSON property jobTriggerName

Returns:

  • (String)


3181
3182
3183
# File 'lib/google/apis/dlp_v2/classes.rb', line 3181

def job_trigger_name
  @job_trigger_name
end

#last_modifiedString

Time when the job was last modified by the system. Corresponds to the JSON property lastModified

Returns:

  • (String)


3186
3187
3188
# File 'lib/google/apis/dlp_v2/classes.rb', line 3186

def last_modified
  @last_modified
end

#nameString

The server-assigned name. Corresponds to the JSON property name

Returns:

  • (String)


3191
3192
3193
# File 'lib/google/apis/dlp_v2/classes.rb', line 3191

def name
  @name
end

#risk_detailsGoogle::Apis::DlpV2::GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails

Result of a risk analysis operation request. Corresponds to the JSON property riskDetails



3196
3197
3198
# File 'lib/google/apis/dlp_v2/classes.rb', line 3196

def risk_details
  @risk_details
end

#start_timeString

Time when the job started. Corresponds to the JSON property startTime

Returns:

  • (String)


3201
3202
3203
# File 'lib/google/apis/dlp_v2/classes.rb', line 3201

def start_time
  @start_time
end

#stateString

State of a job. Corresponds to the JSON property state

Returns:

  • (String)


3206
3207
3208
# File 'lib/google/apis/dlp_v2/classes.rb', line 3206

def state
  @state
end

#typeString

The type of job. Corresponds to the JSON property type

Returns:

  • (String)


3211
3212
3213
# File 'lib/google/apis/dlp_v2/classes.rb', line 3211

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
# File 'lib/google/apis/dlp_v2/classes.rb', line 3218

def update!(**args)
  @action_details = args[:action_details] if args.key?(:action_details)
  @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)
  @last_modified = args[:last_modified] if args.key?(:last_modified)
  @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