Google Cloud Migration Center V1 Client - Class DiskPartition (1.0.0)

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

Disk Partition details.

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

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ type string

Partition type.

↳ file_system string

Partition file system.

↳ mount_point string

Mount pount (Linux/Windows) or drive letter (Windows).

↳ capacity_bytes int|string

Partition capacity.

↳ free_bytes int|string

Partition free space.

↳ uuid string

Partition UUID.

↳ sub_partitions Google\Cloud\MigrationCenter\V1\DiskPartitionList

Sub-partitions.

getType

Partition type.

Returns
Type Description
string

setType

Partition type.

Parameter
Name Description
var string
Returns
Type Description
$this

getFileSystem

Partition file system.

Returns
Type Description
string

setFileSystem

Partition file system.

Parameter
Name Description
var string
Returns
Type Description
$this

getMountPoint

Mount pount (Linux/Windows) or drive letter (Windows).

Returns
Type Description
string

setMountPoint

Mount pount (Linux/Windows) or drive letter (Windows).

Parameter
Name Description
var string
Returns
Type Description
$this

getCapacityBytes

Partition capacity.

Returns
Type Description
int|string

setCapacityBytes

Partition capacity.

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

getFreeBytes

Partition free space.

Returns
Type Description
int|string

setFreeBytes

Partition free space.

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

getUuid

Partition UUID.

Returns
Type Description
string

setUuid

Partition UUID.

Parameter
Name Description
var string
Returns
Type Description
$this

getSubPartitions

Sub-partitions.

Returns
Type Description
Google\Cloud\MigrationCenter\V1\DiskPartitionList|null

hasSubPartitions

clearSubPartitions

setSubPartitions

Sub-partitions.

Parameter
Name Description
var Google\Cloud\MigrationCenter\V1\DiskPartitionList
Returns
Type Description
$this