Class: Google::Apis::MonitoringV1::ColumnSettings
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV1::ColumnSettings
- 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
-
#column ⇒ String
Required.
-
#visible ⇒ Boolean
(also: #visible?)
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ColumnSettings
constructor
A new instance of ColumnSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#column ⇒ String
Required. The id of the column.
Corresponds to the JSON property column
347 348 349 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 347 def column @column end |
#visible ⇒ Boolean Also known as: visible?
Required. Whether the column should be visible on page load.
Corresponds to the JSON property visible
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 |