Class InstancesRestoreBackupRequest (0.1.1)

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

Database instance restore backup request.

Attributes

Name Description
restore_backup_context google.cloud.sqladmin_v1.types.RestoreBackupContext
Parameters required to perform the restore backup operation.
backup str
The name of the backup that's used to restore a Cloud SQL instance: Format: projects/{project-id}/backups/{backup-uid}. Only one of restore_backup_context, backup, backupdr_backup can be passed to the input.
backupdr_backup str
The name of the backup that's used to restore a Cloud SQL instance: Format: "projects/{project-id}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}/backups/{backup-uid}". Only one of restore_backup_context, backup, backupdr_backup can be passed to the input.
restore_instance_settings google.cloud.sqladmin_v1.types.DatabaseInstance
Optional. By using this parameter, Cloud SQL overrides any instance settings stored in the backup you are restoring from. You can't change the instance's major database version and you can only increase the disk size. You can use this field to restore new instances only. This field is not applicable for restore to existing instances.
restore_instance_clear_overrides_field_names MutableSequence[str]
Optional. This field has the same purpose as restore_instance_settings, changes any instance settings stored in the backup you are restoring from. With the difference that these fields are cleared in the settings.