Class: Google::Apis::FusiontablesV1::Import
- Inherits:
-
Object
- Object
- Google::Apis::FusiontablesV1::Import
- 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
-
#kind ⇒ String
Type name: a template for an import request.
-
#num_rows_received ⇒ Fixnum
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
244 245 246 |
# File 'generated/google/apis/fusiontables_v1/classes.rb', line 244 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Type name: a template for an import request.
Corresponds to the JSON property kind
237 238 239 |
# File 'generated/google/apis/fusiontables_v1/classes.rb', line 237 def kind @kind end |
#num_rows_received ⇒ Fixnum
The number of rows received from the import request.
Corresponds to the JSON property numRowsReceived
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 |