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