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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/monitoring_v1/classes.rb,
generated/google/apis/monitoring_v1/representations.rb,
generated/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.



201
202
203
# File 'generated/google/apis/monitoring_v1/classes.rb', line 201

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



199
200
201
# File 'generated/google/apis/monitoring_v1/classes.rb', line 199

def columns
  @columns
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



206
207
208
# File 'generated/google/apis/monitoring_v1/classes.rb', line 206

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