Reference documentation and code samples for the Google Cloud Migration Center V1 Client class DiskEntry.
Single disk entry.
Generated from protobuf message google.cloud.migrationcenter.v1.DiskEntry
Namespace
Google \ Cloud \ MigrationCenter \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ capacity_bytes
int|string
Disk capacity.
↳ free_bytes
int|string
Disk free space.
↳ disk_label
string
Disk label.
↳ disk_label_type
string
Disk label type (e.g. BIOS/GPT)
↳ interface_type
int
Disks interface type.
↳ partitions
↳ hw_address
string
Disk hardware address (e.g. 0:1 for SCSI).
↳ vmware
getCapacityBytes
Disk capacity.
int|string
setCapacityBytes
Disk capacity.
var
int|string
$this
getFreeBytes
Disk free space.
int|string
setFreeBytes
Disk free space.
var
int|string
$this
getDiskLabel
Disk label.
string
setDiskLabel
Disk label.
var
string
$this
getDiskLabelType
Disk label type (e.g. BIOS/GPT)
string
setDiskLabelType
Disk label type (e.g. BIOS/GPT)
var
string
$this
getInterfaceType
Disks interface type.
int
setInterfaceType
Disks interface type.
var
int
$this
getPartitions
Partition layout.
hasPartitions
clearPartitions
setPartitions
Partition layout.
$this
getHwAddress
Disk hardware address (e.g. 0:1 for SCSI).
string
setHwAddress
Disk hardware address (e.g. 0:1 for SCSI).
var
string
$this
getVmware
VMware disk details.
hasVmware
setVmware
VMware disk details.
$this
getPlatformSpecific
string