# Google Cloud Migration Center V1 Client - Class GenericPlatformDetails (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 GenericPlatformDetails.

Generic platform details.

Generated from protobuf message `google.cloud.migrationcenter.v1.GenericPlatformDetails`

## Namespace

Google \\ Cloud \\ MigrationCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ location` | `string` Free text representation of the machine location. The format of this field should not be relied on. Different VMs in the same location may have different string values for this field. |

### getLocation

Free text representation of the machine location.

The format of this field should not be relied on. Different VMs in the same
location may have different string values for this field.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setLocation

Free text representation of the machine location.

The format of this field should not be relied on. Different VMs in the same
location may have different string values for this field.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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