Class: Google::Apis::MonitoringV1::RowLayout

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 rows and arranges a set of widgets horizontally in each row.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RowLayout

Returns a new instance of RowLayout.



709
710
711
# File 'generated/google/apis/monitoring_v1/classes.rb', line 709

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#rowsArray<Google::Apis::MonitoringV1::Row>

The rows of content to display. Corresponds to the JSON property rows



707
708
709
# File 'generated/google/apis/monitoring_v1/classes.rb', line 707

def rows
  @rows
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



714
715
716
# File 'generated/google/apis/monitoring_v1/classes.rb', line 714

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