ExportClusterRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Export 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 |
gcs_destination |
google.cloud.alloydb_v1beta.types.GcsDestination
Required. Option to export data to cloud storage. This field is a member of oneof _ destination .
|
csv_export_options |
google.cloud.alloydb_v1beta.types.ExportClusterRequest.CsvExportOptions
Options for exporting data in CSV format. Required field to be set for CSV file type. This field is a member of oneof _ export_options .
|
sql_export_options |
google.cloud.alloydb_v1beta.types.ExportClusterRequest.SqlExportOptions
Options for exporting data in SQL format. Required field to be set for SQL file type. This field is a member of oneof _ export_options .
|
name |
str
Required. The resource name of the cluster. |
database |
str
Required. Name of the database where the export command will be executed. Note - Value provided should be the same as expected from SELECT current_database(); and NOT as a
resource reference.
|
Classes
CsvExportOptions
CsvExportOptions(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Options for exporting data in CSV format.
SqlExportOptions
SqlExportOptions(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Options for exporting data in SQL format.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields