Class: Google::Apis::Area120tablesV1alpha1::Workspace

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_nameString

The human readable title of the workspace. Corresponds to the JSON property displayName

Returns:

  • (String)


455
456
457
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 455

def display_name
  @display_name
end

#nameString

The resource name of the workspace. Workspace names have the form workspaces/ workspace`. Corresponds to the JSON propertyname`

Returns:

  • (String)


461
462
463
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 461

def name
  @name
end

#tablesArray<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