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.



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

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)


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

def create_time
  @create_time
end

#display_nameString

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

Returns:

  • (String)


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

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)


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

def name
  @name
end

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

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



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

def tables
  @tables
end

#update_timeString

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

Returns:

  • (String)


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

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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