Google Cloud Container V1 Client - Class MonitoringComponentConfig (2.8.1)

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

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ enable_components int[]

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.

Returns
Type Description
Google\Protobuf\RepeatedField<int>

setEnableComponents

Select components to collect metrics. An empty set would disable all monitoring.

Parameter
Name Description
var int[]
Returns
Type Description
$this