Class: Google::Apis::Area120tablesV1alpha1::Workspace
- Inherits:
-
Object
- Object
- Google::Apis::Area120tablesV1alpha1::Workspace
- 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 workspace.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Time when the workspace was created.
-
#display_name ⇒ String
The human readable title of the workspace.
-
#name ⇒ String
The resource name of the workspace.
-
#tables ⇒ Array<Google::Apis::Area120tablesV1alpha1::Table>
The list of tables in the workspace.
-
#update_time ⇒ String
Time when the workspace was last updated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Workspace
constructor
A new instance of Workspace.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Workspace
Returns a new instance of Workspace.
562 563 564 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 562 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Time when the workspace was created.
Corresponds to the JSON property createTime
539 540 541 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 539 def create_time @create_time end |
#display_name ⇒ String
The human readable title of the workspace.
Corresponds to the JSON property displayName
544 545 546 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 544 def display_name @display_name end |
#name ⇒ String
The resource name of the workspace. Workspace names have the form workspaces/
workspace`.
Corresponds to the JSON propertyname`
550 551 552 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 550 def name @name end |
#tables ⇒ Array<Google::Apis::Area120tablesV1alpha1::Table>
The list of tables in the workspace.
Corresponds to the JSON property tables
555 556 557 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 555 def tables @tables end |
#update_time ⇒ String
Time when the workspace was last updated.
Corresponds to the JSON property updateTime
560 561 562 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 560 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
567 568 569 570 571 572 573 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 567 def update!(**args) @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) @tables = args[:tables] if args.key?(:tables) @update_time = args[:update_time] if args.key?(:update_time) end |