# Parallelstore v1beta API - Class ImportDataRequest (1.0.0-beta09)

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

- [1.0.0-beta09 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1Beta/latest/Google.Cloud.Parallelstore.V1Beta.ImportDataRequest)
- [1.0.0-beta08](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1Beta/1.0.0-beta08/Google.Cloud.Parallelstore.V1Beta.ImportDataRequest)

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

Reference documentation and code samples for the Parallelstore v1beta API class ImportDataRequest.

Import data from Cloud Storage into a Parallelstore instance.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ImportDataRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1Beta/latest/Google.Cloud.Parallelstore.V1Beta.ImportDataRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ImportDataRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1Beta/latest/Google.Cloud.Parallelstore.V1Beta.ImportDataRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ImportDataRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1Beta/latest/Google.Cloud.Parallelstore.V1Beta.ImportDataRequest), [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.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1Beta/latest/Google.Cloud.Parallelstore.V1Beta)

## Assembly

Google.Cloud.Parallelstore.V1Beta.dll

## Constructors

### ImportDataRequest()

    public ImportDataRequest()

### ImportDataRequest(ImportDataRequest)

    public ImportDataRequest(ImportDataRequest other)

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

## Properties

### DestinationCase

    public ImportDataRequest.DestinationOneofCase DestinationCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1Beta/latest/Google.Cloud.Parallelstore.V1Beta.ImportDataRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1Beta/latest/Google.Cloud.Parallelstore.V1Beta.ImportDataRequest.DestinationOneofCase` |   |

### DestinationParallelstore

    public DestinationParallelstore DestinationParallelstore { get; set; }

Parallelstore destination.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1Beta/latest/Google.Cloud.Parallelstore.V1Beta.DestinationParallelstore` |   |

### InstanceName

    public InstanceName InstanceName { get; set; }

[InstanceName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1Beta/latest/Google.Cloud.Parallelstore.V1Beta.InstanceName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1Beta/latest/Google.Cloud.Parallelstore.V1Beta.ImportDataRequest#Google_Cloud_Parallelstore_V1Beta_ImportDataRequest_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1Beta/latest/Google.Cloud.Parallelstore.V1Beta.InstanceName` |   |

### MetadataOptions

    public TransferMetadataOptions MetadataOptions { get; set; }

Optional. The transfer metadata options for the import data.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1Beta/latest/Google.Cloud.Parallelstore.V1Beta.TransferMetadataOptions` |   |

### Name

    public string Name { get; set; }

Required. Name of the resource.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### RequestId

    public string RequestId { get; set; }

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).

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ServiceAccount

    public string ServiceAccount { get; set; }

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`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ServiceAccountAsServiceAccountName

    public ServiceAccountName ServiceAccountAsServiceAccountName { get; set; }

[ServiceAccountName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1Beta/latest/Google.Cloud.Parallelstore.V1Beta.ServiceAccountName)-typed view over the [ServiceAccount](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1Beta/latest/Google.Cloud.Parallelstore.V1Beta.ImportDataRequest#Google_Cloud_Parallelstore_V1Beta_ImportDataRequest_ServiceAccount) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1Beta/latest/Google.Cloud.Parallelstore.V1Beta.ServiceAccountName` |   |

### SourceCase

    public ImportDataRequest.SourceOneofCase SourceCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1Beta/latest/Google.Cloud.Parallelstore.V1Beta.ImportDataRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1Beta/latest/Google.Cloud.Parallelstore.V1Beta.ImportDataRequest.SourceOneofCase` |   |

### SourceGcsBucket

    public SourceGcsBucket SourceGcsBucket { get; set; }

The Cloud Storage source bucket and, optionally, path inside the bucket.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Parallelstore.V1Beta/latest/Google.Cloud.Parallelstore.V1Beta.SourceGcsBucket` |   |