Google Cloud Deploy V1 Client - Class FailureCause (1.1.1)

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
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 deploy operation did not complete successfully; check Cloud Build logs.

Generated from protobuf enum EXECUTION_FAILED = 2;

DEADLINE_EXCEEDED

Value: 3

The deploy job run 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 Cloud Deploy's request. See failure_message for additional details.

Generated from protobuf enum CLOUD_BUILD_REQUEST_FAILED = 5;

DEPLOY_FEATURE_NOT_SUPPORTED

Value: 6

The deploy operation had a feature configured that is not supported.

Generated from protobuf enum DEPLOY_FEATURE_NOT_SUPPORTED = 6;