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

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
Name
Description
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
↳ platform
Google\Cloud\MigrationCenter\V1\PlatformDetails

Platform specific information.

getUuid

Machine unique identifier.

Returns
Type
Description
string

setUuid

Machine unique identifier.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getMachineName

Machine name.

Returns
Type
Description
string

setMachineName

Machine name.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getCreateTime

Machine creation time.

Returns
Type
Description

hasCreateTime

clearCreateTime

setCreateTime

Machine creation time.

Parameter
Name
Description
Returns
Type
Description
$this

getCoreCount

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

Returns
Type
Description
int

setCoreCount

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

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getMemoryMb

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

Returns
Type
Description
int

setMemoryMb

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

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getPowerState

Power state of the machine.

Returns
Type
Description
int

setPowerState

Power state of the machine.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getArchitecture

Architecture details (vendor, CPU architecture).

hasArchitecture

clearArchitecture

setArchitecture

Architecture details (vendor, CPU architecture).

Returns
Type
Description
$this

getGuestOs

Guest OS information.

Returns
Type
Description

hasGuestOs

clearGuestOs

setGuestOs

Guest OS information.

Parameter
Name
Description
Returns
Type
Description
$this

getNetwork

Network details.

hasNetwork

clearNetwork

setNetwork

Network details.

Returns
Type
Description
$this

getDisks

Disk details.

hasDisks

clearDisks

setDisks

Disk details.

Returns
Type
Description
$this

getPlatform

Platform specific information.

Returns
Type
Description

hasPlatform

clearPlatform

setPlatform

Platform specific information.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: