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.