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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
int |
setMemoryMb
Memory in mebibytes.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getPhysicalCoreCount
Number of physical cores.
Returns | |
---|---|
Type | Description |
int |
setPhysicalCoreCount
Number of physical cores.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getLogicalCoreCount
Number of logical cores.
Returns | |
---|---|
Type | Description |
int |
setLogicalCoreCount
Number of logical cores.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getSeries
Compute Engine machine series.
Returns | |
---|---|
Type | Description |
string |
setSeries
Compute Engine machine series.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getMachineType
Compute Engine machine type.
Returns | |
---|---|
Type | Description |
string |
setMachineType
Compute Engine machine type.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |