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

Compute engine migration target.

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

## Namespace

Google \\ Cloud \\ MigrationCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ shape` | `https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.ComputeEngineShapeDescriptor` Description of the suggested shape for the migration target. |

### getShape

Description of the suggested shape for the migration target.

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

### hasShape

### clearShape

### setShape

Description of the suggested shape for the migration target.

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

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