Class: Google::Apis::MigrationcenterV1alpha1::ImportRowError
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::ImportRowError
- 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 reports the import job errors at row level.
Instance Attribute Summary collapse
-
#archive_error ⇒ Google::Apis::MigrationcenterV1alpha1::ImportRowErrorArchiveErrorDetails
Error details for an archive file.
-
#asset_title ⇒ String
The asset title.
-
#csv_error ⇒ Google::Apis::MigrationcenterV1alpha1::ImportRowErrorCsvErrorDetails
Error details for a CSV file.
-
#errors ⇒ Array<Google::Apis::MigrationcenterV1alpha1::ImportError>
The list of errors detected in the row.
-
#row_number ⇒ Fixnum
The row number where the error was detected.
-
#vm_name ⇒ String
The name of the VM in the row.
-
#vm_uuid ⇒ String
The VM UUID.
-
#xlsx_error ⇒ Google::Apis::MigrationcenterV1alpha1::ImportRowErrorXlsxErrorDetails
Error details for an XLSX file.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ImportRowError
constructor
A new instance of ImportRowError.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ImportRowError
Returns a new instance of ImportRowError.
3558 3559 3560 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3558 def initialize(**args) update!(**args) end |
Instance Attribute Details
#archive_error ⇒ Google::Apis::MigrationcenterV1alpha1::ImportRowErrorArchiveErrorDetails
Error details for an archive file.
Corresponds to the JSON property archiveError
3521 3522 3523 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3521 def archive_error @archive_error end |
#asset_title ⇒ String
The asset title.
Corresponds to the JSON property assetTitle
3526 3527 3528 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3526 def asset_title @asset_title end |
#csv_error ⇒ Google::Apis::MigrationcenterV1alpha1::ImportRowErrorCsvErrorDetails
Error details for a CSV file.
Corresponds to the JSON property csvError
3531 3532 3533 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3531 def csv_error @csv_error end |
#errors ⇒ Array<Google::Apis::MigrationcenterV1alpha1::ImportError>
The list of errors detected in the row.
Corresponds to the JSON property errors
3536 3537 3538 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3536 def errors @errors end |
#row_number ⇒ Fixnum
The row number where the error was detected.
Corresponds to the JSON property rowNumber
3541 3542 3543 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3541 def row_number @row_number end |
#vm_name ⇒ String
The name of the VM in the row.
Corresponds to the JSON property vmName
3546 3547 3548 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3546 def vm_name @vm_name end |
#vm_uuid ⇒ String
The VM UUID.
Corresponds to the JSON property vmUuid
3551 3552 3553 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3551 def vm_uuid @vm_uuid end |
#xlsx_error ⇒ Google::Apis::MigrationcenterV1alpha1::ImportRowErrorXlsxErrorDetails
Error details for an XLSX file.
Corresponds to the JSON property xlsxError
3556 3557 3558 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3556 def xlsx_error @xlsx_error end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3563 def update!(**args) @archive_error = args[:archive_error] if args.key?(:archive_error) @asset_title = args[:asset_title] if args.key?(:asset_title) @csv_error = args[:csv_error] if args.key?(:csv_error) @errors = args[:errors] if args.key?(:errors) @row_number = args[:row_number] if args.key?(:row_number) @vm_name = args[:vm_name] if args.key?(:vm_name) @vm_uuid = args[:vm_uuid] if args.key?(:vm_uuid) @xlsx_error = args[:xlsx_error] if args.key?(:xlsx_error) end |