Compute V1 Client - Class DiskResourceStatus (1.11.1)

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

Generated from protobuf message google.cloud.compute.v1.DiskResourceStatus

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ async_primary_disk Google\Cloud\Compute\V1\DiskResourceStatusAsyncReplicationStatus
↳ async_secondary_disks array|Google\Protobuf\Internal\MapField

Key: disk, value: AsyncReplicationStatus message

getAsyncPrimaryDisk

Generated from protobuf field optional .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus async_primary_disk = 180517533;

Returns
TypeDescription
Google\Cloud\Compute\V1\DiskResourceStatusAsyncReplicationStatus|null

hasAsyncPrimaryDisk

clearAsyncPrimaryDisk

setAsyncPrimaryDisk

Generated from protobuf field optional .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus async_primary_disk = 180517533;

Parameter
NameDescription
var Google\Cloud\Compute\V1\DiskResourceStatusAsyncReplicationStatus
Returns
TypeDescription
$this

getAsyncSecondaryDisks

Key: disk, value: AsyncReplicationStatus message

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setAsyncSecondaryDisks

Key: disk, value: AsyncReplicationStatus message

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this