Google Cloud Build V1 Client - Class LoggingMode (0.9.0)

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

Namespace

Google \ Cloud \ Build \ V1 \ BuildOptions

Methods

static::name

Parameter
NameDescription
value mixed

static::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

Build logs are stored in Cloud Logging and Cloud Storage.

Generated from protobuf enum LEGACY = 1;

GCS_ONLY

Value: 2

Build logs are stored in Cloud Storage.

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

Build logs are stored in Cloud Logging. Selecting this option will not allow logs streaming.

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;