Class: Google::Apis::MonitoringV1::Dashboard
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV1::Dashboard
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/monitoring_v1/classes.rb,
generated/google/apis/monitoring_v1/representations.rb,
generated/google/apis/monitoring_v1/representations.rb
Overview
A Google Stackdriver dashboard. Dashboards define the content and layout of pages in the Stackdriver web application.
Instance Attribute Summary collapse
-
#column_layout ⇒ Google::Apis::MonitoringV1::ColumnLayout
A simplified layout that divides the available space into vertical columns and arranges a set of widgets vertically in each column.
-
#display_name ⇒ String
The mutable, human-readable name.
-
#etag ⇒ String
etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other.
-
#grid_layout ⇒ Google::Apis::MonitoringV1::GridLayout
A basic layout divides the available space into vertical columns of equal width and arranges a list of widgets using a row-first strategy.
-
#name ⇒ String
The resource name of the dashboard.
-
#row_layout ⇒ Google::Apis::MonitoringV1::RowLayout
A simplified layout that divides the available space into rows and arranges a set of widgets horizontally in each row.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Dashboard
constructor
A new instance of Dashboard.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Dashboard
Returns a new instance of Dashboard.
252 253 254 |
# File 'generated/google/apis/monitoring_v1/classes.rb', line 252 def initialize(**args) update!(**args) end |
Instance Attribute Details
#column_layout ⇒ Google::Apis::MonitoringV1::ColumnLayout
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
218 219 220 |
# File 'generated/google/apis/monitoring_v1/classes.rb', line 218 def column_layout @column_layout end |
#display_name ⇒ String
The mutable, human-readable name.
Corresponds to the JSON property displayName
223 224 225 |
# File 'generated/google/apis/monitoring_v1/classes.rb', line 223 def display_name @display_name end |
#etag ⇒ 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
233 234 235 |
# File 'generated/google/apis/monitoring_v1/classes.rb', line 233 def etag @etag end |
#grid_layout ⇒ Google::Apis::MonitoringV1::GridLayout
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
239 240 241 |
# File 'generated/google/apis/monitoring_v1/classes.rb', line 239 def grid_layout @grid_layout end |
#name ⇒ String
The resource name of the dashboard.
Corresponds to the JSON property name
244 245 246 |
# File 'generated/google/apis/monitoring_v1/classes.rb', line 244 def name @name end |
#row_layout ⇒ Google::Apis::MonitoringV1::RowLayout
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
250 251 252 |
# File 'generated/google/apis/monitoring_v1/classes.rb', line 250 def row_layout @row_layout end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
257 258 259 260 261 262 263 264 |
# File 'generated/google/apis/monitoring_v1/classes.rb', line 257 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) @name = args[:name] if args.key?(:name) @row_layout = args[:row_layout] if args.key?(:row_layout) end |