Class: Google::Apis::Area120tablesV1alpha1::Table
- Inherits:
-
Object
- Object
- Google::Apis::Area120tablesV1alpha1::Table
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/area120tables_v1alpha1/classes.rb,
lib/google/apis/area120tables_v1alpha1/representations.rb,
lib/google/apis/area120tables_v1alpha1/representations.rb
Overview
A single table.
Instance Attribute Summary collapse
-
#columns ⇒ Array<Google::Apis::Area120tablesV1alpha1::ColumnDescription>
List of columns in this table.
-
#display_name ⇒ String
The human readable title of the table.
-
#name ⇒ String
The resource name of the table.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Table
constructor
A new instance of Table.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Table
Returns a new instance of Table.
425 426 427 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 425 def initialize(**args) update!(**args) end |
Instance Attribute Details
#columns ⇒ Array<Google::Apis::Area120tablesV1alpha1::ColumnDescription>
List of columns in this table. Order of columns matches the display order.
Corresponds to the JSON property columns
413 414 415 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 413 def columns @columns end |
#display_name ⇒ String
The human readable title of the table.
Corresponds to the JSON property displayName
418 419 420 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 418 def display_name @display_name end |
#name ⇒ String
The resource name of the table. Table names have the form tables/table`.
Corresponds to the JSON propertyname`
423 424 425 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 423 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
430 431 432 433 434 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 430 def update!(**args) @columns = args[:columns] if args.key?(:columns) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) end |