Class RestoreDatabaseRequest (3.33.0)

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

The request for RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase].

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
parent str
Required. The name of the instance in which to create the restored database. This instance must be in the same project and have the same instance configuration as the instance containing the source backup. Values are of the form projects/.
database_id str
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/.
backup str
Name of the backup from which to restore. Values are of the form projects/. This field is a member of oneof_ source.
encryption_config google.cloud.spanner_admin_database_v1.types.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][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] = USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION.