Class: Google::Apis::FusiontablesV1::Column::BaseColumn
- Inherits:
-
Object
- Object
- Google::Apis::FusiontablesV1::Column::BaseColumn
- 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
Optional 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
149 150 151 |
# File 'generated/google/apis/fusiontables_v1/classes.rb', line 149 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
142 143 144 |
# File 'generated/google/apis/fusiontables_v1/classes.rb', line 142 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
147 148 149 |
# File 'generated/google/apis/fusiontables_v1/classes.rb', line 147 def table_index @table_index end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
154 155 156 157 |
# File 'generated/google/apis/fusiontables_v1/classes.rb', line 154 def update!(**args) @column_id = args[:column_id] if args.key?(:column_id) @table_index = args[:table_index] if args.key?(:table_index) end |