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 \ V1Methods
__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 |
Google\Cloud\MigrationCenter\V1\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 |
Google\Cloud\MigrationCenter\V1\DiskEntryList|null |
hasDisks
clearDisks
setDisks
List of disks.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\MigrationCenter\V1\DiskEntryList
|
Returns | |
---|---|
Type | Description |
$this |