Class: Google::Apis::ContainerV1::MonitoringConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::MonitoringConfig
- 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
MonitoringConfig is cluster monitoring configuration.
Instance Attribute Summary collapse
-
#component_config ⇒ Google::Apis::ContainerV1::MonitoringComponentConfig
MonitoringComponentConfig is cluster monitoring component configuration.
-
#managed_prometheus_config ⇒ Google::Apis::ContainerV1::ManagedPrometheusConfig
ManagedPrometheusConfig defines the configuration for Google Cloud Managed Service for Prometheus.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MonitoringConfig
constructor
A new instance of MonitoringConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MonitoringConfig
Returns a new instance of MonitoringConfig.
2882 2883 2884 |
# File 'lib/google/apis/container_v1/classes.rb', line 2882 def initialize(**args) update!(**args) end |
Instance Attribute Details
#component_config ⇒ Google::Apis::ContainerV1::MonitoringComponentConfig
MonitoringComponentConfig is cluster monitoring component configuration.
Corresponds to the JSON property componentConfig
2874 2875 2876 |
# File 'lib/google/apis/container_v1/classes.rb', line 2874 def component_config @component_config end |
#managed_prometheus_config ⇒ Google::Apis::ContainerV1::ManagedPrometheusConfig
ManagedPrometheusConfig defines the configuration for Google Cloud Managed
Service for Prometheus.
Corresponds to the JSON property managedPrometheusConfig
2880 2881 2882 |
# File 'lib/google/apis/container_v1/classes.rb', line 2880 def managed_prometheus_config @managed_prometheus_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2887 2888 2889 2890 |
# File 'lib/google/apis/container_v1/classes.rb', line 2887 def update!(**args) @component_config = args[:component_config] if args.key?(:component_config) @managed_prometheus_config = args[:managed_prometheus_config] if args.key?(:managed_prometheus_config) end |