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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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
Returns | |
---|---|
Type | Description |
Google\Cloud\Container\V1\MonitoringComponentConfig|null |
hasComponentConfig
clearComponentConfig
setComponentConfig
Monitoring components configuration
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Container\V1\MonitoringComponentConfig
|
Returns | |
---|---|
Type | Description |
$this |
getManagedPrometheusConfig
Enable Google Cloud Managed Service for Prometheus in the cluster.
Returns | |
---|---|
Type | Description |
Google\Cloud\Container\V1\ManagedPrometheusConfig|null |
hasManagedPrometheusConfig
clearManagedPrometheusConfig
setManagedPrometheusConfig
Enable Google Cloud Managed Service for Prometheus in the cluster.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Container\V1\ManagedPrometheusConfig
|
Returns | |
---|---|
Type | Description |
$this |