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