google_api_spanner v0.21.3 GoogleApi.Spanner.V1.Model.RestoreDatabaseRequest View Source

The request for RestoreDatabase.

Attributes

  • backup (type: String.t, default: nil) - Name of the backup from which to restore. Values are of the form projects/<project>/instances/<instance>/backups/<backup>.
  • databaseId (type: String.t, default: nil) - Required. The id of the database to create and restore to. This database must not already exist. The database_id appended to parent forms the full database name of the form projects/<project>/instances/<instance>/databases/<database_id>.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Spanner.V1.Model.RestoreDatabaseRequest{
  backup: String.t(),
  databaseId: String.t()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.