# Google Cloud Storage Control V2 Client - Class RenameFolderMetadata (1.9.0)

1.9.0 (latest) 1.8.0 1.7.0 1.6.3 1.5.0 1.4.1 1.3.0 1.1.0 1.0.3 0.2.1 0.1.1 Reference documentation and code samples for the Google Cloud Storage Control V2 Client class RenameFolderMetadata.

Message returned in the metadata field of the Operation resource for
RenameFolder operations.

Generated from protobuf message `google.storage.control.v2.RenameFolderMetadata`

## Namespace

Google \\ Cloud \\ Storage \\ Control \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ common_metadata` | `https://docs.cloud.google.com/php/docs/reference/cloud-storage-control/latest/V2.CommonLongRunningOperationMetadata` Generic metadata for the long running operation. |
| `↳ source_folder_id` | `string` The path of the source folder. |
| `↳ destination_folder_id` | `string` The path of the destination folder. |

### getCommonMetadata

Generic metadata for the long running operation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-storage-control/latest/V2.CommonLongRunningOperationMetadata|null` |   |

### hasCommonMetadata

### clearCommonMetadata

### setCommonMetadata

Generic metadata for the long running operation.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-storage-control/latest/V2.CommonLongRunningOperationMetadata` |

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

### getSourceFolderId

The path of the source folder.

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

### setSourceFolderId

The path of the source folder.

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

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

### getDestinationFolderId

The path of the destination folder.

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

### setDestinationFolderId

The path of the destination folder.

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

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