Class: Google::Apis::ContainerV1::MonitoringConfig

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MonitoringConfig

Returns a new instance of MonitoringConfig.



4068
4069
4070
# File 'lib/google/apis/container_v1/classes.rb', line 4068

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

Instance Attribute Details

#advanced_datapath_observability_configGoogle::Apis::ContainerV1::AdvancedDatapathObservabilityConfig

AdvancedDatapathObservabilityConfig specifies configuration of observability features of advanced datapath. Corresponds to the JSON property advancedDatapathObservabilityConfig



4055
4056
4057
# File 'lib/google/apis/container_v1/classes.rb', line 4055

def advanced_datapath_observability_config
  @advanced_datapath_observability_config
end

#component_configGoogle::Apis::ContainerV1::MonitoringComponentConfig

MonitoringComponentConfig is cluster monitoring component configuration. Corresponds to the JSON property componentConfig



4060
4061
4062
# File 'lib/google/apis/container_v1/classes.rb', line 4060

def component_config
  @component_config
end

#managed_prometheus_configGoogle::Apis::ContainerV1::ManagedPrometheusConfig

ManagedPrometheusConfig defines the configuration for Google Cloud Managed Service for Prometheus. Corresponds to the JSON property managedPrometheusConfig



4066
4067
4068
# File 'lib/google/apis/container_v1/classes.rb', line 4066

def managed_prometheus_config
  @managed_prometheus_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4073
4074
4075
4076
4077
# File 'lib/google/apis/container_v1/classes.rb', line 4073

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