Struct gcs_example::storage_v1_types::ObjectsComposeParams[][src]

pub struct ObjectsComposeParams {
    pub storage_params: Option<StorageParams>,
    pub destination_bucket: String,
    pub destination_object: String,
    pub destination_predefined_acl: Option<ObjectsComposeDestinationPredefinedAcl>,
    pub if_generation_match: Option<String>,
    pub if_metageneration_match: Option<String>,
    pub kms_key_name: Option<String>,
    pub provisional_user_project: Option<String>,
    pub user_project: Option<String>,
}

Parameters for the objects.compose method.

Fields

storage_params: Option<StorageParams>

General attributes applying to any API call

destination_bucket: String

Name of the bucket containing the source objects. The destination object is stored in this bucket.

destination_object: String

Name of the new object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.

destination_predefined_acl: Option<ObjectsComposeDestinationPredefinedAcl>

Apply a predefined set of access controls to the destination object.

if_generation_match: Option<String>

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<String>

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/global/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.

provisional_user_project: Option<String>

The project to be billed for this request if the target bucket is requester-pays bucket.

user_project: Option<String>

The project to be billed for this request. Required for Requester Pays buckets.

Trait Implementations

impl Clone for ObjectsComposeParams[src]

impl Debug for ObjectsComposeParams[src]

impl Default for ObjectsComposeParams[src]

impl<'de> Deserialize<'de> for ObjectsComposeParams[src]

impl Display for ObjectsComposeParams[src]

impl Serialize for ObjectsComposeParams[src]

Auto Trait Implementations

impl RefUnwindSafe for ObjectsComposeParams

impl Send for ObjectsComposeParams

impl Sync for ObjectsComposeParams

impl Unpin for ObjectsComposeParams

impl UnwindSafe for ObjectsComposeParams

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.