Google Cloud Migration Center V1 Client - Class MachineDiskDetails (0.1.0)

Reference documentation and code samples for the Google Cloud Migration Center V1 Client class MachineDiskDetails.

Details of machine disks.

Generated from protobuf message google.cloud.migrationcenter.v1.MachineDiskDetails

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ total_capacity_bytes int|string

Disk total Capacity.

↳ total_free_bytes int|string

Total disk free space.

↳ disks Google\Cloud\MigrationCenter\V1\DiskEntryList

List of disks.

getTotalCapacityBytes

Disk total Capacity.

Returns
TypeDescription
int|string

setTotalCapacityBytes

Disk total Capacity.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getTotalFreeBytes

Total disk free space.

Returns
TypeDescription
int|string

setTotalFreeBytes

Total disk free space.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getDisks

List of disks.

Returns
TypeDescription
Google\Cloud\MigrationCenter\V1\DiskEntryList|null

hasDisks

clearDisks

setDisks

List of disks.

Parameter
NameDescription
var Google\Cloud\MigrationCenter\V1\DiskEntryList
Returns
TypeDescription
$this