REST Resource: projects.locations.storagepools

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 (ServiceLevel),
  "capacityGib": string,
  "volumeCapacityGib": string,
  "volumeCount": integer,
  "state": enum (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 (ServiceLevel)

Required. Service level of the storage pool

capacityGib

string (int64 format)

Required. Capacity in GIB of the pool

volumeCapacityGib

string (int64 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 (State)

Output only. State of the storage pool

stateDetails

string

Output only. State details of the storage pool

createTime

string (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

create

CreateStoragePool

Creates a new storage pool.

delete

DeleteStoragePool

Warning!

get

GetStoragePool

Returns the description of the specified storage pool by poolId.

list

ListStoragePools

Returns descriptions of all storage pools owned by the caller.

patch

UpdateStoragePool

Updates the storage pool properties with the full spec