google_api_sql_admin v0.25.0 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 filescsvImportOptions
(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. IffileType
isSQL
, 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. IffileType
isCSV
, 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 alwayssql#importContext
.uri
(type:String.t
, default:nil
) - Path to the import file in Cloud Storage, in the formgs: //bucketName/fileName
. Compressed gzip files (.gz) are supported // whenfileType
isSQL
. 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
Link to this type
t()
View Sourcet() :: %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
Unwrap a decoded JSON object into its complex fields.