# Deployments

**Caution:** This is a **deprecated** version of the Deployment Manager API. Please use the [latest API version](https://docs.cloud.google.com/deployment-manager/latest) instead. A deployment is a collection of resources that are deployed and managed together, using a configuration file.

For a list of [methods](https://docs.cloud.google.com/deployment-manager/v2beta1/deployments#methods) for this resource, see the end of this page.

## Resource representations

<br />

```
{
  "id": unsigned long,
  "name": string,
  "description": string,
  "manifest": string,
  "targetConfig": string
}
```

| Property name | Value | Description | Notes |
|---|---|---|---|
| `description` | `string` | An optional user-provided description of the deployment. |   |
| `id` | `unsigned long` | \[Output Only\] Unique identifier for the resource; defined by the server. |   |
| `manifest` | `string` | \[Output Only\] URL of the manifest representing the full configuration of this deployment. |   |
| `name` | `string` | The name of the deployment, which must be unique within the project. |   |
| `targetConfig` | `string` | \[Input Only\] The YAML configuration to use in processing this deployment. When you create a deployment, the server creates a new manifest with the given YAML configuration and sets the `manifest` property to the URL of the manifest resource. |   |

## Methods

[delete](https://docs.cloud.google.com/deployment-manager/v2beta1/deployments/delete)
:   Deletes a deployment and all associated resources.

[get](https://docs.cloud.google.com/deployment-manager/v2beta1/deployments/get)
:   Gets information about a specific deployment.

[insert](https://docs.cloud.google.com/deployment-manager/v2beta1/deployments/insert)
:   Creates a deployment and all of the resources described by the
    deployment manifest.

[list](https://docs.cloud.google.com/deployment-manager/v2beta1/deployments/list)
:   Lists all deployments for a given project.