# Google Cloud Resource Manager V3 Client - Class MoveProjectRequest (1.1.3)

1.1.3 (latest) 1.1.2 1.0.4 0.8.5 0.7.2 0.6.1 0.5.0 0.4.1 0.3.9 Reference documentation and code samples for the Google Cloud Resource Manager V3 Client class MoveProjectRequest.

The request sent to
[MoveProject](https://docs.cloud.google.com/php/docs/reference/cloud-resource-manager/latest/V3.Client.ProjectsClient#_Google_Cloud_ResourceManager_V3_Client_ProjectsClient__moveProject__)
method.

Generated from protobuf message `google.cloud.resourcemanager.v3.MoveProjectRequest`

## Namespace

Google \\ Cloud \\ ResourceManager \\ V3

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The name of the project to move. |
| `↳ destination_parent` | `string` Required. The new parent to move the Project under. |

### getName

Required. The name of the project to move.

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

### setName

Required. The name of the project to move.

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

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

### getDestinationParent

Required. The new parent to move the Project under.

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

### setDestinationParent

Required. The new parent to move the Project under.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the project to move. Please see ProjectsClient::projectName() for help formatting this field. |
| `destinationParent` | `string` Required. The new parent to move the Project under. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-resource-manager/latest/V3.MoveProjectRequest` |   |