# Parallelstore V1 API - Class Google::Cloud::Parallelstore::V1::TransferMetadataOptions (v1.8.0)

1.8.0 (latest) 1.7.1 1.6.0 1.5.0 1.4.1 1.3.0 1.2.0 1.1.2 1.0.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Parallelstore V1 API class Google::Cloud::Parallelstore::V1::TransferMetadataOptions.

Transfer metadata options for the instance.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #gid

    def gid() -> ::Google::Cloud::Parallelstore::V1::TransferMetadataOptions::Gid

**Returns**

- ([::Google::Cloud::Parallelstore::V1::TransferMetadataOptions::Gid](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-parallelstore-v1/latest/Google-Cloud-Parallelstore-V1-TransferMetadataOptions-Gid)) --- Optional. The GID preservation behavior.

### #gid=

    def gid=(value) -> ::Google::Cloud::Parallelstore::V1::TransferMetadataOptions::Gid

**Parameter**

- **value** ([::Google::Cloud::Parallelstore::V1::TransferMetadataOptions::Gid](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-parallelstore-v1/latest/Google-Cloud-Parallelstore-V1-TransferMetadataOptions-Gid)) --- Optional. The GID preservation behavior.
**Returns**

- ([::Google::Cloud::Parallelstore::V1::TransferMetadataOptions::Gid](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-parallelstore-v1/latest/Google-Cloud-Parallelstore-V1-TransferMetadataOptions-Gid)) --- Optional. The GID preservation behavior.

### #mode

    def mode() -> ::Google::Cloud::Parallelstore::V1::TransferMetadataOptions::Mode

**Returns**

- ([::Google::Cloud::Parallelstore::V1::TransferMetadataOptions::Mode](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-parallelstore-v1/latest/Google-Cloud-Parallelstore-V1-TransferMetadataOptions-Mode)) --- Optional. The mode preservation behavior.

### #mode=

    def mode=(value) -> ::Google::Cloud::Parallelstore::V1::TransferMetadataOptions::Mode

**Parameter**

- **value** ([::Google::Cloud::Parallelstore::V1::TransferMetadataOptions::Mode](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-parallelstore-v1/latest/Google-Cloud-Parallelstore-V1-TransferMetadataOptions-Mode)) --- Optional. The mode preservation behavior.
**Returns**

- ([::Google::Cloud::Parallelstore::V1::TransferMetadataOptions::Mode](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-parallelstore-v1/latest/Google-Cloud-Parallelstore-V1-TransferMetadataOptions-Mode)) --- Optional. The mode preservation behavior.

### #uid

    def uid() -> ::Google::Cloud::Parallelstore::V1::TransferMetadataOptions::Uid

**Returns**

- ([::Google::Cloud::Parallelstore::V1::TransferMetadataOptions::Uid](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-parallelstore-v1/latest/Google-Cloud-Parallelstore-V1-TransferMetadataOptions-Uid)) --- Optional. The UID preservation behavior.

### #uid=

    def uid=(value) -> ::Google::Cloud::Parallelstore::V1::TransferMetadataOptions::Uid

**Parameter**

- **value** ([::Google::Cloud::Parallelstore::V1::TransferMetadataOptions::Uid](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-parallelstore-v1/latest/Google-Cloud-Parallelstore-V1-TransferMetadataOptions-Uid)) --- Optional. The UID preservation behavior.
**Returns**

- ([::Google::Cloud::Parallelstore::V1::TransferMetadataOptions::Uid](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-parallelstore-v1/latest/Google-Cloud-Parallelstore-V1-TransferMetadataOptions-Uid)) --- Optional. The UID preservation behavior.