# Class Resources (1.18.0)

1.18.0 (latest) 1.17.0 1.16.0 1.15.0 1.14.2 1.13.0 1.12.1 1.11.5 1.10.0 1.9.4 1.8.1 1.7.1 1.6.0 1.5.3 1.4.1 1.3.3 1.2.1 1.1.5 1.0.2 0.2.0 0.1.0

    Resources(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Machine resources for a version.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `cpu` | `float` Number of CPU cores needed. |
| `disk_gb` | `float` Disk size (GB) needed. |
| `memory_gb` | `float` Memory (GB) needed. |
| `volumes` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/appengine/latest/google.cloud.appengine_admin_v1.types.Volume]` User specified volumes. |
| `kms_key_reference` | `str` The name of the encryption key that is stored in Google Cloud KMS. Only should be used by Cloud Composer to encrypt the vm disk |