Google Cloud Container V1 Client - Class LoggingComponentConfig (1.9.1)

Reference documentation and code samples for the Google Cloud Container V1 Client class LoggingComponentConfig.

LoggingComponentConfig is cluster logging component configuration.

Generated from protobuf message google.container.v1.LoggingComponentConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ enable_components array

Select components to collect logs. An empty set would disable all logging.

getEnableComponents

Select components to collect logs. An empty set would disable all logging.

Generated from protobuf field repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setEnableComponents

Select components to collect logs. An empty set would disable all logging.

Generated from protobuf field repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1;

Parameter
NameDescription
var int[]
Returns
TypeDescription
$this