Class: Google::Apis::MonitoringV1::CollapsibleGroup

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CollapsibleGroup

Returns a new instance of CollapsibleGroup.



194
195
196
# File 'lib/google/apis/monitoring_v1/classes.rb', line 194

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#collapsedBoolean Also known as: collapsed?

The collapsed state of the widget on first page load. Corresponds to the JSON property collapsed

Returns:

  • (Boolean)


191
192
193
# File 'lib/google/apis/monitoring_v1/classes.rb', line 191

def collapsed
  @collapsed
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



199
200
201
# File 'lib/google/apis/monitoring_v1/classes.rb', line 199

def update!(**args)
  @collapsed = args[:collapsed] if args.key?(:collapsed)
end