pub struct DefaultObjectAccessControlArgs {
pub bucket: Output<String>,
pub entity: Output<String>,
pub object: Output<Option<String>>,
pub role: Output<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}} (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
object: Output<Option<String>>
The name of the object, if applied to an object.
role: Output<String>
The access permission for the entity.
Possible values are: OWNER
, READER
.
Implementations§
source§impl DefaultObjectAccessControlArgs
impl DefaultObjectAccessControlArgs
sourcepub fn builder() -> DefaultObjectAccessControlArgsBuilder
pub fn builder() -> DefaultObjectAccessControlArgsBuilder
Create an instance of DefaultObjectAccessControlArgs
using the builder syntax
Trait Implementations§
source§impl Clone for DefaultObjectAccessControlArgs
impl Clone for DefaultObjectAccessControlArgs
source§fn clone(&self) -> DefaultObjectAccessControlArgs
fn clone(&self) -> DefaultObjectAccessControlArgs
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 DefaultObjectAccessControlArgs
impl RefUnwindSafe for DefaultObjectAccessControlArgs
impl Send for DefaultObjectAccessControlArgs
impl Sync for DefaultObjectAccessControlArgs
impl Unpin for DefaultObjectAccessControlArgs
impl UnwindSafe for DefaultObjectAccessControlArgs
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
)