google_api_sql_admin v0.6.0 GoogleApi.SQLAdmin.V1beta4.Model.ExportContext View Source

Database instance export context.

Attributes

  • csvExportOptions (ExportContextCsvExportOptions): Defaults to: null.
  • databases ([String.t]): 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: Specify exactly one database to be exported. If fileType is CSV, this database must match the database used in the csvExportOptions.selectQuery property. Defaults to: null.
  • fileType (String.t): The file type for the specified uri. SQL: The file contains SQL statements. CSV: The file contains CSV data. Defaults to: null.
  • kind (String.t): This is always sql#exportContext. Defaults to: null.
  • sqlExportOptions (ExportContextSqlExportOptions): Defaults to: null.
  • uri (String.t): 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 requests succeeds, but the operation fails. If fileType is SQL and the filename ends with .gz, the contents are compressed. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.SQLAdmin.V1beta4.Model.ExportContext{
  csvExportOptions:
    GoogleApi.SQLAdmin.V1beta4.Model.ExportContextCsvExportOptions.t(),
  databases: [any()],
  fileType: any(),
  kind: any(),
  sqlExportOptions:
    GoogleApi.SQLAdmin.V1beta4.Model.ExportContextSqlExportOptions.t(),
  uri: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.