Class: Google::Apis::DatamigrationV1::BackgroundJobLogEntry
- Inherits:
-
Object
- Object
- Google::Apis::DatamigrationV1::BackgroundJobLogEntry
- 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
-
#apply_job_details ⇒ Google::Apis::DatamigrationV1::ApplyJobDetails
Details regarding an Apply background job.
-
#completion_comment ⇒ String
Output only.
-
#completion_state ⇒ String
Output only.
-
#convert_job_details ⇒ Google::Apis::DatamigrationV1::ConvertJobDetails
Details regarding a Convert background job.
-
#finish_time ⇒ String
The timestamp when the background job was finished.
-
#id ⇒ String
The background job log entry ID.
-
#import_rules_job_details ⇒ Google::Apis::DatamigrationV1::ImportRulesJobDetails
Details regarding an Import Rules background job.
-
#job_type ⇒ String
The type of job that was executed.
-
#request_autocommit ⇒ Boolean
(also: #request_autocommit?)
Output only.
-
#seed_job_details ⇒ Google::Apis::DatamigrationV1::SeedJobDetails
Details regarding a Seed background job.
-
#start_time ⇒ String
The timestamp when the background job was started.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BackgroundJobLogEntry
constructor
A new instance of BackgroundJobLogEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BackgroundJobLogEntry
Returns a new instance of BackgroundJobLogEntry.
371 372 373 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 371 def initialize(**args) update!(**args) end |
Instance Attribute Details
#apply_job_details ⇒ Google::Apis::DatamigrationV1::ApplyJobDetails
Details regarding an Apply background job.
Corresponds to the JSON property applyJobDetails
315 316 317 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 315 def apply_job_details @apply_job_details end |
#completion_comment ⇒ String
Output only. 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
321 322 323 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 321 def completion_comment @completion_comment end |
#completion_state ⇒ String
Output only. Job completion state, i.e. the final state after the job
completed.
Corresponds to the JSON property completionState
327 328 329 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 327 def completion_state @completion_state end |
#convert_job_details ⇒ Google::Apis::DatamigrationV1::ConvertJobDetails
Details regarding a Convert background job.
Corresponds to the JSON property convertJobDetails
332 333 334 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 332 def convert_job_details @convert_job_details end |
#finish_time ⇒ String
The timestamp when the background job was finished.
Corresponds to the JSON property finishTime
337 338 339 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 337 def finish_time @finish_time end |
#id ⇒ String
The background job log entry ID.
Corresponds to the JSON property id
342 343 344 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 342 def id @id end |
#import_rules_job_details ⇒ Google::Apis::DatamigrationV1::ImportRulesJobDetails
Details regarding an Import Rules background job.
Corresponds to the JSON property importRulesJobDetails
347 348 349 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 347 def import_rules_job_details @import_rules_job_details end |
#job_type ⇒ String
The type of job that was executed.
Corresponds to the JSON property jobType
352 353 354 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 352 def job_type @job_type end |
#request_autocommit ⇒ Boolean Also known as: request_autocommit?
Output only. Whether the client requested the conversion workspace to be
committed after a successful completion of the job.
Corresponds to the JSON property requestAutocommit
358 359 360 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 358 def request_autocommit @request_autocommit end |
#seed_job_details ⇒ Google::Apis::DatamigrationV1::SeedJobDetails
Details regarding a Seed background job.
Corresponds to the JSON property seedJobDetails
364 365 366 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 364 def seed_job_details @seed_job_details end |
#start_time ⇒ String
The timestamp when the background job was started.
Corresponds to the JSON property startTime
369 370 371 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 369 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
376 377 378 379 380 381 382 383 384 385 386 387 388 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 376 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 |