Class: Google::Apis::ContainerV1::MonitoringComponentConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::MonitoringComponentConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/representations.rb
Overview
MonitoringComponentConfig is cluster monitoring component configuration.
Instance Attribute Summary collapse
-
#enable_components ⇒ Array<String>
Select components to collect metrics.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MonitoringComponentConfig
constructor
A new instance of MonitoringComponentConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MonitoringComponentConfig
Returns a new instance of MonitoringComponentConfig.
4000 4001 4002 |
# File 'lib/google/apis/container_v1/classes.rb', line 4000 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_components ⇒ Array<String>
Select components to collect metrics. An empty set would disable all
monitoring.
Corresponds to the JSON property enableComponents
3998 3999 4000 |
# File 'lib/google/apis/container_v1/classes.rb', line 3998 def enable_components @enable_components end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4005 4006 4007 |
# File 'lib/google/apis/container_v1/classes.rb', line 4005 def update!(**args) @enable_components = args[:enable_components] if args.key?(:enable_components) end |