Reference documentation and code samples for the Google Cloud Container V1 Client class MonitoringComponentConfig.
MonitoringComponentConfig is cluster monitoring component configuration.
Generated from protobuf message google.container.v1.MonitoringComponentConfig
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ enable_components |
array
Select components to collect metrics. An empty set would disable all monitoring. |
getEnableComponents
Select components to collect metrics. An empty set would disable all monitoring.
Generated from protobuf field repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setEnableComponents
Select components to collect metrics. An empty set would disable all monitoring.
Generated from protobuf field repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1;
Parameter | |
---|---|
Name | Description |
var |
int[]
|
Returns | |
---|---|
Type | Description |
$this |