Class: Google::Apis::MigrationcenterV1::ImportRowError
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::ImportRowError
- 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 reports the import job errors at row level.
Instance Attribute Summary collapse
-
#errors ⇒ Array<Google::Apis::MigrationcenterV1::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.
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.
2179 2180 2181 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2179 def initialize(**args) update!(**args) end |
Instance Attribute Details
#errors ⇒ Array<Google::Apis::MigrationcenterV1::ImportError>
The list of errors detected in the row.
Corresponds to the JSON property errors
2162 2163 2164 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2162 def errors @errors end |
#row_number ⇒ Fixnum
The row number where the error was detected.
Corresponds to the JSON property rowNumber
2167 2168 2169 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2167 def row_number @row_number end |
#vm_name ⇒ String
The name of the VM in the row.
Corresponds to the JSON property vmName
2172 2173 2174 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2172 def vm_name @vm_name end |
#vm_uuid ⇒ String
The VM UUID.
Corresponds to the JSON property vmUuid
2177 2178 2179 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2177 def vm_uuid @vm_uuid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2184 2185 2186 2187 2188 2189 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2184 def update!(**args) @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) end |