Reference documentation and code samples for the Cloud Monitoring Dashboards V1 API class Google::Cloud::Monitoring::Dashboard::V1::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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#columns
def columns() -> ::Integer
Returns
- (::Integer) — 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.
#columns=
def columns=(value) -> ::Integer
Parameter
- value (::Integer) — 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.
Returns
- (::Integer) — 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.
#widgets
def widgets() -> ::Array<::Google::Cloud::Monitoring::Dashboard::V1::Widget>
Returns
- (::Array<::Google::Cloud::Monitoring::Dashboard::V1::Widget>) — The informational elements that are arranged into the columns row-first.
#widgets=
def widgets=(value) -> ::Array<::Google::Cloud::Monitoring::Dashboard::V1::Widget>
Parameter
- value (::Array<::Google::Cloud::Monitoring::Dashboard::V1::Widget>) — The informational elements that are arranged into the columns row-first.
Returns
- (::Array<::Google::Cloud::Monitoring::Dashboard::V1::Widget>) — The informational elements that are arranged into the columns row-first.