Reference documentation and code samples for the AlloyDB V1BETA API class Google::Cloud::AlloyDB::V1beta::ExportClusterRequest.
Export cluster request.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#csv_export_options
def csv_export_options() -> ::Google::Cloud::AlloyDB::V1beta::ExportClusterRequest::CsvExportOptions
-
(::Google::Cloud::AlloyDB::V1beta::ExportClusterRequest::CsvExportOptions) — Options for exporting data in CSV format. Required field to be set for
CSV file type.
Note: The following fields are mutually exclusive:
csv_export_options
,sql_export_options
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#csv_export_options=
def csv_export_options=(value) -> ::Google::Cloud::AlloyDB::V1beta::ExportClusterRequest::CsvExportOptions
-
value (::Google::Cloud::AlloyDB::V1beta::ExportClusterRequest::CsvExportOptions) — Options for exporting data in CSV format. Required field to be set for
CSV file type.
Note: The following fields are mutually exclusive:
csv_export_options
,sql_export_options
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AlloyDB::V1beta::ExportClusterRequest::CsvExportOptions) — Options for exporting data in CSV format. Required field to be set for
CSV file type.
Note: The following fields are mutually exclusive:
csv_export_options
,sql_export_options
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#database
def database() -> ::String
-
(::String) — 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.
#database=
def database=(value) -> ::String
-
value (::String) — 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.
-
(::String) — 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.
#gcs_destination
def gcs_destination() -> ::Google::Cloud::AlloyDB::V1beta::GcsDestination
- (::Google::Cloud::AlloyDB::V1beta::GcsDestination) — Required. Option to export data to cloud storage.
#gcs_destination=
def gcs_destination=(value) -> ::Google::Cloud::AlloyDB::V1beta::GcsDestination
- value (::Google::Cloud::AlloyDB::V1beta::GcsDestination) — Required. Option to export data to cloud storage.
- (::Google::Cloud::AlloyDB::V1beta::GcsDestination) — Required. Option to export data to cloud storage.
#name
def name() -> ::String
- (::String) — Required. The resource name of the cluster.
#name=
def name=(value) -> ::String
- value (::String) — Required. The resource name of the cluster.
- (::String) — Required. The resource name of the cluster.
#sql_export_options
def sql_export_options() -> ::Google::Cloud::AlloyDB::V1beta::ExportClusterRequest::SqlExportOptions
-
(::Google::Cloud::AlloyDB::V1beta::ExportClusterRequest::SqlExportOptions) — Options for exporting data in SQL format. Required field to be set for
SQL file type.
Note: The following fields are mutually exclusive:
sql_export_options
,csv_export_options
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#sql_export_options=
def sql_export_options=(value) -> ::Google::Cloud::AlloyDB::V1beta::ExportClusterRequest::SqlExportOptions
-
value (::Google::Cloud::AlloyDB::V1beta::ExportClusterRequest::SqlExportOptions) — Options for exporting data in SQL format. Required field to be set for
SQL file type.
Note: The following fields are mutually exclusive:
sql_export_options
,csv_export_options
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AlloyDB::V1beta::ExportClusterRequest::SqlExportOptions) — Options for exporting data in SQL format. Required field to be set for
SQL file type.
Note: The following fields are mutually exclusive:
sql_export_options
,csv_export_options
. If a field in that set is populated, all other fields in the set will automatically be cleared.