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 |
MachineArchitectureDetails
Architecture details (vendor, CPU architecture). |
↳ guest_os |
GuestOsDetails
Guest OS information. |
↳ network |
MachineNetworkDetails
Network details. |
↳ disks |
MachineDiskDetails
Disk details. |
↳ platform |
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 |
MachineArchitectureDetails|null |
hasArchitecture
clearArchitecture
setArchitecture
Architecture details (vendor, CPU architecture).
Parameter | |
---|---|
Name | Description |
var |
MachineArchitectureDetails
|
Returns | |
---|---|
Type | Description |
$this |
getGuestOs
Guest OS information.
Returns | |
---|---|
Type | Description |
GuestOsDetails|null |
hasGuestOs
clearGuestOs
setGuestOs
Guest OS information.
Parameter | |
---|---|
Name | Description |
var |
GuestOsDetails
|
Returns | |
---|---|
Type | Description |
$this |
getNetwork
Network details.
Returns | |
---|---|
Type | Description |
MachineNetworkDetails|null |
hasNetwork
clearNetwork
setNetwork
Network details.
Parameter | |
---|---|
Name | Description |
var |
MachineNetworkDetails
|
Returns | |
---|---|
Type | Description |
$this |
getDisks
Disk details.
Returns | |
---|---|
Type | Description |
MachineDiskDetails|null |
hasDisks
clearDisks
setDisks
Disk details.
Parameter | |
---|---|
Name | Description |
var |
MachineDiskDetails
|
Returns | |
---|---|
Type | Description |
$this |
getPlatform
Platform specific information.
Returns | |
---|---|
Type | Description |
PlatformDetails|null |
hasPlatform
clearPlatform
setPlatform
Platform specific information.
Parameter | |
---|---|
Name | Description |
var |
PlatformDetails
|
Returns | |
---|---|
Type | Description |
$this |