Class: Google::Apis::Area120tablesV1alpha1::Table
- Inherits:
-
Object
- Object
- Google::Apis::Area120tablesV1alpha1::Table
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/area120tables_v1alpha1/classes.rb,
generated/google/apis/area120tables_v1alpha1/representations.rb,
generated/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.
404 405 406 |
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 404 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
392 393 394 |
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 392 def columns @columns end |
#display_name ⇒ String
The human readable title of the table.
Corresponds to the JSON property displayName
397 398 399 |
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 397 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 property
name`
402 403 404 |
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 402 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
409 410 411 412 413 |
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 409 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 |