Class: Google::Apis::FusiontablesV1::Import

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/fusiontables_v1/classes.rb,
generated/google/apis/fusiontables_v1/representations.rb,
generated/google/apis/fusiontables_v1/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



244
245
246
# File 'generated/google/apis/fusiontables_v1/classes.rb', line 244

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

Instance Attribute Details

#kindString

Type name: a template for an import request. Corresponds to the JSON property kind

Returns:

  • (String)


237
238
239
# File 'generated/google/apis/fusiontables_v1/classes.rb', line 237

def kind
  @kind
end

#num_rows_receivedFixnum

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

Returns:

  • (Fixnum)


242
243
244
# File 'generated/google/apis/fusiontables_v1/classes.rb', line 242

def num_rows_received
  @num_rows_received
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



249
250
251
252
# File 'generated/google/apis/fusiontables_v1/classes.rb', line 249

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