# Google Cloud Deploy V1 Client - Class FailureCause (2.0.0)

2.0.0 (latest) 1.6.3 1.5.7 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.19.1 0.18.1 0.17.0 0.16.0 0.15.0 0.14.0 0.13.1 0.12.1 0.11.1 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.1 0.3.4 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](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).

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;`