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 com.google.cloud.Roleadmin()Grants the following permissions: storage.buckets.* storage.objects.*static com.google.cloud.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 com.google.cloud.RoleGrants the following permissions: storage.buckets.get storage.objects.liststatic com.google.cloud.RoleGrants the following permissions: storage.buckets.get storage.objects.list storage.objects.create storage.objects.deletestatic com.google.cloud.RoleGrants the following permissions: storage.objects.get storage.objects.update storage.objects.getIamPolicy storage.objects.setIamPolicystatic com.google.cloud.RoleGrants the following permissions: storage.objects.getstatic com.google.cloud.RoleGrants the following permissions: storage.objects.*static com.google.cloud.RoleGrants the following permissions: storage.objects.createstatic com.google.cloud.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
-