class Google::Apis::MonitoringV1::GridLayout
A basic layout divides the available space into vertical columns of equal width and arranges a list of widgets using a row-first strategy.
Attributes
columns[RW]
The number of columns into which the view's width is divided. If omitted or set to zero, a system default will be used while rendering. Corresponds to the JSON property `columns` @return [Fixnum]
widgets[RW]
The informational elements that are arranged into the columns row-first. Corresponds to the JSON property `widgets` @return [Array<Google::Apis::MonitoringV1::Widget>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/monitoring_v1/classes.rb, line 515 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/monitoring_v1/classes.rb, line 520 def update!(**args) @columns = args[:columns] if args.key?(:columns) @widgets = args[:widgets] if args.key?(:widgets) end