GoogleApi.SQLAdmin.V1.Model.ExportContext (google_api_sql_admin v0.71.0)
View SourceDatabase instance export context.
Attributes
-
bakExportOptions
(type:GoogleApi.SQLAdmin.V1.Model.ExportContextBakExportOptions.t
, default:nil
) - Options for exporting BAK files (SQL Server-only) -
csvExportOptions
(type:GoogleApi.SQLAdmin.V1.Model.ExportContextCsvExportOptions.t
, default:nil
) - Options for exporting data as CSV.MySQL
andPostgreSQL
instances only. -
databases
(type:list(String.t)
, default:nil
) - Databases to be exported.MySQL instances:
IffileType
isSQL
and no database is specified, all databases are exported, except for themysql
system database. IffileType
isCSV
, you can specify one database, either by using this property or by using thecsvExportOptions.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. IffileType
isCSV
, this database must match the one specified in thecsvExportOptions.selectQuery
property.SQL Server instances:
You must specify one database to be exported, and thefileType
must beBAK
. -
fileType
(type:String.t
, default:nil
) - The file type for the specified uri. -
kind
(type:String.t
, default:nil
) - This is alwayssql#exportContext
. -
offload
(type:boolean()
, default:nil
) - Option for export offload. -
sqlExportOptions
(type:GoogleApi.SQLAdmin.V1.Model.ExportContextSqlExportOptions.t
, default:nil
) - Options for exporting data as SQL statements. -
tdeExportOptions
(type:GoogleApi.SQLAdmin.V1.Model.ExportContextTdeExportOptions.t
, default:nil
) - Optional. Export parameters specific to SQL Server TDE certificates -
uri
(type:String.t
, default:nil
) - The path to the file in Google Cloud Storage where the export will be stored. The URI is in the formgs://bucketName/fileName
. If the file already exists, the request succeeds, but the operation fails. IffileType
isSQL
and the filename ends with .gz, the contents are compressed.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.SQLAdmin.V1.Model.ExportContext{ bakExportOptions: GoogleApi.SQLAdmin.V1.Model.ExportContextBakExportOptions.t() | nil, csvExportOptions: GoogleApi.SQLAdmin.V1.Model.ExportContextCsvExportOptions.t() | nil, databases: [String.t()] | nil, fileType: String.t() | nil, kind: String.t() | nil, offload: boolean() | nil, sqlExportOptions: GoogleApi.SQLAdmin.V1.Model.ExportContextSqlExportOptions.t() | nil, tdeExportOptions: GoogleApi.SQLAdmin.V1.Model.ExportContextTdeExportOptions.t() | nil, uri: String.t() | nil }