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
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.

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

hasDisks

clearDisks

setDisks

List of disks.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: