Class: Google::Apis::MigrationcenterV1alpha1::ExecutionReport

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

Overview

A resource that reports result of the import job execution.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExecutionReport

Returns a new instance of ExecutionReport.



3312
3313
3314
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3312

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

Instance Attribute Details

#execution_errorsGoogle::Apis::MigrationcenterV1alpha1::ValidationReport

A resource that aggregates errors across import job files. Corresponds to the JSON property executionErrors



3294
3295
3296
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3294

def execution_errors
  @execution_errors
end

#frames_reportedFixnum

Total number of asset frames reported for the import job. Corresponds to the JSON property framesReported

Returns:

  • (Fixnum)


3299
3300
3301
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3299

def frames_reported
  @frames_reported
end

#job_errorsArray<Google::Apis::MigrationcenterV1alpha1::ImportError>

List of job-level errors. Deprecated, use the job errors under execution_errors instead. Corresponds to the JSON property jobErrors



3305
3306
3307
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3305

def job_errors
  @job_errors
end

#total_rows_countFixnum

Total number of rows in the import job. Corresponds to the JSON property totalRowsCount

Returns:

  • (Fixnum)


3310
3311
3312
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3310

def total_rows_count
  @total_rows_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3317
3318
3319
3320
3321
3322
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3317

def update!(**args)
  @execution_errors = args[:execution_errors] if args.key?(:execution_errors)
  @frames_reported = args[:frames_reported] if args.key?(:frames_reported)
  @job_errors = args[:job_errors] if args.key?(:job_errors)
  @total_rows_count = args[:total_rows_count] if args.key?(:total_rows_count)
end