Google Cloud Container V1 Client - Class LoggingComponentConfig (2.2.1)

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

LoggingComponentConfig is cluster logging component configuration.

Generated from protobuf messagegoogle.container.v1.LoggingComponentConfig

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ enable_componentsarray

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.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setEnableComponents

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

Parameter
NameDescription
varint[]
Returns
TypeDescription
$this

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-01-24 UTC.