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
-
#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.
489 490 491 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 489 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
476 477 478 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 476 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`
482 483 484 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 482 def name @name end |
#tables ⇒ Array<Google::Apis::Area120tablesV1alpha1::Table>
The list of tables in the workspace.
Corresponds to the JSON property tables
487 488 489 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 487 def tables @tables end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
494 495 496 497 498 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 494 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 |