Class: Google::Apis::Area120tablesV1alpha1::Table

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 table.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Table

Returns a new instance of Table.



425
426
427
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 425

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

Instance Attribute Details

#columnsArray<Google::Apis::Area120tablesV1alpha1::ColumnDescription>

List of columns in this table. Order of columns matches the display order. Corresponds to the JSON property columns



413
414
415
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 413

def columns
  @columns
end

#display_nameString

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

Returns:

  • (String)


418
419
420
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 418

def display_name
  @display_name
end

#nameString

The resource name of the table. Table names have the form tables/table`. Corresponds to the JSON propertyname`

Returns:

  • (String)


423
424
425
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 423

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



430
431
432
433
434
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 430

def update!(**args)
  @columns = args[:columns] if args.key?(:columns)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
end