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.



3869
3870
3871
# File 'lib/google/apis/container_v1/classes.rb', line 3869

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



3856
3857
3858
# File 'lib/google/apis/container_v1/classes.rb', line 3856

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



3861
3862
3863
# File 'lib/google/apis/container_v1/classes.rb', line 3861

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



3867
3868
3869
# File 'lib/google/apis/container_v1/classes.rb', line 3867

def managed_prometheus_config
  @managed_prometheus_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3874
3875
3876
3877
3878
# File 'lib/google/apis/container_v1/classes.rb', line 3874

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