pub struct CredentialAccessBoundaryPermissions(/* private fields */);Expand description
Typed Google Cloud Storage roles supported by Credential Access Boundaries.
The CAB schema names the field availablePermissions, but it does not accept
individual storage.objects.* permission names. It accepts IAM role
identifiers prefixed with inRole:. These constants deliberately expose only
the well-known predefined Cloud Storage object roles, preventing callers from
injecting raw role identifiers or binding a grant to a mutable custom role.
Implementations§
Source§impl CredentialAccessBoundaryPermissions
impl CredentialAccessBoundaryPermissions
Sourcepub const OBJECT_VIEWER: Self
pub const OBJECT_VIEWER: Self
The predefined Storage Object Viewer role.
Sourcepub const OBJECT_CREATOR: Self
pub const OBJECT_CREATOR: Self
The predefined Storage Object Creator role.
Sourcepub const OBJECT_USER: Self
pub const OBJECT_USER: Self
The predefined Storage Object User role.
Sourcepub const OBJECT_ADMIN: Self
pub const OBJECT_ADMIN: Self
The predefined Storage Object Admin role.
Trait Implementations§
Source§impl BitOrAssign for CredentialAccessBoundaryPermissions
impl BitOrAssign for CredentialAccessBoundaryPermissions
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl Clone for CredentialAccessBoundaryPermissions
impl Clone for CredentialAccessBoundaryPermissions
Source§fn clone(&self) -> CredentialAccessBoundaryPermissions
fn clone(&self) -> CredentialAccessBoundaryPermissions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CredentialAccessBoundaryPermissions
impl Eq for CredentialAccessBoundaryPermissions
impl StructuralPartialEq for CredentialAccessBoundaryPermissions
Auto Trait Implementations§
impl Freeze for CredentialAccessBoundaryPermissions
impl RefUnwindSafe for CredentialAccessBoundaryPermissions
impl Send for CredentialAccessBoundaryPermissions
impl Sync for CredentialAccessBoundaryPermissions
impl Unpin for CredentialAccessBoundaryPermissions
impl UnsafeUnpin for CredentialAccessBoundaryPermissions
impl UnwindSafe for CredentialAccessBoundaryPermissions
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