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.



5111
5112
5113
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5111

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



5104
5105
5106
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5104

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)


5109
5110
5111
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5109

def file_size_bytes
  @file_size_bytes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5116
5117
5118
5119
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5116

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)
end