class Google::Apis::MonitoringV1::Tile
A single tile in the mosaic. The placement and size of the tile are configurable.
Attributes
The height of the tile, measured in grid blocks. Tiles must have a minimum height of 1. Corresponds to the JSON property `height` @return [Fixnum]
Widget
contains a single dashboard component and configuration of how to present the component in the dashboard. Corresponds to the JSON property `widget` @return [Google::Apis::MonitoringV1::Widget]
The width of the tile, measured in grid blocks. Tiles must have a minimum width of 1. Corresponds to the JSON property `width` @return [Fixnum]
The zero-indexed position of the tile in grid blocks relative to the left edge of the grid. Tiles must be contained within the specified number of columns. x_pos
cannot be negative. Corresponds to the JSON property `xPos` @return [Fixnum]
The zero-indexed position of the tile in grid blocks relative to the top edge of the grid. y_pos
cannot be negative. Corresponds to the JSON property `yPos` @return [Fixnum]
Public Class Methods
# File lib/google/apis/monitoring_v1/classes.rb, line 1240 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/monitoring_v1/classes.rb, line 1245 def update!(**args) @height = args[:height] if args.key?(:height) @widget = args[:widget] if args.key?(:widget) @width = args[:width] if args.key?(:width) @x_pos = args[:x_pos] if args.key?(:x_pos) @y_pos = args[:y_pos] if args.key?(:y_pos) end