GoogleApi.AlloyDB.V1.Model.ImportClusterRequest (google_api_alloy_db v0.16.0)

View Source

Import cluster request.

Attributes

  • csvImportOptions (type: GoogleApi.AlloyDB.V1.Model.CsvImportOptions.t, default: nil) - Options for importing data in CSV format.
  • database (type: String.t, default: nil) - Optional. Name of the database to which the import will be done. For import from SQL file, this is required only if the file does not specify a database. Note - Value provided should be the same as expected from SELECT current_database(); and NOT as a resource reference.
  • gcsUri (type: String.t, default: nil) - Required. The path to the file in Google Cloud Storage where the source file for import will be stored. The URI is in the form gs://bucketName/fileName.
  • sqlImportOptions (type: GoogleApi.AlloyDB.V1.Model.SqlImportOptions.t, default: nil) - Options for importing data in SQL format.
  • user (type: String.t, default: nil) - Optional. Database user to be used for importing the data. Note - Value provided should be the same as expected from SELECT current_user; and NOT as a resource reference.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.AlloyDB.V1.Model.ImportClusterRequest{
  csvImportOptions: GoogleApi.AlloyDB.V1.Model.CsvImportOptions.t() | nil,
  database: String.t() | nil,
  gcsUri: String.t() | nil,
  sqlImportOptions: GoogleApi.AlloyDB.V1.Model.SqlImportOptions.t() | nil,
  user: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.