Reference documentation and code samples for the Compute V1 Client class StoragePoolDisk.
Generated from protobuf message google.cloud.compute.v1.StoragePoolDisk
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ attached_instances
array
[Output Only] Instances this disk is attached to.
↳ creation_timestamp
string
[Output Only] Creation timestamp in RFC3339 text format.
↳ disk
string
[Output Only] The URL of the disk.
↳ name
string
[Output Only] The name of the disk.
↳ provisioned_iops
int|string
[Output Only] The number of IOPS provisioned for the disk.
↳ provisioned_throughput
int|string
[Output Only] The throughput provisioned for the disk.
↳ resource_policies
array
[Output Only] Resource policies applied to disk for automatic snapshot creations.
↳ size_gb
int|string
[Output Only] The disk size, in GB.
↳ status
string
[Output Only] The disk status. Check the Status enum for the list of possible values.
↳ type
string
[Output Only] The disk type.
↳ used_bytes
int|string
[Output Only] Amount of disk space used.
getAttachedInstances
[Output Only] Instances this disk is attached to.
setAttachedInstances
[Output Only] Instances this disk is attached to.
var
string[]
$this
getCreationTimestamp
[Output Only] Creation timestamp in RFC3339 text format.
string
hasCreationTimestamp
clearCreationTimestamp
setCreationTimestamp
[Output Only] Creation timestamp in RFC3339 text format.
var
string
$this
getDisk
[Output Only] The URL of the disk.
string
hasDisk
clearDisk
setDisk
[Output Only] The URL of the disk.
var
string
$this
getName
[Output Only] The name of the disk.
string
hasName
clearName
setName
[Output Only] The name of the disk.
var
string
$this
getProvisionedIops
[Output Only] The number of IOPS provisioned for the disk.
int|string
hasProvisionedIops
clearProvisionedIops
setProvisionedIops
[Output Only] The number of IOPS provisioned for the disk.
var
int|string
$this
getProvisionedThroughput
[Output Only] The throughput provisioned for the disk.
int|string
hasProvisionedThroughput
clearProvisionedThroughput
setProvisionedThroughput
[Output Only] The throughput provisioned for the disk.
var
int|string
$this
getResourcePolicies
[Output Only] Resource policies applied to disk for automatic snapshot creations.
setResourcePolicies
[Output Only] Resource policies applied to disk for automatic snapshot creations.
var
string[]
$this
getSizeGb
[Output Only] The disk size, in GB.
int|string
hasSizeGb
clearSizeGb
setSizeGb
[Output Only] The disk size, in GB.
var
int|string
$this
getStatus
[Output Only] The disk status.
Check the Status enum for the list of possible values.
string
hasStatus
clearStatus
setStatus
[Output Only] The disk status.
Check the Status enum for the list of possible values.
var
string
$this
getType
[Output Only] The disk type.
string
hasType
clearType
setType
[Output Only] The disk type.
var
string
$this
getUsedBytes
[Output Only] Amount of disk space used.
int|string
hasUsedBytes
clearUsedBytes
setUsedBytes
[Output Only] Amount of disk space used.
var
int|string
$this