Class: Google::Apis::MigrationcenterV1alpha1::ValidationReport
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::ValidationReport
- 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
-
#file_validations ⇒ Array<Google::Apis::MigrationcenterV1alpha1::FileValidationReport>
List of errors found in files.
-
#job_errors ⇒ Array<Google::Apis::MigrationcenterV1alpha1::ImportError>
List of job level errors.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ValidationReport
constructor
A new instance of ValidationReport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ValidationReport
Returns a new instance of ValidationReport.
7411 7412 7413 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7411 def initialize(**args) update!(**args) end |
Instance Attribute Details
#file_validations ⇒ Array<Google::Apis::MigrationcenterV1alpha1::FileValidationReport>
List of errors found in files.
Corresponds to the JSON property fileValidations
7404 7405 7406 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7404 def file_validations @file_validations end |
#job_errors ⇒ Array<Google::Apis::MigrationcenterV1alpha1::ImportError>
List of job level errors.
Corresponds to the JSON property jobErrors
7409 7410 7411 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7409 def job_errors @job_errors end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7416 7417 7418 7419 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7416 def update!(**args) @file_validations = args[:file_validations] if args.key?(:file_validations) @job_errors = args[:job_errors] if args.key?(:job_errors) end |