# LoggingConfig

- [JSON representation](https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/LoggingConfig#SCHEMA_REPRESENTATION)
- [LoggingComponentConfig](https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/LoggingConfig#LoggingComponentConfig)
  - [JSON representation](https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/LoggingConfig#LoggingComponentConfig.SCHEMA_REPRESENTATION)
- [Component](https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/LoggingConfig#Component)

Parameters that describe the Logging configuration in a cluster.

| JSON representation |
|---|
| ``` { "componentConfig": { object (`https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/LoggingConfig#LoggingComponentConfig`) } } ``` |

| Fields ||
|---|---|
| `componentConfig` | ``object (`https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/LoggingConfig#LoggingComponentConfig`)`` The configuration of the logging components; |

## LoggingComponentConfig

Parameters that describe the Logging component configuration in a cluster.

| JSON representation |
|---|
| ``` { "enableComponents": [ enum (`https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/LoggingConfig#Component`) ] } ``` |

| Fields ||
|---|---|
| `enableComponents[]` | ``enum (`https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/LoggingConfig#Component`)`` The components to be enabled. |

## Component

The components of the logging configuration;

| Enums ||
|---|---|
| `COMPONENT_UNSPECIFIED` | No component is specified |
| `SYSTEM_COMPONENTS` | This indicates that system logging components is enabled. |
| `WORKLOADS` | This indicates that user workload logging component is enabled. |