# Google Cloud Storage Transfer V1 Client - Class UID (2.4.0)

2.4.0 (latest) 2.3.2 2.2.1 2.1.1 2.0.2 1.5.0 1.4.5 1.3.1 1.2.0 1.1.1 1.0.6 Reference documentation and code samples for the Google Cloud Storage Transfer V1 Client class UID.

Options for handling file UID attribute.

Protobuf type `google.storagetransfer.v1.MetadataOptions.UID`

## Namespace

Google \\ Cloud \\ StorageTransfer \\ V1 \\ MetadataOptions

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### UID_UNSPECIFIED

    Value: 0

UID behavior is unspecified.

Generated from protobuf enum `UID_UNSPECIFIED = 0;`

### UID_SKIP

    Value: 1

Do not preserve UID during a transfer job.

Generated from protobuf enum `UID_SKIP = 1;`

### UID_NUMBER

    Value: 2

Preserve UID during a transfer job.

Generated from protobuf enum `UID_NUMBER = 2;`