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.



282
283
284
# File 'lib/google/apis/monitoring_v1/classes.rb', line 282

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)


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