Cloud Build V1 API - Module Google::Cloud::Build::V1::BuildOptions::LoggingMode (v0.12.0)

Reference documentation and code samples for the Cloud Build V1 API module Google::Cloud::Build::V1::BuildOptions::LoggingMode.

Specifies the logging mode.

Constants

LOGGING_UNSPECIFIED

value: 0
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.

LEGACY

value: 1
Cloud Logging and Cloud Storage logging are enabled.

GCS_ONLY

value: 2
Only Cloud Storage logging is enabled.

STACKDRIVER_ONLY

value: 3
This option is the same as CLOUD_LOGGING_ONLY.

CLOUD_LOGGING_ONLY

value: 5
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.

NONE

value: 4
Turn off all logging. No build logs will be captured.