google_api_sql_admin v0.34.1 GoogleApi.SQLAdmin.V1beta4.Model.ImportContext View Source

Database instance import context.

Attributes

  • bakImportOptions (type: GoogleApi.SQLAdmin.V1beta4.Model.ImportContextBakImportOptions.t, default: nil) - Import parameters specific to SQL Server .BAK files
  • csvImportOptions (type: GoogleApi.SQLAdmin.V1beta4.Model.ImportContextCsvImportOptions.t, default: nil) - Options for importing data as CSV.
  • database (type: String.t, default: nil) - The target database for the import. If fileType is SQL, this field is required only if the import file does not specify a database, and is overridden by any database specification in the import file. If fileType is CSV, one database must be specified.
  • fileType (type: String.t, default: nil) - The file type for the specified uri. SQL: The file contains SQL statements. CSV: The file contains CSV data.
  • importUser (type: String.t, default: nil) - The PostgreSQL user for this import operation. PostgreSQL instances only.
  • kind (type: String.t, default: nil) - This is always sql#importContext.
  • uri (type: String.t, default: nil) - Path to the import file in Cloud Storage, in the form gs: //bucketName/fileName. Compressed gzip files (.gz) are supported // when fileType is SQL. The instance must have // write permissions to the bucket and read access to the file.

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.ImportContext{
  bakImportOptions:
    GoogleApi.SQLAdmin.V1beta4.Model.ImportContextBakImportOptions.t(),
  csvImportOptions:
    GoogleApi.SQLAdmin.V1beta4.Model.ImportContextCsvImportOptions.t(),
  database: String.t(),
  fileType: String.t(),
  importUser: String.t(),
  kind: String.t(),
  uri: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.