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

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Workspace

Returns a new instance of Workspace.



601
602
603
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 601

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#create_timeString

Time when the workspace was created. Corresponds to the JSON property createTime

Returns:

  • (String)


578
579
580
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 578

def create_time
  @create_time
end

#display_nameString

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

Returns:

  • (String)


583
584
585
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 583

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)


589
590
591
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 589

def name
  @name
end

#tablesArray<Google::Apis::Area120tablesV1alpha1::Table>

The list of tables in the workspace. Corresponds to the JSON property tables



594
595
596
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 594

def tables
  @tables
end

#update_timeString

Time when the workspace was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


599
600
601
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 599

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



606
607
608
609
610
611
612
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 606

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