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

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
NameDescription
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
TypeDescription
int

setType

Disk type backing the storage.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getSizeGb

Disk size in GiB.

Returns
TypeDescription
int

setSizeGb

Disk size in GiB.

Parameter
NameDescription
var int
Returns
TypeDescription
$this