Class: Google::Apis::DatamigrationV1::BackgroundJobLogEntry

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

Overview

Execution log of a background job.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BackgroundJobLogEntry

Returns a new instance of BackgroundJobLogEntry.



286
287
288
# File 'lib/google/apis/datamigration_v1/classes.rb', line 286

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

Instance Attribute Details

#apply_job_detailsGoogle::Apis::DatamigrationV1::ApplyJobDetails

Details regarding an Apply background job. Corresponds to the JSON property applyJobDetails



231
232
233
# File 'lib/google/apis/datamigration_v1/classes.rb', line 231

def apply_job_details
  @apply_job_details
end

#completion_commentString

Job completion comment, such as how many entities were seeded, how many warnings were found during conversion, and similar information. Corresponds to the JSON property completionComment

Returns:

  • (String)


237
238
239
# File 'lib/google/apis/datamigration_v1/classes.rb', line 237

def completion_comment
  @completion_comment
end

#completion_stateString

Job completion state, i.e. the final state after the job completed. Corresponds to the JSON property completionState

Returns:

  • (String)


242
243
244
# File 'lib/google/apis/datamigration_v1/classes.rb', line 242

def completion_state
  @completion_state
end

#convert_job_detailsGoogle::Apis::DatamigrationV1::ConvertJobDetails

Details regarding a Convert background job. Corresponds to the JSON property convertJobDetails



247
248
249
# File 'lib/google/apis/datamigration_v1/classes.rb', line 247

def convert_job_details
  @convert_job_details
end

#finish_timeString

The timestamp when the background job was finished. Corresponds to the JSON property finishTime

Returns:

  • (String)


252
253
254
# File 'lib/google/apis/datamigration_v1/classes.rb', line 252

def finish_time
  @finish_time
end

#idString

The background job log entry ID. Corresponds to the JSON property id

Returns:

  • (String)


257
258
259
# File 'lib/google/apis/datamigration_v1/classes.rb', line 257

def id
  @id
end

#import_rules_job_detailsGoogle::Apis::DatamigrationV1::ImportRulesJobDetails

Details regarding an Import Rules background job. Corresponds to the JSON property importRulesJobDetails



262
263
264
# File 'lib/google/apis/datamigration_v1/classes.rb', line 262

def import_rules_job_details
  @import_rules_job_details
end

#job_typeString

The type of job that was executed. Corresponds to the JSON property jobType

Returns:

  • (String)


267
268
269
# File 'lib/google/apis/datamigration_v1/classes.rb', line 267

def job_type
  @job_type
end

#request_autocommitBoolean Also known as: request_autocommit?

Whether the client requested the conversion workspace to be committed after a successful completion of the job. Corresponds to the JSON property requestAutocommit

Returns:

  • (Boolean)


273
274
275
# File 'lib/google/apis/datamigration_v1/classes.rb', line 273

def request_autocommit
  @request_autocommit
end

#seed_job_detailsGoogle::Apis::DatamigrationV1::SeedJobDetails

Details regarding a Seed background job. Corresponds to the JSON property seedJobDetails



279
280
281
# File 'lib/google/apis/datamigration_v1/classes.rb', line 279

def seed_job_details
  @seed_job_details
end

#start_timeString

The timestamp when the background job was started. Corresponds to the JSON property startTime

Returns:

  • (String)


284
285
286
# File 'lib/google/apis/datamigration_v1/classes.rb', line 284

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



291
292
293
294
295
296
297
298
299
300
301
302
303
# File 'lib/google/apis/datamigration_v1/classes.rb', line 291

def update!(**args)
  @apply_job_details = args[:apply_job_details] if args.key?(:apply_job_details)
  @completion_comment = args[:completion_comment] if args.key?(:completion_comment)
  @completion_state = args[:completion_state] if args.key?(:completion_state)
  @convert_job_details = args[:convert_job_details] if args.key?(:convert_job_details)
  @finish_time = args[:finish_time] if args.key?(:finish_time)
  @id = args[:id] if args.key?(:id)
  @import_rules_job_details = args[:import_rules_job_details] if args.key?(:import_rules_job_details)
  @job_type = args[:job_type] if args.key?(:job_type)
  @request_autocommit = args[:request_autocommit] if args.key?(:request_autocommit)
  @seed_job_details = args[:seed_job_details] if args.key?(:seed_job_details)
  @start_time = args[:start_time] if args.key?(:start_time)
end