pub struct BucketAccessControlArgs {
pub bucket: Output<String>,
pub entity: Output<String>,
pub role: Output<Option<String>>,
}
Fields§
§bucket: Output<String>
The name of the bucket.
entity: Output<String>
The entity holding the permission, in one of the following forms: user-userId user-email group-groupId group-email domain-domain project-team-projectId allUsers allAuthenticatedUsers Examples: The user liz@example.com would be user-liz@example.com. The group example@googlegroups.com would be group-example@googlegroups.com. To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
role: Output<Option<String>>
The access permission for the entity.
Possible values are: OWNER
, READER
, WRITER
.
Implementations§
source§impl BucketAccessControlArgs
impl BucketAccessControlArgs
sourcepub fn builder() -> BucketAccessControlArgsBuilder
pub fn builder() -> BucketAccessControlArgsBuilder
Create an instance of BucketAccessControlArgs
using the builder syntax
Trait Implementations§
source§impl Clone for BucketAccessControlArgs
impl Clone for BucketAccessControlArgs
source§fn clone(&self) -> BucketAccessControlArgs
fn clone(&self) -> BucketAccessControlArgs
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for BucketAccessControlArgs
impl RefUnwindSafe for BucketAccessControlArgs
impl Send for BucketAccessControlArgs
impl Sync for BucketAccessControlArgs
impl Unpin for BucketAccessControlArgs
impl UnwindSafe for BucketAccessControlArgs
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)