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

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
Name Description
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 DiskEntryList

List of disks.

getTotalCapacityBytes

Disk total Capacity.

Returns
Type Description
int|string

setTotalCapacityBytes

Disk total Capacity.

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

getTotalFreeBytes

Total disk free space.

Returns
Type Description
int|string

setTotalFreeBytes

Total disk free space.

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

getDisks

List of disks.

Returns
Type Description
DiskEntryList|null

hasDisks

clearDisks

setDisks

List of disks.

Parameter
Name Description
var DiskEntryList
Returns
Type Description
$this