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 |
google.cloud.alloydb_v1.types.ImportClusterRequest.SqlImportOptions
Options for importing data in SQL format. This field is a member of oneof _ import_options .
|
csv_import_options |
google.cloud.alloydb_v1.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.