Reference documentation and code samples for the Google Cloud Container V1 Client class ManagedPrometheusConfig.
ManagedPrometheusConfig defines the configuration for Google Cloud Managed Service for Prometheus.
Generated from protobuf message google.container.v1.ManagedPrometheusConfig
Namespace
Google \ Cloud \ Container \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ enabled |
bool
Enable Managed Collection. |
↳ auto_monitoring_config |
AutoMonitoringConfig
GKE Workload Auto-Monitoring Configuration. |
getEnabled
Enable Managed Collection.
Returns | |
---|---|
Type | Description |
bool |
setEnabled
Enable Managed Collection.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getAutoMonitoringConfig
GKE Workload Auto-Monitoring Configuration.
Returns | |
---|---|
Type | Description |
AutoMonitoringConfig|null |
hasAutoMonitoringConfig
clearAutoMonitoringConfig
setAutoMonitoringConfig
GKE Workload Auto-Monitoring Configuration.
Parameter | |
---|---|
Name | Description |
var |
AutoMonitoringConfig
|
Returns | |
---|---|
Type | Description |
$this |