Google Cloud Build V1 Client - Class LoggingMode (0.3.8)

Reference documentation and code samples for the Google Cloud Build V1 Client class LoggingMode.

Specifies the logging mode.

Protobuf type google.devtools.cloudbuild.v1.BuildOptions.LoggingMode

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
name mixed

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.

Generated from protobuf enum LOGGING_UNSPECIFIED = 0;

LEGACY

Value: 1

Cloud Logging and Cloud Storage logging are enabled.

Generated from protobuf enum LEGACY = 1;

GCS_ONLY

Value: 2

Only Cloud Storage logging is enabled.

Generated from protobuf enum GCS_ONLY = 2;

STACKDRIVER_ONLY

Value: 3

This option is the same as CLOUD_LOGGING_ONLY.

Generated from protobuf enum STACKDRIVER_ONLY = 3 [deprecated = true];

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.

Generated from protobuf enum CLOUD_LOGGING_ONLY = 5;

NONE

Value: 4

Turn off all logging. No build logs will be captured.

Generated from protobuf enum NONE = 4;