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

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

Compute Engine storage option descriptor.

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

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ type int

Disk type backing the storage.

↳ size_gb int

Disk size in GiB.

getType

Disk type backing the storage.

Returns
Type Description
int

setType

Disk type backing the storage.

Parameter
Name Description
var int
Returns
Type Description
$this

getSizeGb

Disk size in GiB.

Returns
Type Description
int

setSizeGb

Disk size in GiB.

Parameter
Name Description
var int
Returns
Type Description
$this