0.11.4 (latest) 0.11.3 0.10.0 0.9.0 0.7.0 0.6.0 0.5.0 0.4.9 0.3.16 0.2.1 0.1.1

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

Import cluster request.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `sql_import_options` | `https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1beta.types.ImportClusterRequest.SqlImportOptions` Options for importing data in SQL format. This field is a member of `oneof`_ `import_options`. |
| `csv_import_options` | `https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1beta.types.ImportClusterRequest.CsvImportOptions` Options for importing data in CSV format. This field is a member of `oneof`_ `import_options`. |
| `name` | `str` Required. The resource name of the cluster. |
| `gcs_uri` | `str` 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`. |
| `database` | `str` 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. |
| `user` | `str` 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. |

## Classes

### CsvImportOptions

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

Options for importing data in CSV format.

### SqlImportOptions

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

Options for importing data in SQL format.