Struct google_cloud_storage::http::objects::compose::ComposeObjectRequest
source · 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 moresource§impl Debug for ComposeObjectRequest
impl Debug for ComposeObjectRequest
source§impl Default for ComposeObjectRequest
impl Default for ComposeObjectRequest
source§fn default() -> ComposeObjectRequest
fn default() -> ComposeObjectRequest
source§impl<'de> Deserialize<'de> for ComposeObjectRequest
impl<'de> Deserialize<'de> for ComposeObjectRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl PartialEq<ComposeObjectRequest> for ComposeObjectRequest
impl PartialEq<ComposeObjectRequest> for ComposeObjectRequest
source§fn eq(&self, other: &ComposeObjectRequest) -> bool
fn eq(&self, other: &ComposeObjectRequest) -> bool
self and other values to be equal, and is used
by ==.source§impl Serialize for ComposeObjectRequest
impl Serialize for ComposeObjectRequest
impl Eq for ComposeObjectRequest
impl StructuralEq for ComposeObjectRequest
impl StructuralPartialEq for ComposeObjectRequest
Auto Trait Implementations§
impl RefUnwindSafe for ComposeObjectRequest
impl Send for ComposeObjectRequest
impl Sync for ComposeObjectRequest
impl Unpin for ComposeObjectRequest
impl UnwindSafe for ComposeObjectRequest
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.