# Google Cloud Resource Manager V3 Client - Class MoveFolderRequest (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 MoveFolderRequest.

The MoveFolder request message.

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

## Namespace

Google \\ Cloud \\ ResourceManager \\ V3

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The resource name of the Folder to move. Must be of the form folders/{folder_id} |
| `↳ destination_parent` | `string` Required. The resource name of the folder or organization which should be the folder's new parent. Must be of the form `folders/{folder_id}` or `organizations/{org_id}`. |

### getName

Required. The resource name of the Folder to move.

Must be of the form folders/{folder_id}

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

### setName

Required. The resource name of the Folder to move.

Must be of the form folders/{folder_id}

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

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

### getDestinationParent

Required. The resource name of the folder or organization which should be
the folder's new parent. Must be of the form `folders/{folder_id}` or
`organizations/{org_id}`.

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

### setDestinationParent

Required. The resource name of the folder or organization which should be
the folder's new parent. Must be of the form `folders/{folder_id}` or
`organizations/{org_id}`.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The resource name of the Folder to move. Must be of the form folders/{folder_id} Please see FoldersClient::folderName() for help formatting this field. |
| `destinationParent` | `string` Required. The resource name of the folder or organization which should be the folder's new parent. Must be of the form `folders/{folder_id}` or `organizations/{org_id}`. |

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