1.8.4 (latest) 1.7.1 1.6.3 1.5.0 1.4.1 1.3.0 1.2.0 1.1.3 1.0.0 0.10.3 0.9.0 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.0 0.2.1 0.1.3 Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class SqlExportOptions.

Options for exporting data in SQL format.

Generated from protobuf message `google.cloud.alloydb.v1.ExportClusterRequest.SqlExportOptions`

## Namespace

Google \\ Cloud \\ AlloyDb \\ V1 \\ ExportClusterRequest

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ tables` | `string[]` Optional. Tables to export from. |
| `↳ schema_only` | `bool` Optional. If true, only export the schema. |
| `↳ clean_target_objects` | `bool` Optional. If true, output commands to DROP all the dumped database objects prior to outputting the commands for creating them. |
| `↳ if_exist_target_objects` | `bool` Optional. If true, use DROP ... IF EXISTS commands to check for the object's existence before dropping it in clean_target_objects mode. |

### getTables

Optional. Tables to export from.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<string>` |   |

### setTables

Optional. Tables to export from.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSchemaOnly

Optional. If true, only export the schema.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasSchemaOnly

### clearSchemaOnly

### setSchemaOnly

Optional. If true, only export the schema.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCleanTargetObjects

Optional. If true, output commands to DROP all the dumped database
objects prior to outputting the commands for creating them.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasCleanTargetObjects

### clearCleanTargetObjects

### setCleanTargetObjects

Optional. If true, output commands to DROP all the dumped database
objects prior to outputting the commands for creating them.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getIfExistTargetObjects

Optional. If true, use DROP ... IF EXISTS commands to check for the
object's existence before dropping it in clean_target_objects mode.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasIfExistTargetObjects

### clearIfExistTargetObjects

### setIfExistTargetObjects

Optional. If true, use DROP ... IF EXISTS commands to check for the
object's existence before dropping it in clean_target_objects mode.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |