# Resources

**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 resource represents a single Google Cloud Platform resource. For example, a Compute Engine instance is a single resource, a BigQuery dataset is a single resource, and so on. You can define a list of resources in your configuration file, which is then deployed using the Deployment Manage service.

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

## Resource representations

<br />

```
{
  "id": unsigned long,
  "name": string,
  "type": string,
  "manifest": string,
  "url": string,
  "errors": [
    string
  ],
  "state": string,
  "intent": string
}
```

| Property name | Value | Description | Notes |
|---|---|---|---|
| `errors[]` | `list` | \[Output Only\] A list of any errors that occurred during deployment. |   |
| `id` | `unsigned long` | \[Output Only\] Unique identifier for the resource; defined by the server. |   |
| `intent` | `string` | \[Output Only\] The intended state of the resource. |   |
| `manifest` | `string` | \[Output Only\] URL of the manifest representing the current configuration of this resource. |   |
| `name` | `string` | \[Output Only\] The name of the resource as it appears in the YAML config. |   |
| `state` | `string` | \[Output Only\] The state of the resource. |   |
| `type` | `string` | \[Output Only\] The [type](https://docs.cloud.google.com/deployment-manager/v2beta1/types#resource) of the resource, for example: `compute.v1.instance`, or `replicaPools.v1beta2.instanceGroupManager.` |   |
| `url` | `string` | \[Output Only\] The URL of the actual resource. |   |

## Methods

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

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