Class: Google::Apis::FusiontablesV2::Import

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/fusiontables_v2/classes.rb,
generated/google/apis/fusiontables_v2/representations.rb,
generated/google/apis/fusiontables_v2/representations.rb

Overview

Represents an import request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Import

Returns a new instance of Import.



300
301
302
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 300

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

Instance Attribute Details

#kindString

The kind of item this is. For an import, this is always fusiontables#import. Corresponds to the JSON property kind

Returns:

  • (String)


293
294
295
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 293

def kind
  @kind
end

#num_rows_receivedString

The number of rows received from the import request. Corresponds to the JSON property numRowsReceived

Returns:

  • (String)


298
299
300
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 298

def num_rows_received
  @num_rows_received
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



305
306
307
308
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 305

def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @num_rows_received = args[:num_rows_received] if args.key?(:num_rows_received)
end