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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Table

Returns a new instance of Table.



404
405
406
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 404

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



392
393
394
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 392

def columns
  @columns
end

#display_nameString

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

Returns:

  • (String)


397
398
399
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 397

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)


402
403
404
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 402

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



409
410
411
412
413
# File 'generated/google/apis/area120tables_v1alpha1/classes.rb', line 409

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