Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class ExportClusterRequest.
Export cluster request.
Generated from protobuf message google.cloud.alloydb.v1.ExportClusterRequest
Namespace
Google \ Cloud \ AlloyDb \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ gcs_destination
↳ csv_export_options
ExportClusterRequest\CsvExportOptions
Options for exporting data in CSV format. Required field to be set for CSV file type.
↳ sql_export_options
ExportClusterRequest\SqlExportOptions
Options for exporting data in SQL format. Required field to be set for SQL file type.
↳ name
string
Required. The resource name of the cluster.
↳ database
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.
getGcsDestination
Required. Option to export data to cloud storage.
hasGcsDestination
setGcsDestination
Required. Option to export data to cloud storage.
$this
getCsvExportOptions
Options for exporting data in CSV format. Required field to be set for CSV file type.
hasCsvExportOptions
setCsvExportOptions
Options for exporting data in CSV format. Required field to be set for CSV file type.
$this
getSqlExportOptions
Options for exporting data in SQL format. Required field to be set for SQL file type.
hasSqlExportOptions
setSqlExportOptions
Options for exporting data in SQL format. Required field to be set for SQL file type.
$this
getName
Required. The resource name of the cluster.
string
setName
Required. The resource name of the cluster.
var
string
$this
getDatabase
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
setDatabase
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.
var
string
$this
getDestination
string
getExportOptions
string
static::build
name
string
Required. The resource name of the cluster. Please see AlloyDBAdminClient::clusterName() for help formatting this field.
gcsDestination
database
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.
csvExportOptions
ExportClusterRequest\CsvExportOptions
Options for exporting data in CSV format. Required field to be set for CSV file type.
sqlExportOptions
ExportClusterRequest\SqlExportOptions
Options for exporting data in SQL format. Required field to be set for SQL file type.