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. NextId: 8

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Table

Returns a new instance of Table.



523
524
525
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 523

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



490
491
492
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 490

def columns
  @columns
end

#create_timeString

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

Returns:

  • (String)


495
496
497
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 495

def create_time
  @create_time
end

#display_nameString

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

Returns:

  • (String)


500
501
502
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 500

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)


505
506
507
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 505

def name
  @name
end

#saved_viewsArray<Google::Apis::Area120tablesV1alpha1::SavedView>

Saved views for this table. Corresponds to the JSON property savedViews



510
511
512
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 510

def saved_views
  @saved_views
end

#time_zoneString

The time zone of the table. IANA Time Zone Database time zone, e.g. "America/ New_York". Corresponds to the JSON property timeZone

Returns:

  • (String)


516
517
518
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 516

def time_zone
  @time_zone
end

#update_timeString

Time when the table was last updated excluding updates to individual rows Corresponds to the JSON property updateTime

Returns:

  • (String)


521
522
523
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 521

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



528
529
530
531
532
533
534
535
536
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 528

def update!(**args)
  @columns = args[:columns] if args.key?(:columns)
  @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)
  @saved_views = args[:saved_views] if args.key?(:saved_views)
  @time_zone = args[:time_zone] if args.key?(:time_zone)
  @update_time = args[:update_time] if args.key?(:update_time)
end