class Google::Apis::MonitoringV1::Dashboard
A Google
Stackdriver dashboard. Dashboards define the content and layout of pages in the Stackdriver web application.
Attributes
A simplified layout that divides the available space into vertical columns and arranges a set of widgets vertically in each column. Corresponds to the JSON property `columnLayout` @return [Google::Apis::MonitoringV1::ColumnLayout]
Required. The mutable, human-readable name. Corresponds to the JSON property `displayName` @return [String]
etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. An etag is returned in the response to GetDashboard, and users are expected to put that etag in the request to UpdateDashboard to ensure that their change will be applied to the same version of the Dashboard
configuration. The field should not be passed during dashboard creation. Corresponds to the JSON property `etag` @return [String]
A basic layout divides the available space into vertical columns of equal width and arranges a list of widgets using a row-first strategy. Corresponds to the JSON property `gridLayout` @return [Google::Apis::MonitoringV1::GridLayout]
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. Corresponds to the JSON property `mosaicLayout` @return [Google::Apis::MonitoringV1::MosaicLayout]
Immutable. The resource name of the dashboard. Corresponds to the JSON property `name` @return [String]
A simplified layout that divides the available space into rows and arranges a set of widgets horizontally in each row. Corresponds to the JSON property `rowLayout` @return [Google::Apis::MonitoringV1::RowLayout]
Public Class Methods
# File lib/google/apis/monitoring_v1/classes.rb, line 281 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/monitoring_v1/classes.rb, line 286 def update!(**args) @column_layout = args[:column_layout] if args.key?(:column_layout) @display_name = args[:display_name] if args.key?(:display_name) @etag = args[:etag] if args.key?(:etag) @grid_layout = args[:grid_layout] if args.key?(:grid_layout) @mosaic_layout = args[:mosaic_layout] if args.key?(:mosaic_layout) @name = args[:name] if args.key?(:name) @row_layout = args[:row_layout] if args.key?(:row_layout) end