Class: Google::Apis::MonitoringV1::ColumnLayout

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

A simplified layout that divides the available space into vertical columns and arranges a set of widgets vertically in each column.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ColumnLayout

Returns a new instance of ColumnLayout.



330
331
332
# File 'lib/google/apis/monitoring_v1/classes.rb', line 330

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

Instance Attribute Details

#columnsArray<Google::Apis::MonitoringV1::Column>

The columns of content to display. Corresponds to the JSON property columns



328
329
330
# File 'lib/google/apis/monitoring_v1/classes.rb', line 328

def columns
  @columns
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



335
336
337
# File 'lib/google/apis/monitoring_v1/classes.rb', line 335

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