Class: Google::Apis::MigrationcenterV1::OutputFile

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

Contains a single output file.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OutputFile

Returns a new instance of OutputFile.



4613
4614
4615
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4613

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

Instance Attribute Details

#csv_output_fileGoogle::Apis::MigrationcenterV1::CsvOutputFile

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



4601
4602
4603
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4601

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)


4606
4607
4608
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4606

def file_size_bytes
  @file_size_bytes
end

#xlsx_output_fileGoogle::Apis::MigrationcenterV1::XlsxOutputFile

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



4611
4612
4613
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4611

def xlsx_output_file
  @xlsx_output_file
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4618
4619
4620
4621
4622
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4618

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