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

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

Details of the machine architecture.

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

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ cpu_architecture string

CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc.

↳ cpu_name string

CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc.

↳ vendor string

Hardware vendor.

↳ cpu_thread_count int

Number of CPU threads allocated to the machine.

↳ cpu_socket_count int

Number of processor sockets allocated to the machine.

↳ bios Google\Cloud\MigrationCenter\V1\BiosDetails

BIOS Details.

↳ firmware_type int

Firmware type.

↳ hyperthreading int

CPU hyper-threading support.

getCpuArchitecture

CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc.

Returns
Type Description
string

setCpuArchitecture

CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc.

Parameter
Name Description
var string
Returns
Type Description
$this

getCpuName

CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc.

Returns
Type Description
string

setCpuName

CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc.

Parameter
Name Description
var string
Returns
Type Description
$this

getVendor

Hardware vendor.

Returns
Type Description
string

setVendor

Hardware vendor.

Parameter
Name Description
var string
Returns
Type Description
$this

getCpuThreadCount

Number of CPU threads allocated to the machine.

Returns
Type Description
int

setCpuThreadCount

Number of CPU threads allocated to the machine.

Parameter
Name Description
var int
Returns
Type Description
$this

getCpuSocketCount

Number of processor sockets allocated to the machine.

Returns
Type Description
int

setCpuSocketCount

Number of processor sockets allocated to the machine.

Parameter
Name Description
var int
Returns
Type Description
$this

getBios

BIOS Details.

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

hasBios

clearBios

setBios

BIOS Details.

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

getFirmwareType

Firmware type.

Returns
Type Description
int

setFirmwareType

Firmware type.

Parameter
Name Description
var int
Returns
Type Description
$this

getHyperthreading

CPU hyper-threading support.

Returns
Type Description
int

setHyperthreading

CPU hyper-threading support.

Parameter
Name Description
var int
Returns
Type Description
$this