class Google::Apis::MonitoringV1::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.

Attributes

columns[RW]

The number of columns in the mosaic grid. The number of columns must be between 1 and 12, inclusive. Corresponds to the JSON property `columns` @return [Fixnum]

tiles[RW]

The tiles to display. Corresponds to the JSON property `tiles` @return [Array<Google::Apis::MonitoringV1::Tile>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/monitoring_v1/classes.rb, line 662
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 667
def update!(**args)
  @columns = args[:columns] if args.key?(:columns)
  @tiles = args[:tiles] if args.key?(:tiles)
end