Class: Google::Apis::MonitoringV1::ColumnSettings

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/monitoring_v1/classes.rb,
lib/google/apis/monitoring_v1/representations.rb,
lib/google/apis/monitoring_v1/representations.rb

Overview

The persistent settings for a table's columns.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ColumnSettings

Returns a new instance of ColumnSettings.



355
356
357
# File 'lib/google/apis/monitoring_v1/classes.rb', line 355

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

Instance Attribute Details

#columnString

Required. The id of the column. Corresponds to the JSON property column

Returns:

  • (String)


347
348
349
# File 'lib/google/apis/monitoring_v1/classes.rb', line 347

def column
  @column
end

#visibleBoolean Also known as: visible?

Required. Whether the column should be visible on page load. Corresponds to the JSON property visible

Returns:

  • (Boolean)


352
353
354
# File 'lib/google/apis/monitoring_v1/classes.rb', line 352

def visible
  @visible
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



360
361
362
363
# File 'lib/google/apis/monitoring_v1/classes.rb', line 360

def update!(**args)
  @column = args[:column] if args.key?(:column)
  @visible = args[:visible] if args.key?(:visible)
end