Google Cloud Container V1 Client - Class MonitoringConfig (1.9.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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ component_config Google\Cloud\Container\V1\MonitoringComponentConfig

Monitoring components configuration

↳ managed_prometheus_config Google\Cloud\Container\V1\ManagedPrometheusConfig

Enable Google Cloud Managed Service for Prometheus in the cluster.

getComponentConfig

Monitoring components configuration

Generated from protobuf field .google.container.v1.MonitoringComponentConfig component_config = 1;

Returns
TypeDescription
Google\Cloud\Container\V1\MonitoringComponentConfig|null

hasComponentConfig

clearComponentConfig

setComponentConfig

Monitoring components configuration

Generated from protobuf field .google.container.v1.MonitoringComponentConfig component_config = 1;

Parameter
NameDescription
var Google\Cloud\Container\V1\MonitoringComponentConfig
Returns
TypeDescription
$this

getManagedPrometheusConfig

Enable Google Cloud Managed Service for Prometheus in the cluster.

Generated from protobuf field .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;

Returns
TypeDescription
Google\Cloud\Container\V1\ManagedPrometheusConfig|null

hasManagedPrometheusConfig

clearManagedPrometheusConfig

setManagedPrometheusConfig

Enable Google Cloud Managed Service for Prometheus in the cluster.

Generated from protobuf field .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;

Parameter
NameDescription
var Google\Cloud\Container\V1\ManagedPrometheusConfig
Returns
TypeDescription
$this