Cloud Build v1 API - Enum BuildOptions.Types.LoggingMode (2.1.0)

public enum 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

Assembly

Google.Cloud.CloudBuild.V1.dll

Fields

NameDescription
CloudLoggingOnly

Only Cloud Logging is enabled. Note that logs for both the Cloud Console UI and Cloud SDK are based on Cloud Storage logs, so neither will provide logs if this option is chosen.

GcsOnly

Only Cloud Storage logging is enabled.

Legacy

Cloud Logging and Cloud Storage logging are enabled.

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.