# Parallelstore V1BETA API - Class Google::Cloud::Parallelstore::V1beta::ImportDataRequest (v0.14.0)

0.14.0 (latest) 0.13.1 0.12.0 0.11.1 0.10.0 0.9.1 0.8.1 0.7.0 0.6.0 0.5.1 0.4.0 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Parallelstore V1BETA API class Google::Cloud::Parallelstore::V1beta::ImportDataRequest.

Import data from Cloud Storage into a Parallelstore instance.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #destination_parallelstore

    def destination_parallelstore() -> ::Google::Cloud::Parallelstore::V1beta::DestinationParallelstore

**Returns**

- ([::Google::Cloud::Parallelstore::V1beta::DestinationParallelstore](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-parallelstore-v1beta/latest/Google-Cloud-Parallelstore-V1beta-DestinationParallelstore)) --- Parallelstore destination.

### #destination_parallelstore=

    def destination_parallelstore=(value) -> ::Google::Cloud::Parallelstore::V1beta::DestinationParallelstore

**Parameter**

- **value** ([::Google::Cloud::Parallelstore::V1beta::DestinationParallelstore](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-parallelstore-v1beta/latest/Google-Cloud-Parallelstore-V1beta-DestinationParallelstore)) --- Parallelstore destination.
**Returns**

- ([::Google::Cloud::Parallelstore::V1beta::DestinationParallelstore](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-parallelstore-v1beta/latest/Google-Cloud-Parallelstore-V1beta-DestinationParallelstore)) --- Parallelstore destination.

### #metadata_options

    def metadata_options() -> ::Google::Cloud::Parallelstore::V1beta::TransferMetadataOptions

**Returns**

- ([::Google::Cloud::Parallelstore::V1beta::TransferMetadataOptions](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-parallelstore-v1beta/latest/Google-Cloud-Parallelstore-V1beta-TransferMetadataOptions)) --- Optional. The transfer metadata options for the import data.

### #metadata_options=

    def metadata_options=(value) -> ::Google::Cloud::Parallelstore::V1beta::TransferMetadataOptions

**Parameter**

- **value** ([::Google::Cloud::Parallelstore::V1beta::TransferMetadataOptions](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-parallelstore-v1beta/latest/Google-Cloud-Parallelstore-V1beta-TransferMetadataOptions)) --- Optional. The transfer metadata options for the import data.
**Returns**

- ([::Google::Cloud::Parallelstore::V1beta::TransferMetadataOptions](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-parallelstore-v1beta/latest/Google-Cloud-Parallelstore-V1beta-TransferMetadataOptions)) --- Optional. The transfer metadata options for the import data.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. Name of the resource.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Name of the resource.
**Returns**

- (::String) --- Required. Name of the resource.

### #request_id

    def request_id() -> ::String

**Returns**

- (::String) --- Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

  For example, consider a situation where you make an initial request and
  the request times out. If you make the request again with the same request
  ID, the server can check if original operation with the same request ID
  was received, and if so, will ignore the second request. This prevents
  clients from accidentally creating duplicate commitments.

  The request ID must be a valid UUID with the exception that zero UUID is
  not supported (00000000-0000-0000-0000-000000000000).

### #request_id=

    def request_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.


  For example, consider a situation where you make an initial request and
  the request times out. If you make the request again with the same request
  ID, the server can check if original operation with the same request ID
  was received, and if so, will ignore the second request. This prevents
  clients from accidentally creating duplicate commitments.

  The request ID must be a valid UUID with the exception that zero UUID is
  not supported (00000000-0000-0000-0000-000000000000).
**Returns**

- (::String) --- Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

  For example, consider a situation where you make an initial request and
  the request times out. If you make the request again with the same request
  ID, the server can check if original operation with the same request ID
  was received, and if so, will ignore the second request. This prevents
  clients from accidentally creating duplicate commitments.

  The request ID must be a valid UUID with the exception that zero UUID is
  not supported (00000000-0000-0000-0000-000000000000).

### #service_account

    def service_account() -> ::String

**Returns**

- (::String) --- Optional. User-specified service account credentials to be used when performing the transfer.

  Use one of the following formats:
  - `{EMAIL_ADDRESS_OR_UNIQUE_ID}`
  - `projects/{PROJECT_ID_OR_NUMBER}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
  - `projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`

  If unspecified, the Parallelstore service agent is used:
  `service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com`

### #service_account=

    def service_account=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. User-specified service account credentials to be used when performing the transfer.


  Use one of the following formats:
  - `{EMAIL_ADDRESS_OR_UNIQUE_ID}`
  - `projects/{PROJECT_ID_OR_NUMBER}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
  - `projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`

  If unspecified, the Parallelstore service agent is used:
  `service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com`
**Returns**

- (::String) --- Optional. User-specified service account credentials to be used when performing the transfer.

  Use one of the following formats:
  - `{EMAIL_ADDRESS_OR_UNIQUE_ID}`
  - `projects/{PROJECT_ID_OR_NUMBER}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
  - `projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`

  If unspecified, the Parallelstore service agent is used:
  `service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com`

### #source_gcs_bucket

    def source_gcs_bucket() -> ::Google::Cloud::Parallelstore::V1beta::SourceGcsBucket

**Returns**

- ([::Google::Cloud::Parallelstore::V1beta::SourceGcsBucket](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-parallelstore-v1beta/latest/Google-Cloud-Parallelstore-V1beta-SourceGcsBucket)) --- The Cloud Storage source bucket and, optionally, path inside the bucket.

### #source_gcs_bucket=

    def source_gcs_bucket=(value) -> ::Google::Cloud::Parallelstore::V1beta::SourceGcsBucket

**Parameter**

- **value** ([::Google::Cloud::Parallelstore::V1beta::SourceGcsBucket](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-parallelstore-v1beta/latest/Google-Cloud-Parallelstore-V1beta-SourceGcsBucket)) --- The Cloud Storage source bucket and, optionally, path inside the bucket.
**Returns**

- ([::Google::Cloud::Parallelstore::V1beta::SourceGcsBucket](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-parallelstore-v1beta/latest/Google-Cloud-Parallelstore-V1beta-SourceGcsBucket)) --- The Cloud Storage source bucket and, optionally, path inside the bucket.