# Parallelstore v1 API - Class TransferMetadataOptions (1.3.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.3.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1/latest/Google.Cloud.Parallelstore.V1.TransferMetadataOptions)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1/1.2.0/Google.Cloud.Parallelstore.V1.TransferMetadataOptions)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1/1.1.0/Google.Cloud.Parallelstore.V1.TransferMetadataOptions)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1/1.0.0/Google.Cloud.Parallelstore.V1.TransferMetadataOptions)

    public sealed class TransferMetadataOptions : IMessage<TransferMetadataOptions>, IEquatable<TransferMetadataOptions>, IDeepCloneable<TransferMetadataOptions>, IBufferMessage, IMessage

Reference documentation and code samples for the Parallelstore v1 API class TransferMetadataOptions.

Transfer metadata options for the instance.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> TransferMetadataOptions

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[TransferMetadataOptions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1/latest/Google.Cloud.Parallelstore.V1.TransferMetadataOptions), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TransferMetadataOptions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1/latest/Google.Cloud.Parallelstore.V1.TransferMetadataOptions), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[TransferMetadataOptions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1/latest/Google.Cloud.Parallelstore.V1.TransferMetadataOptions), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Parallelstore.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1/latest/Google.Cloud.Parallelstore.V1)

## Assembly

Google.Cloud.Parallelstore.V1.dll

## Constructors

### TransferMetadataOptions()

    public TransferMetadataOptions()

### TransferMetadataOptions(TransferMetadataOptions)

    public TransferMetadataOptions(TransferMetadataOptions other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1/latest/Google.Cloud.Parallelstore.V1.TransferMetadataOptions` |

## Properties

### Gid

    public TransferMetadataOptions.Types.Gid Gid { get; set; }

Optional. The GID preservation behavior.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1/latest/Google.Cloud.Parallelstore.V1.TransferMetadataOptionshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1/latest/Google.Cloud.Parallelstore.V1.TransferMetadataOptions.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1/latest/Google.Cloud.Parallelstore.V1.TransferMetadataOptions.Types.Gid` |   |

### Mode

    public TransferMetadataOptions.Types.Mode Mode { get; set; }

Optional. The mode preservation behavior.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1/latest/Google.Cloud.Parallelstore.V1.TransferMetadataOptionshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1/latest/Google.Cloud.Parallelstore.V1.TransferMetadataOptions.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1/latest/Google.Cloud.Parallelstore.V1.TransferMetadataOptions.Types.Mode` |   |

### Uid

    public TransferMetadataOptions.Types.Uid Uid { get; set; }

Optional. The UID preservation behavior.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1/latest/Google.Cloud.Parallelstore.V1.TransferMetadataOptionshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1/latest/Google.Cloud.Parallelstore.V1.TransferMetadataOptions.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1/latest/Google.Cloud.Parallelstore.V1.TransferMetadataOptions.Types.Uid` |   |