[][src]Struct gcp_client::google::storage::v1::PatchBucketAccessControlRequest

pub struct PatchBucketAccessControlRequest {
    pub bucket: String,
    pub entity: String,
    pub bucket_access_control: Option<BucketAccessControl>,
    pub update_mask: Option<FieldMask>,
    pub common_request_params: Option<CommonRequestParams>,
}

Request for PatchBucketAccessControl.

Fields

bucket: String

Required. Name of a bucket.

entity: String

Required. The entity holding the permission. Can be one of:

  • user-userId
  • user-emailAddress
  • group-groupId
  • group-emailAddress
  • allUsers
  • allAuthenticatedUsers
bucket_access_control: Option<BucketAccessControl>

The BucketAccessControl for updating.

update_mask: Option<FieldMask>

List of fields to be updated.

To specify ALL fields, equivalent to the JSON API's "update" function, specify a single field with the value *.

Not specifying any fields is an error. Not specifying a field while setting that field to a non-default value is an error.

common_request_params: Option<CommonRequestParams>

A set of parameters common to all Storage API requests.

Trait Implementations

impl Clone for PatchBucketAccessControlRequest[src]

impl Debug for PatchBucketAccessControlRequest[src]

impl Default for PatchBucketAccessControlRequest[src]

impl Message for PatchBucketAccessControlRequest[src]

impl PartialEq<PatchBucketAccessControlRequest> for PatchBucketAccessControlRequest[src]

impl StructuralPartialEq for PatchBucketAccessControlRequest[src]

Auto Trait Implementations

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> From<T> for T[src]

impl<T> Instrument for T[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]