class Google::Apis::MonitoringV1::Row

Defines the layout properties and content for a row.

Attributes

weight[RW]

The relative weight of this row. The row weight is used to adjust the height of rows on the screen (relative to peers). Greater the weight, greater the height of the row 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 horizontally in this row. 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 900
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 905
def update!(**args)
  @weight = args[:weight] if args.key?(:weight)
  @widgets = args[:widgets] if args.key?(:widgets)
end