pub enum StandardIamRole {
ObjectCreator,
ObjectViewer,
ObjectAdmin,
HmacKeyAdmin,
Admin,
}
Expand description
The following enum contains Cloud Identity and Access Management (Cloud IAM) roles that are associated with Cloud Storage and lists the permissions that are contained in each role. Unless otherwise noted, these roles can be applied either to entire projects or specific buckets.
Variants§
ObjectCreator
Allows users to create objects. Does not give permission to view, delete, or overwrite objects.
ObjectViewer
Grants access to view objects and their metadata, excluding ACLs.
Can also list the objects in a bucket.
ObjectAdmin
Grants full control over objects, including listing, creating, viewing, and deleting objects.
HmacKeyAdmin
Full control over HMAC keys in a project.
Admin
Grants full control of buckets and objects.
When applied to an individual bucket, control applies only to the specified bucket and objects within the bucket.
Trait Implementations§
Source§impl Debug for StandardIamRole
impl Debug for StandardIamRole
Source§impl<'de> Deserialize<'de> for StandardIamRole
impl<'de> Deserialize<'de> for StandardIamRole
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for StandardIamRole
impl PartialEq for StandardIamRole
Source§impl Serialize for StandardIamRole
impl Serialize for StandardIamRole
impl StructuralPartialEq for StandardIamRole
Auto Trait Implementations§
impl Freeze for StandardIamRole
impl RefUnwindSafe for StandardIamRole
impl Send for StandardIamRole
impl Sync for StandardIamRole
impl Unpin for StandardIamRole
impl UnwindSafe for StandardIamRole
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more