Class: Google::Apis::MigrationcenterV1::ExecutionReport

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/migrationcenter_v1/classes.rb,
lib/google/apis/migrationcenter_v1/representations.rb,
lib/google/apis/migrationcenter_v1/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.



1878
1879
1880
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1878

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

Instance Attribute Details

#execution_errorsGoogle::Apis::MigrationcenterV1::ValidationReport

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



1866
1867
1868
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1866

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)


1871
1872
1873
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1871

def frames_reported
  @frames_reported
end

#total_rows_countFixnum

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

Returns:

  • (Fixnum)


1876
1877
1878
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1876

def total_rows_count
  @total_rows_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1883
1884
1885
1886
1887
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1883

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