GoogleApi.Spanner.V1.Model.RestoreDatabaseRequest (google_api_spanner v0.48.0)
View SourceThe request for RestoreDatabase.
Attributes
-
backup
(type:String.t
, default:nil
) - Name of the backup from which to restore. Values are of the formprojects//instances//backups/
. -
databaseId
(type:String.t
, default:nil
) - Required. The id of the database to create and restore to. This database must not already exist. Thedatabase_id
appended toparent
forms the full database name of the formprojects//instances//databases/
. -
encryptionConfig
(type:GoogleApi.Spanner.V1.Model.RestoreDatabaseEncryptionConfig.t
, default:nil
) - Optional. An encryption configuration describing the encryption type and key resources in Cloud KMS used to encrypt/decrypt the database to restore to. If this field is not specified, the restored database will use the same encryption configuration as the backup by default, namely encryption_type =USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION
.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Spanner.V1.Model.RestoreDatabaseRequest{ backup: String.t() | nil, databaseId: String.t() | nil, encryptionConfig: GoogleApi.Spanner.V1.Model.RestoreDatabaseEncryptionConfig.t() | nil }