pub struct DatabaseMoveConfig {
pub database_id: Option<String>,
pub encryption_config: Option<InstanceEncryptionConfig>,
}Expand description
The configuration for each database in the target instance configuration.
This type is not used in any activity, and only used as part of another schema.
Fields§
§database_id: Option<String>Required. The unique identifier of the database resource in the Instance. For example, if the database uri is projects/foo/instances/bar/databases/baz, then the id to supply here is baz.
encryption_config: Option<InstanceEncryptionConfig>Optional. Encryption configuration to be used for the database in the target configuration. The encryption configuration must be specified for every database which currently uses CMEK encryption. If a database currently uses Google-managed encryption and a target encryption configuration is not specified, then the database defaults to Google-managed encryption. If a database currently uses Google-managed encryption and a target CMEK encryption is specified, the request is rejected. If a database currently uses CMEK encryption, then a target encryption configuration must be specified. You can’t move a CMEK database to a Google-managed encryption database using the MoveInstance API.
Trait Implementations§
Source§impl Clone for DatabaseMoveConfig
impl Clone for DatabaseMoveConfig
Source§fn clone(&self) -> DatabaseMoveConfig
fn clone(&self) -> DatabaseMoveConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more