Class ExportContext
Database instance export context.
Implements
Inherited Members
Namespace: Google.Apis.SQLAdmin.v1beta4.Data
Assembly: Google.Apis.SQLAdmin.v1beta4.dll
Syntax
public class ExportContext : IDirectResponseSchema
Properties
BakExportOptions
Options for exporting BAK files (SQL Server-only)
Declaration
[JsonProperty("bakExportOptions")]
public virtual ExportContext.BakExportOptionsData BakExportOptions { get; set; }
Property Value
Type | Description |
---|---|
Export |
CsvExportOptions
Options for exporting data as CSV. MySQL
and PostgreSQL
instances only.
Declaration
[JsonProperty("csvExportOptions")]
public virtual ExportContext.CsvExportOptionsData CsvExportOptions { get; set; }
Property Value
Type | Description |
---|---|
Export |
Databases
Databases to be exported. MySQL instances:
If fileType
is SQL
and no database is specified, all
databases are exported, except for the mysql
system database. If fileType
is CSV
, you can specify one
database, either by using this property or by using the csvExportOptions.selectQuery
property, which takes
precedence over this property. PostgreSQL instances:
If you don't specify a database by name, all user
databases in the instance are exported. This excludes system databases and Cloud SQL databases used to
manage internal operations. Exporting all user databases is only available for directory-formatted parallel
export. If fileType
is CSV
, this database must match the one specified in the
csvExportOptions.selectQuery
property. SQL Server instances:
You must specify one database to be
exported, and the fileType
must be BAK
.
Declaration
[JsonProperty("databases")]
public virtual IList<string> Databases { get; set; }
Property Value
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FileType
The file type for the specified uri.
Declaration
[JsonProperty("fileType")]
public virtual string FileType { get; set; }
Property Value
Type | Description |
---|---|
string |
Kind
This is always sql#exportContext
.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
Offload
Option for export offload.
Declaration
[JsonProperty("offload")]
public virtual bool? Offload { get; set; }
Property Value
Type | Description |
---|---|
bool? |
SqlExportOptions
Options for exporting data as SQL statements.
Declaration
[JsonProperty("sqlExportOptions")]
public virtual ExportContext.SqlExportOptionsData SqlExportOptions { get; set; }
Property Value
Type | Description |
---|---|
Export |
TdeExportOptions
Optional. Export parameters specific to SQL Server TDE certificates
Declaration
[JsonProperty("tdeExportOptions")]
public virtual ExportContext.TdeExportOptionsData TdeExportOptions { get; set; }
Property Value
Type | Description |
---|---|
Export |
Uri
The path to the file in Google Cloud Storage where the export will be stored. The URI is in the form
gs://bucketName/fileName
. If the file already exists, the request succeeds, but the operation fails. If
fileType
is SQL
and the filename ends with .gz, the contents are compressed.
Declaration
[JsonProperty("uri")]
public virtual string Uri { get; set; }
Property Value
Type | Description |
---|---|
string |