0.1.4 (latest) 0.1.3

    ExportContext(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Database instance export context.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `uri` | `str` The path to the file in Google Cloud Storage where the export will be stored. The URI is in the form `gs://bucketName/fileName`. If the file already exists, the request succeeds, but the operation fails. If `fileType` is `SQL` and the filename ends with .gz, the contents are compressed. |
| `databases` | `MutableSequence[str]` Databases to be exported. `MySQL instances:` If `fileType` is `SQL` and no database is specified, all databases are exported, except for the `mysql` system database. If `fileType` is `CSV`, you can specify one database, either by using this property or by using the `csvExportOptions.selectQuery` property, which takes precedence over this property. `PostgreSQL instances:` If you don't specify a database by name, all user databases in the instance are exported. This excludes system databases and Cloud SQL databases used to manage internal operations. Exporting all user databases is only available for directory-formatted parallel export. If `fileType` is `CSV`, this database must match the one specified in the `csvExportOptions.selectQuery` property. `SQL Server instances:` You must specify one database to be exported, and the `fileType` must be `BAK`. |
| `kind` | `str` This is always `sql#exportContext`. |
| `sql_export_options` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-sql/latest/google.cloud.sqladmin_v1.types.ExportContext.SqlExportOptions` Options for exporting data as SQL statements. |
| `csv_export_options` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-sql/latest/google.cloud.sqladmin_v1.types.ExportContext.SqlCsvExportOptions` Options for exporting data as CSV. `MySQL` and `PostgreSQL` instances only. |
| `file_type` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-sql/latest/google.cloud.sqladmin_v1.types.SqlFileType` The file type for the specified uri. |
| `offload` | `google.protobuf.wrappers_pb2.BoolValue` Whether to perform a serverless export. |
| `bak_export_options` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-sql/latest/google.cloud.sqladmin_v1.types.ExportContext.SqlBakExportOptions` Options for exporting data as BAK files. |
| `tde_export_options` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-sql/latest/google.cloud.sqladmin_v1.types.ExportContext.SqlTdeExportOptions` Optional. Export parameters specific to SQL Server TDE certificates |

## Classes

### SqlBakExportOptions

    SqlBakExportOptions(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Options for exporting BAK files (SQL Server-only)

### SqlCsvExportOptions

    SqlCsvExportOptions(mapping=None, *, ignore_unknown_fields=False, **kwargs)

### SqlExportOptions

    SqlExportOptions(mapping=None, *, ignore_unknown_fields=False, **kwargs)

### SqlTdeExportOptions

    SqlTdeExportOptions(mapping=None, *, ignore_unknown_fields=False, **kwargs)