Class: Google::Apis::MigrationcenterV1alpha1::ImportRowErrorXlsxErrorDetails

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 XLSX file.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ImportRowErrorXlsxErrorDetails

Returns a new instance of ImportRowErrorXlsxErrorDetails.



4711
4712
4713
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4711

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

Instance Attribute Details

#row_numberFixnum

The row number where the error was detected. Corresponds to the JSON property rowNumber

Returns:

  • (Fixnum)


4704
4705
4706
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4704

def row_number
  @row_number
end

#sheetString

The name of the sheet where the error was detected. Corresponds to the JSON property sheet

Returns:

  • (String)


4709
4710
4711
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4709

def sheet
  @sheet
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4716
4717
4718
4719
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4716

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