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

```sql
public sealed class ExportClusterRequest.Types.SqlExportOptions : IMessage<ExportClusterRequest.Types.SqlExportOptions>, IEquatable<ExportClusterRequest.Types.SqlExportOptions>, IDeepCloneable<ExportClusterRequest.Types.SqlExportOptions>, IBufferMessage, IMessage
```
Reference documentation and code samples for the AlloyDB v1 API class ExportClusterRequest.Types.SqlExportOptions.

Options for exporting data in SQL format.

## Inheritance

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

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

### SqlExportOptions()

```sql
public SqlExportOptions()
```

### SqlExportOptions(SqlExportOptions)

```sql
public SqlExportOptions(ExportClusterRequest.Types.SqlExportOptions other)
```

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

## Properties

### CleanTargetObjects

```sql
public bool CleanTargetObjects { get; set; }
```
Optional. If true, output commands to DROP all the dumped database
objects prior to outputting the commands for creating them.

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

### HasCleanTargetObjects

```sql
public bool HasCleanTargetObjects { get; }
```
Gets whether the "clean_target_objects" field is set

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

### HasIfExistTargetObjects

```sql
public bool HasIfExistTargetObjects { get; }
```
Gets whether the "if_exist_target_objects" field is set

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

### HasSchemaOnly

```sql
public bool HasSchemaOnly { get; }
```
Gets whether the "schema_only" field is set

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

### IfExistTargetObjects

```sql
public bool IfExistTargetObjects { get; set; }
```
Optional. If true, use DROP ... IF EXISTS commands to check for the
object's existence before dropping it in clean_target_objects mode.

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

### SchemaOnly

```sql
public bool SchemaOnly { get; set; }
```
Optional. If true, only export the schema.

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

### Tables

```sql
public RepeatedField<string> Tables { get; }
```
Optional. Tables to export from.

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