Reference documentation and code samples for the Compute V1 Client class StoragePoolResourceStatus.
[Output Only] Contains output only fields.
Generated from protobuf messagegoogle.cloud.compute.v1.StoragePoolResourceStatus
Namespace
Google \ Cloud \ Compute \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ disk_count
int|string
[Output Only] Number of disks used.
↳ last_resize_timestamp
string
[Output Only] Timestamp of the last successful resize in RFC3339 text format.
↳ max_total_provisioned_disk_capacity_gb
int|string
[Output Only] Maximum allowed aggregate disk size in GiB.
↳ pool_used_capacity_bytes
int|string
[Output Only] Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks.
↳ pool_used_iops
int|string
[Output Only] Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. For more information, seehttps://cloud.google.com/compute/docs/disks/storage-pools.
↳ pool_used_throughput
int|string
[Output Only] Sum of all the disks' provisioned throughput in MiB/s.
↳ pool_user_written_bytes
int|string
[Output Only] Amount of data written into the pool, before it is compacted.
↳ total_provisioned_disk_capacity_gb
int|string
[Output Only] Sum of all the disks' provisioned capacity (in GiB) in this storage pool. A disk's provisioned capacity is the same as its total capacity.
↳ total_provisioned_disk_iops
int|string
[Output Only] Sum of all the disks' provisioned IOPS.
↳ total_provisioned_disk_throughput
int|string
[Output Only] Sum of all the disks' provisioned throughput in MiB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity.
getDiskCount
[Output Only] Number of disks used.
Returns
Type
Description
int|string
hasDiskCount
clearDiskCount
setDiskCount
[Output Only] Number of disks used.
Parameter
Name
Description
var
int|string
Returns
Type
Description
$this
getLastResizeTimestamp
[Output Only] Timestamp of the last successful resize in RFC3339 text format.
Returns
Type
Description
string
hasLastResizeTimestamp
clearLastResizeTimestamp
setLastResizeTimestamp
[Output Only] Timestamp of the last successful resize in RFC3339 text format.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getMaxTotalProvisionedDiskCapacityGb
[Output Only] Maximum allowed aggregate disk size in GiB.
Returns
Type
Description
int|string
hasMaxTotalProvisionedDiskCapacityGb
clearMaxTotalProvisionedDiskCapacityGb
setMaxTotalProvisionedDiskCapacityGb
[Output Only] Maximum allowed aggregate disk size in GiB.
Parameter
Name
Description
var
int|string
Returns
Type
Description
$this
getPoolUsedCapacityBytes
[Output Only] Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks.
Returns
Type
Description
int|string
hasPoolUsedCapacityBytes
clearPoolUsedCapacityBytes
setPoolUsedCapacityBytes
[Output Only] Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks.
Parameter
Name
Description
var
int|string
Returns
Type
Description
$this
getPoolUsedIops
[Output Only] Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. For more information, seehttps://cloud.google.com/compute/docs/disks/storage-pools.
Returns
Type
Description
int|string
hasPoolUsedIops
clearPoolUsedIops
setPoolUsedIops
[Output Only] Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. For more information, seehttps://cloud.google.com/compute/docs/disks/storage-pools.
Parameter
Name
Description
var
int|string
Returns
Type
Description
$this
getPoolUsedThroughput
[Output Only] Sum of all the disks' provisioned throughput in MiB/s.
Returns
Type
Description
int|string
hasPoolUsedThroughput
clearPoolUsedThroughput
setPoolUsedThroughput
[Output Only] Sum of all the disks' provisioned throughput in MiB/s.
Parameter
Name
Description
var
int|string
Returns
Type
Description
$this
getPoolUserWrittenBytes
[Output Only] Amount of data written into the pool, before it is compacted.
Returns
Type
Description
int|string
hasPoolUserWrittenBytes
clearPoolUserWrittenBytes
setPoolUserWrittenBytes
[Output Only] Amount of data written into the pool, before it is compacted.
Parameter
Name
Description
var
int|string
Returns
Type
Description
$this
getTotalProvisionedDiskCapacityGb
[Output Only] Sum of all the disks' provisioned capacity (in GiB) in this storage pool. A disk's provisioned capacity is the same as its total capacity.
Returns
Type
Description
int|string
hasTotalProvisionedDiskCapacityGb
clearTotalProvisionedDiskCapacityGb
setTotalProvisionedDiskCapacityGb
[Output Only] Sum of all the disks' provisioned capacity (in GiB) in this storage pool. A disk's provisioned capacity is the same as its total capacity.
Parameter
Name
Description
var
int|string
Returns
Type
Description
$this
getTotalProvisionedDiskIops
[Output Only] Sum of all the disks' provisioned IOPS.
Returns
Type
Description
int|string
hasTotalProvisionedDiskIops
clearTotalProvisionedDiskIops
setTotalProvisionedDiskIops
[Output Only] Sum of all the disks' provisioned IOPS.
Parameter
Name
Description
var
int|string
Returns
Type
Description
$this
getTotalProvisionedDiskThroughput
[Output Only] Sum of all the disks' provisioned throughput in MiB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity.
Returns
Type
Description
int|string
hasTotalProvisionedDiskThroughput
clearTotalProvisionedDiskThroughput
setTotalProvisionedDiskThroughput
[Output Only] Sum of all the disks' provisioned throughput in MiB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Compute V1 Client - Class StoragePoolResourceStatus (1.35.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.35.0 (latest)](/php/docs/reference/cloud-compute/latest/V1.StoragePoolResourceStatus)\n- [1.34.0](/php/docs/reference/cloud-compute/1.34.0/V1.StoragePoolResourceStatus)\n- [1.33.0](/php/docs/reference/cloud-compute/1.33.0/V1.StoragePoolResourceStatus)\n- [1.32.0](/php/docs/reference/cloud-compute/1.32.0/V1.StoragePoolResourceStatus)\n- [1.31.0](/php/docs/reference/cloud-compute/1.31.0/V1.StoragePoolResourceStatus)\n- [1.30.0](/php/docs/reference/cloud-compute/1.30.0/V1.StoragePoolResourceStatus)\n- [1.29.0](/php/docs/reference/cloud-compute/1.29.0/V1.StoragePoolResourceStatus)\n- [1.28.0](/php/docs/reference/cloud-compute/1.28.0/V1.StoragePoolResourceStatus)\n- [1.27.0](/php/docs/reference/cloud-compute/1.27.0/V1.StoragePoolResourceStatus)\n- [1.26.0](/php/docs/reference/cloud-compute/1.26.0/V1.StoragePoolResourceStatus)\n- [1.25.0](/php/docs/reference/cloud-compute/1.25.0/V1.StoragePoolResourceStatus)\n- [1.24.0](/php/docs/reference/cloud-compute/1.24.0/V1.StoragePoolResourceStatus)\n- [1.23.0](/php/docs/reference/cloud-compute/1.23.0/V1.StoragePoolResourceStatus)\n- [1.22.1](/php/docs/reference/cloud-compute/1.22.1/V1.StoragePoolResourceStatus)\n- [1.21.0](/php/docs/reference/cloud-compute/1.21.0/V1.StoragePoolResourceStatus)\n- [1.20.0](/php/docs/reference/cloud-compute/1.20.0/V1.StoragePoolResourceStatus)\n- [1.19.0](/php/docs/reference/cloud-compute/1.19.0/V1.StoragePoolResourceStatus)\n- [1.18.1](/php/docs/reference/cloud-compute/1.18.1/V1.StoragePoolResourceStatus)\n- [1.17.0](/php/docs/reference/cloud-compute/1.17.0/V1.StoragePoolResourceStatus)\n- [1.16.2](/php/docs/reference/cloud-compute/1.16.2/V1.StoragePoolResourceStatus)\n- [1.14.0](/php/docs/reference/cloud-compute/1.14.0/V1.StoragePoolResourceStatus)\n- [1.13.0](/php/docs/reference/cloud-compute/1.13.0/V1.StoragePoolResourceStatus)\n- [1.12.1](/php/docs/reference/cloud-compute/1.12.1/V1.StoragePoolResourceStatus)\n- [1.11.1](/php/docs/reference/cloud-compute/1.11.1/V1.StoragePoolResourceStatus)\n- [1.10.1](/php/docs/reference/cloud-compute/1.10.1/V1.StoragePoolResourceStatus)\n- [1.9.1](/php/docs/reference/cloud-compute/1.9.1/V1.StoragePoolResourceStatus)\n- [1.8.3](/php/docs/reference/cloud-compute/1.8.3/V1.StoragePoolResourceStatus)\n- [1.7.1](/php/docs/reference/cloud-compute/1.7.1/V1.StoragePoolResourceStatus)\n- [1.6.1](/php/docs/reference/cloud-compute/1.6.1/V1.StoragePoolResourceStatus)\n- [1.5.0](/php/docs/reference/cloud-compute/1.5.0/V1.StoragePoolResourceStatus) \nReference documentation and code samples for the Compute V1 Client class StoragePoolResourceStatus.\n\n\\[Output Only\\] Contains output only fields.\n\nGenerated from protobuf message `google.cloud.compute.v1.StoragePoolResourceStatus`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Compute \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getDiskCount\n\n\\[Output Only\\] Number of disks used.\n\n### hasDiskCount\n\n### clearDiskCount\n\n### setDiskCount\n\n\\[Output Only\\] Number of disks used.\n\n### getLastResizeTimestamp\n\n\\[Output Only\\] Timestamp of the last successful resize in RFC3339 text format.\n\n### hasLastResizeTimestamp\n\n### clearLastResizeTimestamp\n\n### setLastResizeTimestamp\n\n\\[Output Only\\] Timestamp of the last successful resize in RFC3339 text format.\n\n### getMaxTotalProvisionedDiskCapacityGb\n\n\\[Output Only\\] Maximum allowed aggregate disk size in GiB.\n\n### hasMaxTotalProvisionedDiskCapacityGb\n\n### clearMaxTotalProvisionedDiskCapacityGb\n\n### setMaxTotalProvisionedDiskCapacityGb\n\n\\[Output Only\\] Maximum allowed aggregate disk size in GiB.\n\n### getPoolUsedCapacityBytes\n\n\\[Output Only\\] Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks.\n\n### hasPoolUsedCapacityBytes\n\n### clearPoolUsedCapacityBytes\n\n### setPoolUsedCapacityBytes\n\n\\[Output Only\\] Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks.\n\n### getPoolUsedIops\n\n\\[Output Only\\] Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. For more information, see \u003chttps://cloud.google.com/compute/docs/disks/storage-pools\u003e.\n\n### hasPoolUsedIops\n\n### clearPoolUsedIops\n\n### setPoolUsedIops\n\n\\[Output Only\\] Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. For more information, see \u003chttps://cloud.google.com/compute/docs/disks/storage-pools\u003e.\n\n### getPoolUsedThroughput\n\n\\[Output Only\\] Sum of all the disks' provisioned throughput in MiB/s.\n\n### hasPoolUsedThroughput\n\n### clearPoolUsedThroughput\n\n### setPoolUsedThroughput\n\n\\[Output Only\\] Sum of all the disks' provisioned throughput in MiB/s.\n\n### getPoolUserWrittenBytes\n\n\\[Output Only\\] Amount of data written into the pool, before it is compacted.\n\n### hasPoolUserWrittenBytes\n\n### clearPoolUserWrittenBytes\n\n### setPoolUserWrittenBytes\n\n\\[Output Only\\] Amount of data written into the pool, before it is compacted.\n\n### getTotalProvisionedDiskCapacityGb\n\n\\[Output Only\\] Sum of all the disks' provisioned capacity (in GiB) in this storage pool. A disk's provisioned capacity is the same as its total capacity.\n\n### hasTotalProvisionedDiskCapacityGb\n\n### clearTotalProvisionedDiskCapacityGb\n\n### setTotalProvisionedDiskCapacityGb\n\n\\[Output Only\\] Sum of all the disks' provisioned capacity (in GiB) in this storage pool. A disk's provisioned capacity is the same as its total capacity.\n\n### getTotalProvisionedDiskIops\n\n\\[Output Only\\] Sum of all the disks' provisioned IOPS.\n\n### hasTotalProvisionedDiskIops\n\n### clearTotalProvisionedDiskIops\n\n### setTotalProvisionedDiskIops\n\n\\[Output Only\\] Sum of all the disks' provisioned IOPS.\n\n### getTotalProvisionedDiskThroughput\n\n\\[Output Only\\] Sum of all the disks' provisioned throughput in MiB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity.\n\n### hasTotalProvisionedDiskThroughput\n\n### clearTotalProvisionedDiskThroughput\n\n### setTotalProvisionedDiskThroughput\n\n\\[Output Only\\] Sum of all the disks' provisioned throughput in MiB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity."]]