# Google Cloud Parallelstore V1 Client - Class TransferMetadataOptions (0.13.2)

0.13.2 (latest) 0.13.1 0.12.1 0.11.3 0.10.0 0.9.0 0.8.3 0.7.1 0.6.1 0.5.0 0.4.0 0.3.1 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Parallelstore V1 Client class TransferMetadataOptions.

Transfer metadata options for the instance.

Generated from protobuf message `google.cloud.parallelstore.v1.TransferMetadataOptions`

## Namespace

Google \\ Cloud \\ Parallelstore \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ uid` | `int` Optional. The UID preservation behavior. |
| `↳ gid` | `int` Optional. The GID preservation behavior. |
| `↳ mode` | `int` Optional. The mode preservation behavior. |

### getUid

Optional. The UID preservation behavior.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [Uid](https://docs.cloud.google.com/php/docs/reference/cloud-parallelstore/latest/V1.TransferMetadataOptions.Uid). |

### setUid

Optional. The UID preservation behavior.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [Uid](https://docs.cloud.google.com/php/docs/reference/cloud-parallelstore/latest/V1.TransferMetadataOptions.Uid). |

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

### getGid

Optional. The GID preservation behavior.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [Gid](https://docs.cloud.google.com/php/docs/reference/cloud-parallelstore/latest/V1.TransferMetadataOptions.Gid). |

### setGid

Optional. The GID preservation behavior.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [Gid](https://docs.cloud.google.com/php/docs/reference/cloud-parallelstore/latest/V1.TransferMetadataOptions.Gid). |

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

### getMode

Optional. The mode preservation behavior.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [Mode](https://docs.cloud.google.com/php/docs/reference/cloud-parallelstore/latest/V1.TransferMetadataOptions.Mode). |

### setMode

Optional. The mode preservation behavior.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [Mode](https://docs.cloud.google.com/php/docs/reference/cloud-parallelstore/latest/V1.TransferMetadataOptions.Mode). |

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