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 ExportClusterRequest : IMessage<ExportClusterRequest>, IEquatable<ExportClusterRequest>, IDeepCloneable<ExportClusterRequest>, IBufferMessage, IMessage

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

Export cluster request.

## Inheritance

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

## Implements

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

### ExportClusterRequest()

    public ExportClusterRequest()

### ExportClusterRequest(ExportClusterRequest)

    public ExportClusterRequest(ExportClusterRequest other)

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

## 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.ExportClusterRequest.md.txt#Google_Cloud_AlloyDb_V1_ExportClusterRequest_Name) resource name property.

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

### CsvExportOptions

    public ExportClusterRequest.Types.CsvExportOptions CsvExportOptions { get; set; }

Options for exporting data in CSV format. Required field to be set for
CSV file type.

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

### Database

    public string Database { get; set; }

Required. Name of the database where the export command will be executed.
Note - Value provided should be the same as expected from
`SELECT current_database();` and NOT as a resource reference.

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

### DestinationCase

    public ExportClusterRequest.DestinationOneofCase DestinationCase { get; }

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

### ExportOptionsCase

    public ExportClusterRequest.ExportOptionsOneofCase ExportOptionsCase { get; }

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

### GcsDestination

    public GcsDestination GcsDestination { get; set; }

Required. Option to export data to cloud storage.

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

### Name

    public string Name { get; set; }

Required. The resource name of the cluster.

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

### SqlExportOptions

    public ExportClusterRequest.Types.SqlExportOptions SqlExportOptions { get; set; }

Options for exporting data in SQL format. Required field to be set for
SQL file type.

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