Google Cloud Migration Center V1 Client - Class MachineDetails (0.2.0)

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

Details of a machine.

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

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ uuid string

Machine unique identifier.

↳ machine_name string

Machine name.

↳ create_time Google\Protobuf\Timestamp

Machine creation time.

↳ core_count int

Number of CPU cores in the machine. Must be non-negative.

↳ memory_mb int

The amount of memory in the machine. Must be non-negative.

↳ power_state int

Power state of the machine.

↳ architecture Google\Cloud\MigrationCenter\V1\MachineArchitectureDetails

Architecture details (vendor, CPU architecture).

↳ guest_os Google\Cloud\MigrationCenter\V1\GuestOsDetails

Guest OS information.

↳ network Google\Cloud\MigrationCenter\V1\MachineNetworkDetails

Network details.

↳ disks Google\Cloud\MigrationCenter\V1\MachineDiskDetails

Disk details.

↳ platform Google\Cloud\MigrationCenter\V1\PlatformDetails

Platform specific information.

getUuid

Machine unique identifier.

Returns
TypeDescription
string

setUuid

Machine unique identifier.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMachineName

Machine name.

Returns
TypeDescription
string

setMachineName

Machine name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Machine creation time.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Machine creation time.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getCoreCount

Number of CPU cores in the machine. Must be non-negative.

Returns
TypeDescription
int

setCoreCount

Number of CPU cores in the machine. Must be non-negative.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getMemoryMb

The amount of memory in the machine. Must be non-negative.

Returns
TypeDescription
int

setMemoryMb

The amount of memory in the machine. Must be non-negative.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPowerState

Power state of the machine.

Returns
TypeDescription
int

setPowerState

Power state of the machine.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getArchitecture

Architecture details (vendor, CPU architecture).

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

hasArchitecture

clearArchitecture

setArchitecture

Architecture details (vendor, CPU architecture).

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

getGuestOs

Guest OS information.

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

hasGuestOs

clearGuestOs

setGuestOs

Guest OS information.

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

getNetwork

Network details.

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

hasNetwork

clearNetwork

setNetwork

Network details.

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

getDisks

Disk details.

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

hasDisks

clearDisks

setDisks

Disk details.

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

getPlatform

Platform specific information.

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

hasPlatform

clearPlatform

setPlatform

Platform specific information.

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