Google Cloud Deploy V1 Client - Class FailureCause (2.0.0)

Reference documentation and code samples for the Google Cloud Deploy V1 Client class FailureCause.

Well-known predeploy failures.

Protobuf type google.cloud.deploy.v1.PredeployJobRun.FailureCause

Namespace

Google \ Cloud \ Deploy \ V1 \ PredeployJobRun

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

FAILURE_CAUSE_UNSPECIFIED

Value: 0

No reason for failure is specified.

Generated from protobuf enum FAILURE_CAUSE_UNSPECIFIED = 0;

CLOUD_BUILD_UNAVAILABLE

Value: 1

Cloud Build is not available, either because it is not enabled or because Cloud Deploy has insufficient permissions. See required permission.

Generated from protobuf enum CLOUD_BUILD_UNAVAILABLE = 1;

EXECUTION_FAILED

Value: 2

The predeploy operation did not complete successfully; check Cloud Build logs.

Generated from protobuf enum EXECUTION_FAILED = 2;

DEADLINE_EXCEEDED

Value: 3

The predeploy job run did not complete within the alloted time.

Generated from protobuf enum DEADLINE_EXCEEDED = 3;

CLOUD_BUILD_REQUEST_FAILED

Value: 4

Cloud Build failed to fulfill Cloud Deploy's request. See failure_message for additional details.

Generated from protobuf enum CLOUD_BUILD_REQUEST_FAILED = 4;