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.
-
#create_time ⇒ String
Time when the table was created.
-
#display_name ⇒ String
The human readable title of the table.
-
#name ⇒ String
The resource name of the table.
-
#update_time ⇒ String
Time when the table was last updated excluding updates to individual rows Corresponds to the JSON property
updateTime.
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.
447 448 449 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 447 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
425 426 427 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 425 def columns @columns end |
#create_time ⇒ String
Time when the table was created.
Corresponds to the JSON property createTime
430 431 432 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 430 def create_time @create_time end |
#display_name ⇒ String
The human readable title of the table.
Corresponds to the JSON property displayName
435 436 437 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 435 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`
440 441 442 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 440 def name @name end |
#update_time ⇒ String
Time when the table was last updated excluding updates to individual rows
Corresponds to the JSON property updateTime
445 446 447 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 445 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
452 453 454 455 456 457 458 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 452 def update!(**args) @columns = args[:columns] if args.key?(:columns) @create_time = args[:create_time] if args.key?(:create_time) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) end |