Class: Google::Apis::MigrationcenterV1alpha1::FileValidationReport
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::FileValidationReport
- 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 the validation errors found in an import job file.
Instance Attribute Summary collapse
-
#file_errors ⇒ Array<Google::Apis::MigrationcenterV1alpha1::ImportError>
List of file level errors.
-
#file_name ⇒ String
The name of the file.
-
#partial_report ⇒ Boolean
(also: #partial_report?)
Flag indicating that processing was aborted due to maximum number of errors.
-
#row_errors ⇒ Array<Google::Apis::MigrationcenterV1alpha1::ImportRowError>
Partial list of rows that encountered validation error.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FileValidationReport
constructor
A new instance of FileValidationReport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FileValidationReport
Returns a new instance of FileValidationReport.
942 943 944 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 942 def initialize(**args) update!(**args) end |
Instance Attribute Details
#file_errors ⇒ Array<Google::Apis::MigrationcenterV1alpha1::ImportError>
List of file level errors.
Corresponds to the JSON property fileErrors
924 925 926 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 924 def file_errors @file_errors end |
#file_name ⇒ String
The name of the file.
Corresponds to the JSON property fileName
929 930 931 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 929 def file_name @file_name end |
#partial_report ⇒ Boolean Also known as: partial_report?
Flag indicating that processing was aborted due to maximum number of errors.
Corresponds to the JSON property partialReport
934 935 936 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 934 def partial_report @partial_report end |
#row_errors ⇒ Array<Google::Apis::MigrationcenterV1alpha1::ImportRowError>
Partial list of rows that encountered validation error.
Corresponds to the JSON property rowErrors
940 941 942 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 940 def row_errors @row_errors end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
947 948 949 950 951 952 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 947 def update!(**args) @file_errors = args[:file_errors] if args.key?(:file_errors) @file_name = args[:file_name] if args.key?(:file_name) @partial_report = args[:partial_report] if args.key?(:partial_report) @row_errors = args[:row_errors] if args.key?(:row_errors) end |