Struct google_storage1::api::BulkRestoreObjectsRequest
source · pub struct BulkRestoreObjectsRequest {
pub allow_overwrite: Option<bool>,
pub copy_source_acl: Option<bool>,
pub match_globs: Option<Vec<String>>,
pub soft_deleted_after_time: Option<DateTime<Utc>>,
pub soft_deleted_before_time: Option<DateTime<Utc>>,
}
Expand description
A bulk restore objects request.
§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).
- bulk restore objects (request)
Fields§
§allow_overwrite: Option<bool>
If false (default), the restore will not overwrite live objects with the same name at the destination. This means some deleted objects may be skipped. If true, live objects will be overwritten resulting in a noncurrent object (if versioning is enabled). If versioning is not enabled, overwriting the object will result in a soft-deleted object. In either case, if a noncurrent object already exists with the same name, a live version can be written without issue.
copy_source_acl: Option<bool>
If true, copies the source object’s ACL; otherwise, uses the bucket’s default object ACL. The default is false.
match_globs: Option<Vec<String>>
Restores only the objects matching any of the specified glob(s). If this parameter is not specified, all objects will be restored within the specified time range.
soft_deleted_after_time: Option<DateTime<Utc>>
Restores only the objects that were soft-deleted after this time.
soft_deleted_before_time: Option<DateTime<Utc>>
Restores only the objects that were soft-deleted before this time.
Trait Implementations§
source§impl Clone for BulkRestoreObjectsRequest
impl Clone for BulkRestoreObjectsRequest
source§fn clone(&self) -> BulkRestoreObjectsRequest
fn clone(&self) -> BulkRestoreObjectsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more