Class: Google::Apis::FusiontablesV2::Column::BaseColumn
- Inherits:
-
Object
- Object
- Google::Apis::FusiontablesV2::Column::BaseColumn
- 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
Identifier of the base column. If present, this column is derived from the specified base column.
Instance Attribute Summary collapse
-
#column_id ⇒ Fixnum
The id of the column in the base table from which this column is derived.
-
#table_index ⇒ Fixnum
Offset to the entry in the list of base tables in the table definition.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BaseColumn
constructor
A new instance of BaseColumn.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ BaseColumn
Returns a new instance of BaseColumn
204 205 206 |
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 204 def initialize(**args) update!(**args) end |
Instance Attribute Details
#column_id ⇒ Fixnum
The id of the column in the base table from which this column is derived.
Corresponds to the JSON property columnId
197 198 199 |
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 197 def column_id @column_id end |
#table_index ⇒ Fixnum
Offset to the entry in the list of base tables in the table definition.
Corresponds to the JSON property tableIndex
202 203 204 |
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 202 def table_index @table_index end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
209 210 211 212 |
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 209 def update!(**args) @column_id = args[:column_id] if args.key?(:column_id) @table_index = args[:table_index] if args.key?(:table_index) end |