1.16.0 (latest) 1.15.0 1.14.0 1.13.0 1.12.0 1.11.0 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the AlloyDB v1 API class ImportClusterRequest.

Import cluster request.

## Inheritance

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

## Implements

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

## 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.AlloyDb.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.md.txt)

## Assembly

Google.Cloud.AlloyDb.V1.dll

## Constructors

### ImportClusterRequest()

    public ImportClusterRequest()

### ImportClusterRequest(ImportClusterRequest)

    public ImportClusterRequest(ImportClusterRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `ImportClusterRequest` |

## Properties

### ClusterName

    public ClusterName ClusterName { get; set; }

[ClusterName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.ClusterName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.ImportClusterRequest.md.txt#Google_Cloud_AlloyDb_V1_ImportClusterRequest_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ClusterName` |   |

### CsvImportOptions

    public ImportClusterRequest.Types.CsvImportOptions CsvImportOptions { get; set; }

Options for importing data in CSV format.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ImportClusterRequestTypesCsvImportOptions` |   |

### Database

    public string Database { get; set; }

Optional. Name of the database to which the import will be done.
For import from SQL file, this is required only if the file does not
specify a database.
Note - Value provided should be the same as expected from `SELECT
current_database();` and NOT as a resource reference.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### GcsUri

    public string GcsUri { get; set; }

Required. The path to the file in Google Cloud Storage where the source
file for import will be stored. The URI is in the form
`gs://bucketName/fileName`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### ImportOptionsCase

    public ImportClusterRequest.ImportOptionsOneofCase ImportOptionsCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ImportClusterRequestImportOptionsOneofCase` |   |

### Name

    public string Name { get; set; }

Required. The resource name of the cluster.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### SqlImportOptions

    public ImportClusterRequest.Types.SqlImportOptions SqlImportOptions { get; set; }

Options for importing data in SQL format.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ImportClusterRequestTypesSqlImportOptions` |   |

### User

    public string User { get; set; }

Optional. Database user to be used for importing the data.
Note - Value provided should be the same as expected from
`SELECT current_user;` and NOT as a resource reference.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |