Class: Google::Apis::Area120tablesV1alpha1::Workspace
- Inherits:
-
Object
- Object
- Google::Apis::Area120tablesV1alpha1::Workspace
- 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 workspace.
Instance Attribute Summary collapse
-
#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.
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.
468 469 470 |
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 468 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
The human readable title of the workspace.
Corresponds to the JSON property displayName
455 456 457 |
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 455 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 property
name`
461 462 463 |
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 461 def name @name end |
#tables ⇒ Array<Google::Apis::Area120tablesV1alpha1::Table>
The list of tables in the workspace.
Corresponds to the JSON property tables
466 467 468 |
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 466 def tables @tables end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
473 474 475 476 477 |
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 473 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @tables = args[:tables] if args.key?(:tables) end |