Package com.google.cloud.storage
Class StorageRoles
java.lang.Object
com.google.cloud.storage.StorageRoles
IAM roles specific to Storage. An overview of the permissions available to Storage and the
capabilities they grant can be found in the Google Cloud Storage IAM
documentation.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Roleadmin()Grants the following permissions: storage.buckets.* storage.objects.*static RoleGrants the following permissions: storage.buckets.get storage.buckets.update storage.buckets.setIamPolicy storage.buckets.getIamPolicy storage.objects.list storage.objects.create storage.objects.deletestatic RoleGrants the following permissions: storage.buckets.get storage.objects.liststatic RoleGrants the following permissions: storage.buckets.get storage.objects.list storage.objects.create storage.objects.deletestatic RoleGrants the following permissions: storage.objects.get storage.objects.update storage.objects.getIamPolicy storage.objects.setIamPolicystatic RoleGrants the following permissions: storage.objects.getstatic RoleGrants the following permissions: storage.objects.*static RoleGrants the following permissions: storage.objects.createstatic RoleGrants the following permissions: storage.objects.list storage.objects.get
-
Method Details
-
admin
Grants the following permissions:- storage.buckets.*
- storage.objects.*
-
objectViewer
Grants the following permissions:- storage.objects.list
- storage.objects.get
-
objectCreator
Grants the following permissions:- storage.objects.create
-
objectAdmin
Grants the following permissions:- storage.objects.*
-
legacyBucketOwner
Grants the following permissions:- storage.buckets.get
- storage.buckets.update
- storage.buckets.setIamPolicy
- storage.buckets.getIamPolicy
- storage.objects.list
- storage.objects.create
- storage.objects.delete
-
legacyBucketWriter
Grants the following permissions:- storage.buckets.get
- storage.objects.list
- storage.objects.create
- storage.objects.delete
-
legacyBucketReader
Grants the following permissions:- storage.buckets.get
- storage.objects.list
-
legacyObjectOwner
Grants the following permissions:- storage.objects.get
- storage.objects.update
- storage.objects.getIamPolicy
- storage.objects.setIamPolicy
-
legacyObjectReader
Grants the following permissions:- storage.objects.get
-