Class: Google::Apis::MigrationcenterV1alpha1::ValidationReport

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 aggregates errors across import job files.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ValidationReport

Returns a new instance of ValidationReport.



8656
8657
8658
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 8656

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

Instance Attribute Details

#file_validationsArray<Google::Apis::MigrationcenterV1alpha1::FileValidationReport>

List of errors found in files. Corresponds to the JSON property fileValidations



8649
8650
8651
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 8649

def file_validations
  @file_validations
end

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

List of job level errors. Corresponds to the JSON property jobErrors



8654
8655
8656
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 8654

def job_errors
  @job_errors
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8661
8662
8663
8664
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 8661

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