Google Cloud Deploy V1 Client - Class FailureCause (0.8.0)

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

Well-known deploy failures.

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

Namespace

Google \ Cloud \ Deploy \ V1 \ DeployJobRun

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
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 Google Cloud Deploy has insufficient permissions. See Required permission.

Generated from protobuf enum CLOUD_BUILD_UNAVAILABLE = 1;

EXECUTION_FAILED

Value: 2

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

Generated from protobuf enum EXECUTION_FAILED = 2;

DEADLINE_EXCEEDED

Value: 3

The deploy build did not complete within the alloted time.

Generated from protobuf enum DEADLINE_EXCEEDED = 3;

MISSING_RESOURCES_FOR_CANARY

Value: 4

There were missing resources in the runtime environment required for a canary deployment. Check the Cloud Build logs for more information.

Generated from protobuf enum MISSING_RESOURCES_FOR_CANARY = 4;

CLOUD_BUILD_REQUEST_FAILED

Value: 5

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

Generated from protobuf enum CLOUD_BUILD_REQUEST_FAILED = 5;