2.22.0 (latest) 2.21.0 2.20.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public enum BuildOptions.Types.LoggingMode

Reference documentation and code samples for the Cloud Build v1 API enum BuildOptions.Types.LoggingMode.

Specifies the logging mode.

## Namespace

[Google.Cloud.CloudBuild.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1)

## Assembly

Google.Cloud.CloudBuild.V1.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `CloudLoggingOnly` | Build logs are stored in Cloud Logging. Selecting this option will not allow [logs streaming](https://cloud.google.com/sdk/gcloud/reference/builds/log). |
| `GcsOnly` | Build logs are stored in Cloud Storage. |
| `Legacy` | Build logs are stored in Cloud Logging and Cloud Storage. |
| `LoggingUnspecified` | The service determines the logging mode. The default is `LEGACY`. Do not rely on the default logging behavior as it may change in the future. |
| `None` | Turn off all logging. No build logs will be captured. |
| `StackdriverOnly` | This option is the same as CLOUD_LOGGING_ONLY. |