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

pub struct PatchDefaultObjectAccessControlRequest {
    pub bucket: String,
    pub entity: String,
    pub object_access_control: Option<ObjectAccessControl>,
    pub update_mask: Option<FieldMask>,
    pub common_request_params: Option<CommonRequestParams>,
}

Request message for PatchDefaultObjectAccessControl.

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
object_access_control: Option<ObjectAccessControl>

The ObjectAccessControl 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 *. Note: not recommended. If a new field is introduced at a later time, an older client updating with the * may accidentally reset the new field's 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 PatchDefaultObjectAccessControlRequest[src]

impl Debug for PatchDefaultObjectAccessControlRequest[src]

impl Default for PatchDefaultObjectAccessControlRequest[src]

impl Message for PatchDefaultObjectAccessControlRequest[src]

impl PartialEq<PatchDefaultObjectAccessControlRequest> for PatchDefaultObjectAccessControlRequest[src]

impl StructuralPartialEq for PatchDefaultObjectAccessControlRequest[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]