Google Cloud Container V1 Client - Class MonitoringConfig (2.3.1)

Reference documentation and code samples for the Google Cloud Container V1 Client class MonitoringConfig.

MonitoringConfig is cluster monitoring configuration.

Generated from protobuf message google.container.v1.MonitoringConfig

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ component_config MonitoringComponentConfig

Monitoring components configuration

↳ managed_prometheus_config ManagedPrometheusConfig

Enable Google Cloud Managed Service for Prometheus in the cluster.

↳ advanced_datapath_observability_config AdvancedDatapathObservabilityConfig

Configuration of Advanced Datapath Observability features.

getComponentConfig

Monitoring components configuration

Returns
Type Description
MonitoringComponentConfig|null

hasComponentConfig

clearComponentConfig

setComponentConfig

Monitoring components configuration

Parameter
Name Description
var MonitoringComponentConfig
Returns
Type Description
$this

getManagedPrometheusConfig

Enable Google Cloud Managed Service for Prometheus in the cluster.

Returns
Type Description
ManagedPrometheusConfig|null

hasManagedPrometheusConfig

clearManagedPrometheusConfig

setManagedPrometheusConfig

Enable Google Cloud Managed Service for Prometheus in the cluster.

Parameter
Name Description
var ManagedPrometheusConfig
Returns
Type Description
$this

getAdvancedDatapathObservabilityConfig

Configuration of Advanced Datapath Observability features.

Returns
Type Description
AdvancedDatapathObservabilityConfig|null

hasAdvancedDatapathObservabilityConfig

clearAdvancedDatapathObservabilityConfig

setAdvancedDatapathObservabilityConfig

Configuration of Advanced Datapath Observability features.

Parameter
Name Description
var AdvancedDatapathObservabilityConfig
Returns
Type Description
$this