pub struct RestoreDatabaseRequest {
pub backup: Option<String>,
pub database_id: Option<String>,
pub encryption_config: Option<RestoreDatabaseEncryptionConfig>,
}Expand description
The request for RestoreDatabase.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- instances databases restore projects (request)
Fields§
§backup: Option<String>Name of the backup from which to restore. Values are of the form projects//instances//backups/.
database_id: Option<String>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//instances//databases/.
encryption_config: Option<RestoreDatabaseEncryptionConfig>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.
Trait Implementations§
Source§impl Clone for RestoreDatabaseRequest
impl Clone for RestoreDatabaseRequest
Source§fn clone(&self) -> RestoreDatabaseRequest
fn clone(&self) -> RestoreDatabaseRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more