Google Cloud Migration Center V1 Client - Class MachineArchitectureDetails (0.2.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
NameDescription
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
TypeDescription
string

setCpuArchitecture

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCpuName

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

Returns
TypeDescription
string

setCpuName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVendor

Hardware vendor.

Returns
TypeDescription
string

setVendor

Hardware vendor.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCpuThreadCount

Number of CPU threads allocated to the machine.

Returns
TypeDescription
int

setCpuThreadCount

Number of CPU threads allocated to the machine.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCpuSocketCount

Number of processor sockets allocated to the machine.

Returns
TypeDescription
int

setCpuSocketCount

Number of processor sockets allocated to the machine.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getBios

BIOS Details.

Returns
TypeDescription
Google\Cloud\MigrationCenter\V1\BiosDetails|null

hasBios

clearBios

setBios

BIOS Details.

Parameter
NameDescription
var Google\Cloud\MigrationCenter\V1\BiosDetails
Returns
TypeDescription
$this

getFirmwareType

Firmware type.

Returns
TypeDescription
int

setFirmwareType

Firmware type.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getHyperthreading

CPU hyper-threading support.

Returns
TypeDescription
int

setHyperthreading

CPU hyper-threading support.

Parameter
NameDescription
var int
Returns
TypeDescription
$this