# Google Cloud Config V1 Client - Class DeletePolicy (1.8.0)

1.8.0 (latest) 1.7.2 1.6.1 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.5.2 0.2.0 0.1.3 Reference documentation and code samples for the Google Cloud Config V1 Client class DeletePolicy.

Policy on how resources actuated by the deployment should be deleted.

Protobuf type `google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy`

## Namespace

Google \\ Cloud \\ Config \\ V1 \\ DeleteDeploymentRequest

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### DELETE_POLICY_UNSPECIFIED

    Value: 0

Unspecified policy, resources will be deleted.

Generated from protobuf enum `DELETE_POLICY_UNSPECIFIED = 0;`

### DELETE

    Value: 1

Deletes resources actuated by the deployment.

Generated from protobuf enum `DELETE = 1;`

### ABANDON

    Value: 2

Abandons resources and only deletes the deployment and its metadata.

Generated from protobuf enum `ABANDON = 2;`