# REST Resource: projects.locations.storagepools

- [Resource: StoragePool](https://docs.cloud.google.com/netapp/volumes/docs/reference/rest/v1alpha1/projects.locations.storagepools#StoragePool)
  - [JSON representation](https://docs.cloud.google.com/netapp/volumes/docs/reference/rest/v1alpha1/projects.locations.storagepools#StoragePool.SCHEMA_REPRESENTATION)
- [State](https://docs.cloud.google.com/netapp/volumes/docs/reference/rest/v1alpha1/projects.locations.storagepools#State)
- [Methods](https://docs.cloud.google.com/netapp/volumes/docs/reference/rest/v1alpha1/projects.locations.storagepools#METHODS_SUMMARY)

## Resource: StoragePool

Resources StoragePool StoragePool is a container for volumes with a service level and capacity. Volumes can be created in a pool of sufficient available capacity. StoragePool capacity is what you are billed for.

| JSON representation |
|---|
| ``` { "name": string, "serviceLevel": enum (`https://docs.cloud.google.com/netapp/docs/reference/rest/v1alpha1/ServiceLevel`), "capacityGib": string, "volumeCapacityGib": string, "volumeCount": integer, "state": enum (`https://docs.cloud.google.com/netapp/docs/reference/rest/v1alpha1/projects.locations.storagepools#State`), "stateDetails": string, "createTime": string, "description": string, "labels": { string: string, ... } } ``` |

| Fields ||
|---|---|
| `name` | `string` Output only. The resource name of the storage pool. Format: `projects/{project_number}/locations/{locationId}/storagepools/{storagePoolId}`. |
| `serviceLevel` | ``enum (`https://docs.cloud.google.com/netapp/docs/reference/rest/v1alpha1/ServiceLevel`)`` Required. Service level of the storage pool |
| `capacityGib` | `string (https://developers.google.com/discovery/v1/type-format format)` Required. Capacity in GIB of the pool |
| `volumeCapacityGib` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. Allocated size of all volumes in GIB in the storage pool |
| `volumeCount` | `integer` Output only. Volume count of the storage pool |
| `state` | ``enum (`https://docs.cloud.google.com/netapp/docs/reference/rest/v1alpha1/projects.locations.storagepools#State`)`` Output only. State of the storage pool |
| `stateDetails` | `string` Output only. State details of the storage pool |
| `createTime` | ``string (`https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` format)`` Output only. Create time of the storage pool A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: `"2014-10-02T15:01:23Z"` and `"2014-10-02T15:01:23.045123456Z"`. |
| `description` | `string` Description of the storage pool |
| `labels` | `map (key: string, value: string)` Labels as key value pairs An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |

## State

The Storage Pool States

| Enums ||
|---|---|
| `STATE_UNSPECIFIED` | Unspecified Storage Pool State |
| `READY` | Ready |
| `CREATING` | Creating |
| `DELETING` | Deleting |
| `UPDATING` | Updating |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/netapp/docs/reference/rest/v1alpha1/projects.locations.storagepools/create` | CreateStoragePool Creates a new storage pool. |
| ### `https://docs.cloud.google.com/netapp/docs/reference/rest/v1alpha1/projects.locations.storagepools/delete` | DeleteStoragePool Warning! |
| ### `https://docs.cloud.google.com/netapp/docs/reference/rest/v1alpha1/projects.locations.storagepools/get` | GetStoragePool Returns the description of the specified storage pool by poolId. |
| ### `https://docs.cloud.google.com/netapp/docs/reference/rest/v1alpha1/projects.locations.storagepools/list` | ListStoragePools Returns descriptions of all storage pools owned by the caller. |
| ### `https://docs.cloud.google.com/netapp/docs/reference/rest/v1alpha1/projects.locations.storagepools/patch` | UpdateStoragePool Updates the storage pool properties with the full spec |