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

pub struct PatchObjectAccessControlRequest {
    pub bucket: String,
    pub entity: String,
    pub object: String,
    pub generation: i64,
    pub object_access_control: Option<ObjectAccessControl>,
    pub common_request_params: Option<CommonRequestParams>,
    pub update_mask: Option<FieldMask>,
}

Request message for PatchObjectAccessControl.

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

Required. Name of the object. Required.

generation: i64

If present, selects a specific revision of this object (as opposed to the latest version, the default).

object_access_control: Option<ObjectAccessControl>

The ObjectAccessControl for updating.

common_request_params: Option<CommonRequestParams>

A set of parameters common to all Storage API requests.

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.

Trait Implementations

impl Clone for PatchObjectAccessControlRequest[src]

impl Debug for PatchObjectAccessControlRequest[src]

impl Default for PatchObjectAccessControlRequest[src]

impl Message for PatchObjectAccessControlRequest[src]

impl PartialEq<PatchObjectAccessControlRequest> for PatchObjectAccessControlRequest[src]

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