Reference documentation and code samples for the Cloud Monitoring Dashboards V1 API class Google::Cloud::Monitoring::Dashboard::V1::MosaicLayout.
A mosaic layout divides the available space into a grid of blocks, and
overlays the grid with tiles. Unlike GridLayout
, tiles may span multiple
grid blocks and can be placed at arbitrary locations in the grid.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#columns
def columns() -> ::Integer
Returns
- (::Integer) — The number of columns in the mosaic grid. The number of columns must be between 1 and 12, inclusive.
#columns=
def columns=(value) -> ::Integer
Parameter
- value (::Integer) — The number of columns in the mosaic grid. The number of columns must be between 1 and 12, inclusive.
Returns
- (::Integer) — The number of columns in the mosaic grid. The number of columns must be between 1 and 12, inclusive.
#tiles
def tiles() -> ::Array<::Google::Cloud::Monitoring::Dashboard::V1::MosaicLayout::Tile>
Returns
- (::Array<::Google::Cloud::Monitoring::Dashboard::V1::MosaicLayout::Tile>) — The tiles to display.
#tiles=
def tiles=(value) -> ::Array<::Google::Cloud::Monitoring::Dashboard::V1::MosaicLayout::Tile>
Parameter
- value (::Array<::Google::Cloud::Monitoring::Dashboard::V1::MosaicLayout::Tile>) — The tiles to display.
Returns
- (::Array<::Google::Cloud::Monitoring::Dashboard::V1::MosaicLayout::Tile>) — The tiles to display.