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.



6087
6088
6089
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6087

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



6075
6076
6077
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6075

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)


6080
6081
6082
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6080

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



6085
6086
6087
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6085

def xlsx_output_file
  @xlsx_output_file
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6092
6093
6094
6095
6096
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6092

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