public class StorageRoles extends Object
Modifier and Type | Method and Description |
---|---|
static Role |
admin()
Grants the following permissions:
storage.buckets.*
storage.objects.*
|
static Role |
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
|
static Role |
legacyBucketReader()
Grants the following permissions:
storage.buckets.get
storage.objects.list
|
static Role |
legacyBucketWriter()
Grants the following permissions:
storage.buckets.get
storage.objects.list
storage.objects.create
storage.objects.delete
|
static Role |
legacyObjectOwner()
Grants the following permissions:
storage.objects.get
storage.objects.update
storage.objects.getIamPolicy
storage.objects.setIamPolicy
|
static Role |
legacyObjectReader()
Grants the following permissions:
storage.objects.get
|
static Role |
objectAdmin()
Grants the following permissions:
storage.objects.*
|
static Role |
objectCreator()
Grants the following permissions:
storage.objects.create
|
static Role |
objectViewer()
Grants the following permissions:
storage.objects.list
storage.objects.get
|
public static Role admin()
public static Role objectViewer()
public static Role objectCreator()
public static Role objectAdmin()
public static Role legacyBucketOwner()
public static Role legacyBucketWriter()
public static Role legacyBucketReader()
public static Role legacyObjectOwner()
public static Role legacyObjectReader()
Copyright © 2019 Google LLC. All rights reserved.