class Google::Apis::MonitoringV1::Column
Defines the layout properties and content for a column.
Attributes
weight[RW]
The relative weight of this column. The column weight is used to adjust the width of columns on the screen (relative to peers). Greater the weight, greater the width of the column on the screen. If omitted, a value of 1 is used while rendering. Corresponds to the JSON property `weight` @return [Fixnum]
widgets[RW]
The display widgets arranged vertically in this column. 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 200 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 205 def update!(**args) @weight = args[:weight] if args.key?(:weight) @widgets = args[:widgets] if args.key?(:widgets) end