# Google Cloud Migration Center V1 Client - Class MachineDetails (1.2.3)

1.2.3 (latest) 1.2.2 1.1.2 1.0.3 0.4.5 0.3.1 0.2.0 0.1.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** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ uuid` | `string` Machine unique identifier. |
| `↳ machine_name` | `string` Machine name. |
| `↳ create_time` | `https://protobuf.dev/reference/php/api-docs/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` | `https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.MachineArchitectureDetails` Architecture details (vendor, CPU architecture). |
| `↳ guest_os` | `https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.GuestOsDetails` Guest OS information. |
| `↳ network` | `https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.MachineNetworkDetails` Network details. |
| `↳ disks` | `https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.MachineDiskDetails` Disk details. |
| `↳ platform` | `https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/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** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasCreateTime

### clearCreateTime

### setCreateTime

Machine creation time.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/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` | Enum of type [PowerState](https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.MachineDetails.PowerState). |

### setPowerState

Power state of the machine.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [PowerState](https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.MachineDetails.PowerState). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getArchitecture

Architecture details (vendor, CPU architecture).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.MachineArchitectureDetails|null` |   |

### hasArchitecture

### clearArchitecture

### setArchitecture

Architecture details (vendor, CPU architecture).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.MachineArchitectureDetails` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getGuestOs

Guest OS information.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.GuestOsDetails|null` |   |

### hasGuestOs

### clearGuestOs

### setGuestOs

Guest OS information.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.GuestOsDetails` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getNetwork

Network details.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.MachineNetworkDetails|null` |   |

### hasNetwork

### clearNetwork

### setNetwork

Network details.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.MachineNetworkDetails` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDisks

Disk details.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.MachineDiskDetails|null` |   |

### hasDisks

### clearDisks

### setDisks

Disk details.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.MachineDiskDetails` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPlatform

Platform specific information.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.PlatformDetails|null` |   |

### hasPlatform

### clearPlatform

### setPlatform

Platform specific information.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.PlatformDetails` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |