Class: Google::Apis::MigrationcenterV1::CsvOutputFile

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 of type CSV.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CsvOutputFile

Returns a new instance of CsvOutputFile.



1273
1274
1275
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1273

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

Instance Attribute Details

#columns_countFixnum

Output only. Number of columns in the file. Corresponds to the JSON property columnsCount

Returns:

  • (Fixnum)


1261
1262
1263
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1261

def columns_count
  @columns_count
end

#row_countFixnum

Output only. Number of rows in the file. Corresponds to the JSON property rowCount

Returns:

  • (Fixnum)


1266
1267
1268
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1266

def row_count
  @row_count
end

#signed_uriGoogle::Apis::MigrationcenterV1::SignedUri

Contains a signed URI. Corresponds to the JSON property signedUri



1271
1272
1273
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1271

def signed_uri
  @signed_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1278
1279
1280
1281
1282
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1278

def update!(**args)
  @columns_count = args[:columns_count] if args.key?(:columns_count)
  @row_count = args[:row_count] if args.key?(:row_count)
  @signed_uri = args[:signed_uri] if args.key?(:signed_uri)
end