Class: Google::Apis::MonitoringV1::CollapsibleGroup
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV1::CollapsibleGroup
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/monitoring_v1/classes.rb,
lib/google/apis/monitoring_v1/representations.rb,
lib/google/apis/monitoring_v1/representations.rb
Overview
A widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets.
Instance Attribute Summary collapse
-
#collapsed ⇒ Boolean
(also: #collapsed?)
The collapsed state of the widget on first page load.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CollapsibleGroup
constructor
A new instance of CollapsibleGroup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CollapsibleGroup
Returns a new instance of CollapsibleGroup.
282 283 284 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 282 def initialize(**args) update!(**args) end |
Instance Attribute Details
#collapsed ⇒ Boolean Also known as: collapsed?
The collapsed state of the widget on first page load.
Corresponds to the JSON property collapsed
279 280 281 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 279 def collapsed @collapsed end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
287 288 289 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 287 def update!(**args) @collapsed = args[:collapsed] if args.key?(:collapsed) end |