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 \ V1Methods
__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 |
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 | |
---|---|
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 |
Google\Protobuf\Timestamp|null |
hasCreateTime
clearCreateTime
setCreateTime
Machine creation time.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
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).
Returns | |
---|---|
Type | Description |
Google\Cloud\MigrationCenter\V1\MachineArchitectureDetails|null |
hasArchitecture
clearArchitecture
setArchitecture
Architecture details (vendor, CPU architecture).
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\MigrationCenter\V1\MachineArchitectureDetails
|
Returns | |
---|---|
Type | Description |
$this |
getGuestOs
Guest OS information.
Returns | |
---|---|
Type | Description |
Google\Cloud\MigrationCenter\V1\GuestOsDetails|null |
hasGuestOs
clearGuestOs
setGuestOs
Guest OS information.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\MigrationCenter\V1\GuestOsDetails
|
Returns | |
---|---|
Type | Description |
$this |
getNetwork
Network details.
Returns | |
---|---|
Type | Description |
Google\Cloud\MigrationCenter\V1\MachineNetworkDetails|null |
hasNetwork
clearNetwork
setNetwork
Network details.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\MigrationCenter\V1\MachineNetworkDetails
|
Returns | |
---|---|
Type | Description |
$this |
getDisks
Disk details.
Returns | |
---|---|
Type | Description |
Google\Cloud\MigrationCenter\V1\MachineDiskDetails|null |
hasDisks
clearDisks
setDisks
Disk details.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\MigrationCenter\V1\MachineDiskDetails
|
Returns | |
---|---|
Type | Description |
$this |
getPlatform
Platform specific information.
Returns | |
---|---|
Type | Description |
Google\Cloud\MigrationCenter\V1\PlatformDetails|null |
hasPlatform
clearPlatform
setPlatform
Platform specific information.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\MigrationCenter\V1\PlatformDetails
|
Returns | |
---|---|
Type | Description |
$this |