View Source GoogleApi.SQLAdmin.V1beta4.Model.ImportContext (google_api_sql_admin v0.68.0)

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. * BAK: The file contains backup data for a SQL Server instance.
  • 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.
  • sqlImportOptions (type: GoogleApi.SQLAdmin.V1beta4.Model.ImportContextSqlImportOptions.t, default: nil) - Optional. Options for importing data from SQL statements.
  • 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.SQLAdmin.V1beta4.Model.ImportContext{
  bakImportOptions:
    GoogleApi.SQLAdmin.V1beta4.Model.ImportContextBakImportOptions.t() | nil,
  csvImportOptions:
    GoogleApi.SQLAdmin.V1beta4.Model.ImportContextCsvImportOptions.t() | nil,
  database: String.t() | nil,
  fileType: String.t() | nil,
  importUser: String.t() | nil,
  kind: String.t() | nil,
  sqlImportOptions:
    GoogleApi.SQLAdmin.V1beta4.Model.ImportContextSqlImportOptions.t() | nil,
  uri: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.