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
-
#completion_comment ⇒ String
Job completion comment, such as how many entities were seeded, how many warnings were found during conversion and similar information.
-
#completion_state ⇒ String
Job completion state, i.e.
-
#finish_time ⇒ String
The timestamp when the background job was finished.
-
#id ⇒ String
The background job log entry id Corresponds to the JSON property
id
. -
#import_rules_job_details ⇒ Google::Apis::DatamigrationV1::ImportRulesJobDetails
Details regarding an Import Rules background job Corresponds to the JSON property
importRulesJobDetails
. -
#job_type ⇒ String
The type of job that was executed.
-
#request_autocommit ⇒ Boolean
(also: #request_autocommit?)
Whether the client requested the conversion workspace to be committed after a successful completion of the job.
-
#seed_job_details ⇒ Google::Apis::DatamigrationV1::SeedJobDetails
Details regarding a Seed background job Corresponds to the JSON property
seedJobDetails
. -
#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.
244 245 246 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 244 def initialize(**args) update!(**args) end |
Instance Attribute Details
#completion_comment ⇒ String
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
200 201 202 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 200 def completion_comment @completion_comment end |
#completion_state ⇒ String
Job completion state, i.e. the final state after the job completed.
Corresponds to the JSON property completionState
205 206 207 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 205 def completion_state @completion_state end |
#finish_time ⇒ String
The timestamp when the background job was finished.
Corresponds to the JSON property finishTime
210 211 212 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 210 def finish_time @finish_time end |
#id ⇒ String
The background job log entry id
Corresponds to the JSON property id
215 216 217 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 215 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
220 221 222 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 220 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
225 226 227 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 225 def job_type @job_type end |
#request_autocommit ⇒ Boolean 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
231 232 233 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 231 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
237 238 239 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 237 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
242 243 244 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 242 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
249 250 251 252 253 254 255 256 257 258 259 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 249 def update!(**args) @completion_comment = args[:completion_comment] if args.key?(:completion_comment) @completion_state = args[:completion_state] if args.key?(:completion_state) @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 |