Class: Google::Apis::MigrationcenterV1alpha1::ImportRowErrorArchiveErrorDetails

Inherits:
Object
  • Object
show all
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

Error details for an archive file.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ImportRowErrorArchiveErrorDetails

Returns a new instance of ImportRowErrorArchiveErrorDetails.



3390
3391
3392
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3390

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#csv_errorGoogle::Apis::MigrationcenterV1alpha1::ImportRowErrorCsvErrorDetails

Error details for a CSV file. Corresponds to the JSON property csvError



3383
3384
3385
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3383

def csv_error
  @csv_error
end

#file_pathString

The file path inside the archive where the error was detected. Corresponds to the JSON property filePath

Returns:

  • (String)


3388
3389
3390
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3388

def file_path
  @file_path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3395
3396
3397
3398
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3395

def update!(**args)
  @csv_error = args[:csv_error] if args.key?(:csv_error)
  @file_path = args[:file_path] if args.key?(:file_path)
end