Google Cloud Migration Center V1 Client - Class ComputeEngineShapeDescriptor (0.1.0)

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

Compute Engine target shape descriptor.

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

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ memory_mb int

Memory in mebibytes.

↳ physical_core_count int

Number of physical cores.

↳ logical_core_count int

Number of logical cores.

↳ series string

Compute Engine machine series.

↳ machine_type string

Compute Engine machine type.

getMemoryMb

Memory in mebibytes.

Returns
TypeDescription
int

setMemoryMb

Memory in mebibytes.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPhysicalCoreCount

Number of physical cores.

Returns
TypeDescription
int

setPhysicalCoreCount

Number of physical cores.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getLogicalCoreCount

Number of logical cores.

Returns
TypeDescription
int

setLogicalCoreCount

Number of logical cores.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getSeries

Compute Engine machine series.

Returns
TypeDescription
string

setSeries

Compute Engine machine series.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMachineType

Compute Engine machine type.

Returns
TypeDescription
string

setMachineType

Compute Engine machine type.

Parameter
NameDescription
var string
Returns
TypeDescription
$this