pub struct ObjectAccessControlArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> ObjectAccessControlArgsBuilder<S>
impl<S: State> ObjectAccessControlArgsBuilder<S>
sourcepub fn build_struct(self) -> ObjectAccessControlArgswhere
S: IsComplete,
pub fn build_struct(self) -> ObjectAccessControlArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn bucket(
self,
value: impl Into<Output<String>>,
) -> ObjectAccessControlArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
pub fn bucket(
self,
value: impl Into<Output<String>>,
) -> ObjectAccessControlArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
Required.
The name of the bucket.
sourcepub fn entity(
self,
value: impl Into<Output<String>>,
) -> ObjectAccessControlArgsBuilder<SetEntity<S>>where
S::Entity: IsUnset,
pub fn entity(
self,
value: impl Into<Output<String>>,
) -> ObjectAccessControlArgsBuilder<SetEntity<S>>where
S::Entity: IsUnset,
Required.
The entity holding the permission, in one of the following forms:
- user-{{userId}}
- user-{{email}} (such as “user-liz@example.com”)
- group-{{groupId}}
- group-{{email}} (such as “group-example@googlegroups.com”)
- domain-{{domain}} (such as “domain-example.com”)
- project-team-{{projectId}}
- allUsers
- allAuthenticatedUsers
Auto Trait Implementations§
impl<S> Freeze for ObjectAccessControlArgsBuilder<S>
impl<S> RefUnwindSafe for ObjectAccessControlArgsBuilder<S>
impl<S> Send for ObjectAccessControlArgsBuilder<S>
impl<S> Sync for ObjectAccessControlArgsBuilder<S>
impl<S> Unpin for ObjectAccessControlArgsBuilder<S>
impl<S> UnwindSafe for ObjectAccessControlArgsBuilder<S>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more