pub struct ComposeObjectRequest {
pub bucket: String,
pub destination_object: String,
pub destination_predefined_acl: Option<PredefinedObjectAcl>,
pub composing_targets: ComposingTargets,
pub if_generation_match: Option<i64>,
pub if_metageneration_match: Option<i64>,
pub kms_key_name: Option<String>,
pub encryption: Option<Encryption>,
}Expand description
Request message for ComposeObject.
Fields§
§bucket: StringRequired. Name of the bucket containing the source objects. The destination object is stored in this bucket.
destination_object: StringRequired. Name of the new object.
destination_predefined_acl: Option<PredefinedObjectAcl>Apply a predefined set of access controls to the destination object.
composing_targets: ComposingTargets§if_generation_match: Option<i64>Makes the operation conditional on whether the object’s current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.
if_metageneration_match: Option<i64>Makes the operation conditional on whether the object’s current metageneration matches the given value.
kms_key_name: Option<String>Resource name of the Cloud KMS key, of the form
projects/my-project/locations/my-location/keyRings/my-kr/cryptoKeys/my-key,
that will be used to encrypt the object. Overrides the object
metadata’s kms_key_name value, if any.
encryption: Option<Encryption>A set of parameters common to Storage API requests concerning an object.
Trait Implementations§
Source§impl Clone for ComposeObjectRequest
impl Clone for ComposeObjectRequest
Source§fn clone(&self) -> ComposeObjectRequest
fn clone(&self) -> ComposeObjectRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more