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.



562
563
564
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 562

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)


539
540
541
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 539

def create_time
  @create_time
end

#display_nameString

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

Returns:

  • (String)


544
545
546
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 544

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)


550
551
552
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 550

def name
  @name
end

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

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



555
556
557
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 555

def tables
  @tables
end

#update_timeString

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

Returns:

  • (String)


560
561
562
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 560

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



567
568
569
570
571
572
573
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 567

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