Class: Google::Apis::FusiontablesV2::Import
- Inherits:
-
Object
- Object
- Google::Apis::FusiontablesV2::Import
- 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
-
#kind ⇒ String
The kind of item this is.
-
#num_rows_received ⇒ String
The number of rows received from the import request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Import
constructor
A new instance of Import.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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
#kind ⇒ String
The kind of item this is. For an import, this is always fusiontables#import.
Corresponds to the JSON property kind
293 294 295 |
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 293 def kind @kind end |
#num_rows_received ⇒ String
The number of rows received from the import request.
Corresponds to the JSON property numRowsReceived
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 |