Compute V1 Client - Class DiskResourceStatus (1.20.0)

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
Name Description
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
Type Description
Google\Cloud\Compute\V1\DiskResourceStatusAsyncReplicationStatus|null

hasAsyncPrimaryDisk

clearAsyncPrimaryDisk

setAsyncPrimaryDisk

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

Parameter
Name Description
var Google\Cloud\Compute\V1\DiskResourceStatusAsyncReplicationStatus
Returns
Type Description
$this

getAsyncSecondaryDisks

Key: disk, value: AsyncReplicationStatus message

Returns
Type Description
Google\Protobuf\Internal\MapField

setAsyncSecondaryDisks

Key: disk, value: AsyncReplicationStatus message

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this