google_api_sql_admin v0.29.0 GoogleApi.SQLAdmin.V1beta4.Model.ExportContext View Source
Database instance export context.
Attributes
csvExportOptions
(type:GoogleApi.SQLAdmin.V1beta4.Model.ExportContextCsvExportOptions.t
, default:nil
) - Options for exporting data as CSV.databases
(type:list(String.t)
, default:nil
) - Databases to be exported. <br /> <b>MySQL instances:</b> If <code>fileType</code> is <code>SQL</code> and no database is specified, all databases are exported, except for the <code>mysql</code> system database. If <code>fileType</code> is <code>CSV</code>, you can specify one database, either by using this property or by using the <code>csvExportOptions.selectQuery</code> property, which takes precedence over this property. <br /> <b>PostgreSQL instances:</b> You must specify one database to be exported. If <code>fileType</code> is <code>CSV</code>, this database must match the one specified in the <code>csvExportOptions.selectQuery</code> property.fileType
(type:String.t
, default:nil
) - The file type for the specified uri. <br><code>SQL</code>: The file contains SQL statements. <br><code>CSV</code>: The file contains CSV data.kind
(type:String.t
, default:nil
) - This is always <code>sql#exportContext</code>.offload
(type:boolean()
, default:nil
) - Option for export offload.sqlExportOptions
(type:GoogleApi.SQLAdmin.V1beta4.Model.ExportContextSqlExportOptions.t
, default:nil
) - Options for exporting data as SQL statements.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 form <code>gs: //bucketName/fileName</code>. If the file already exists, the requests // succeeds, but the operation fails. If <code>fileType</code> is // <code>SQL</code> and the filename ends with .gz, the contents are // compressed.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.SQLAdmin.V1beta4.Model.ExportContext{ csvExportOptions: GoogleApi.SQLAdmin.V1beta4.Model.ExportContextCsvExportOptions.t(), databases: [String.t()], fileType: String.t(), kind: String.t(), offload: boolean(), sqlExportOptions: GoogleApi.SQLAdmin.V1beta4.Model.ExportContextSqlExportOptions.t(), uri: String.t() }
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.