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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ColumnLayout

Returns a new instance of ColumnLayout.



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

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



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

def columns
  @columns
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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