Class: Google::Apis::MigrationcenterV1::ValidationReport
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::ValidationReport
- 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 aggregates errors across import job files.
Instance Attribute Summary collapse
-
#file_validations ⇒ Array<Google::Apis::MigrationcenterV1::FileValidationReport>
List of errors found in files.
-
#job_errors ⇒ Array<Google::Apis::MigrationcenterV1::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.
4969 4970 4971 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4969 def initialize(**args) update!(**args) end |
Instance Attribute Details
#file_validations ⇒ Array<Google::Apis::MigrationcenterV1::FileValidationReport>
List of errors found in files.
Corresponds to the JSON property fileValidations
4962 4963 4964 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4962 def file_validations @file_validations end |
#job_errors ⇒ Array<Google::Apis::MigrationcenterV1::ImportError>
List of job level errors.
Corresponds to the JSON property jobErrors
4967 4968 4969 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4967 def job_errors @job_errors end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4974 4975 4976 4977 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4974 def update!(**args) @file_validations = args[:file_validations] if args.key?(:file_validations) @job_errors = args[:job_errors] if args.key?(:job_errors) end |