Cloud Monitoring Dashboards V1 API - Class Google::Cloud::Monitoring::Dashboard::V1::MosaicLayout::Tile (v0.9.1)

Reference documentation and code samples for the Cloud Monitoring Dashboards V1 API class Google::Cloud::Monitoring::Dashboard::V1::MosaicLayout::Tile.

A single tile in the mosaic. The placement and size of the tile are configurable.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#height

def height() -> ::Integer
Returns
  • (::Integer) — The height of the tile, measured in grid blocks. Tiles must have a minimum height of 1.

#height=

def height=(value) -> ::Integer
Parameter
  • value (::Integer) — The height of the tile, measured in grid blocks. Tiles must have a minimum height of 1.
Returns
  • (::Integer) — The height of the tile, measured in grid blocks. Tiles must have a minimum height of 1.

#widget

def widget() -> ::Google::Cloud::Monitoring::Dashboard::V1::Widget
Returns

#widget=

def widget=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::Widget
Parameter
Returns

#width

def width() -> ::Integer
Returns
  • (::Integer) — The width of the tile, measured in grid blocks. Tiles must have a minimum width of 1.

#width=

def width=(value) -> ::Integer
Parameter
  • value (::Integer) — The width of the tile, measured in grid blocks. Tiles must have a minimum width of 1.
Returns
  • (::Integer) — The width of the tile, measured in grid blocks. Tiles must have a minimum width of 1.

#x_pos

def x_pos() -> ::Integer
Returns
  • (::Integer) — 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.

#x_pos=

def x_pos=(value) -> ::Integer
Parameter
  • value (::Integer) — 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.
Returns
  • (::Integer) — 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.

#y_pos

def y_pos() -> ::Integer
Returns
  • (::Integer) — The zero-indexed position of the tile in grid blocks relative to the top edge of the grid. y_pos cannot be negative.

#y_pos=

def y_pos=(value) -> ::Integer
Parameter
  • value (::Integer) — The zero-indexed position of the tile in grid blocks relative to the top edge of the grid. y_pos cannot be negative.
Returns
  • (::Integer) — The zero-indexed position of the tile in grid blocks relative to the top edge of the grid. y_pos cannot be negative.