Class RestoreDatabaseEncryptionConfig (3.20.0)

RestoreDatabaseEncryptionConfig(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Encryption configuration for the restored database.

Attributes

NameDescription
encryption_type google.cloud.spanner_admin_database_v1.types.RestoreDatabaseEncryptionConfig.EncryptionType
Required. The encryption type of the restored database.
kms_key_name str
Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored database. This field should be set only when encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] is CUSTOMER_MANAGED_ENCRYPTION. Values are of the form projects/.

Classes

EncryptionType

EncryptionType(value)

Encryption types for the database to be restored.