Struct google_bigtableadmin2::api::CopyBackupRequest
source · pub struct CopyBackupRequest {
pub backup_id: Option<String>,
pub expire_time: Option<DateTime<Utc>>,
pub source_backup: Option<String>,
}
Expand description
The request for CopyBackup.
§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 clusters backups copy projects (request)
Fields§
§backup_id: Option<String>
Required. The id of the new backup. The backup_id
along with parent
are combined as {parent}/backups/{backup_id} to create the full backup name, of the form: projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}
. This string must be between 1 and 50 characters in length and match the regex _a-zA-Z0-9*.
expire_time: Option<DateTime<Utc>>
Required. Required. The expiration time of the copied backup with microsecond granularity that must be at least 6 hours and at most 30 days from the time the request is received. Once the expire_time
has passed, Cloud Bigtable will delete the backup and free the resources used by the backup.
source_backup: Option<String>
Required. The source backup to be copied from. The source backup needs to be in READY state for it to be copied. Copying a copied backup is not allowed. Once CopyBackup is in progress, the source backup cannot be deleted or cleaned up on expiration until CopyBackup is finished. Values are of the form: projects//instances//clusters//backups/
.
Trait Implementations§
source§impl Clone for CopyBackupRequest
impl Clone for CopyBackupRequest
source§fn clone(&self) -> CopyBackupRequest
fn clone(&self) -> CopyBackupRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more