Class: Google::Apis::MigrationcenterV1alpha1::OutputFile

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

Contains a single output file.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OutputFile

Returns a new instance of OutputFile.



6469
6470
6471
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6469

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

Instance Attribute Details

#csv_output_fileGoogle::Apis::MigrationcenterV1alpha1::CsvOutputFile

Contains a single output file of type CSV. Corresponds to the JSON property csvOutputFile



6457
6458
6459
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6457

def csv_output_file
  @csv_output_file
end

#file_size_bytesFixnum

Output only. File size in bytes. Corresponds to the JSON property fileSizeBytes

Returns:

  • (Fixnum)


6462
6463
6464
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6462

def file_size_bytes
  @file_size_bytes
end

#xlsx_output_fileGoogle::Apis::MigrationcenterV1alpha1::XlsxOutputFile

Contains a single output file of type XLSX. Corresponds to the JSON property xlsxOutputFile



6467
6468
6469
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6467

def xlsx_output_file
  @xlsx_output_file
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6474
6475
6476
6477
6478
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6474

def update!(**args)
  @csv_output_file = args[:csv_output_file] if args.key?(:csv_output_file)
  @file_size_bytes = args[:file_size_bytes] if args.key?(:file_size_bytes)
  @xlsx_output_file = args[:xlsx_output_file] if args.key?(:xlsx_output_file)
end