Compute V1 Client - Class StoragePoolResourceStatus (1.18.0)

Reference documentation and code samples for the Compute V1 Client class StoragePoolResourceStatus.

[Output Only] Contains output only fields.

Generated from protobuf message google.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 gigabytes.

↳ 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

Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity.

↳ pool_used_throughput int|string

[Output Only] Sum of all the disks' provisioned throughput in MB/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 capacity provisioned in disks 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 MB/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 gigabytes.

Returns
Type Description
int|string

hasMaxTotalProvisionedDiskCapacityGb

clearMaxTotalProvisionedDiskCapacityGb

setMaxTotalProvisionedDiskCapacityGb

[Output Only] Maximum allowed aggregate disk size in gigabytes.

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

Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity.

Returns
Type Description
int|string

hasPoolUsedIops

clearPoolUsedIops

setPoolUsedIops

Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getPoolUsedThroughput

[Output Only] Sum of all the disks' provisioned throughput in MB/s.

Returns
Type Description
int|string

hasPoolUsedThroughput

clearPoolUsedThroughput

setPoolUsedThroughput

[Output Only] Sum of all the disks' provisioned throughput in MB/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 capacity provisioned in disks 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 capacity provisioned in disks 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 MB/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 MB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity.

Parameter
Name Description
var int|string
Returns
Type Description
$this