# 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 postdeploy failures.

Protobuf type `google.cloud.deploy.v1.PostdeployJobRun.FailureCause`

## Namespace

Google \\ Cloud \\ Deploy \\ V1 \\ PostdeployJobRun

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

Generated from protobuf enum `EXECUTION_FAILED = 2;`

### DEADLINE_EXCEEDED

    Value: 3

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