public class ACLService extends Object
Constructor and Description |
---|
ACLService(com.google.cloud.storage.Storage storageInstance) |
Modifier and Type | Method and Description |
---|---|
com.google.cloud.storage.Acl |
createBlobACL(com.google.cloud.storage.BlobId blobId,
com.google.cloud.storage.Acl acl) |
com.google.cloud.storage.Acl |
createBucketAcl(String bucketName,
com.google.cloud.storage.Acl acl) |
com.google.cloud.storage.Acl |
createDefaultAcl(String bucketName,
com.google.cloud.storage.Acl acl) |
Boolean |
deleteBlobAcl(com.google.cloud.storage.BlobId blobId,
com.google.cloud.storage.Acl.Entity entity) |
Boolean |
deleteBucketAcl(String bucketName,
com.google.cloud.storage.Acl.Entity entity) |
Boolean |
deleteDefaultAcl(String bucketName,
com.google.cloud.storage.Acl.Entity entity) |
List<com.google.cloud.storage.Acl> |
getBlobAcls(com.google.cloud.storage.BlobId blobid) |
List<com.google.cloud.storage.Acl> |
getBucketAcls(String bucketName) |
List<com.google.cloud.storage.Acl> |
getDefaultAcls(String bucketName) |
com.google.cloud.storage.Acl |
updateBlobAcl(com.google.cloud.storage.BlobId blobId,
com.google.cloud.storage.Acl acl) |
com.google.cloud.storage.Acl |
updateBucketAcl(String bucketName,
com.google.cloud.storage.Acl acl) |
com.google.cloud.storage.Acl |
updateDefaultAcl(String bucketName,
com.google.cloud.storage.Acl acl) |
public com.google.cloud.storage.Acl createBlobACL(com.google.cloud.storage.BlobId blobId, com.google.cloud.storage.Acl acl) throws GoogleStorageApiException
GoogleStorageApiException
public com.google.cloud.storage.Acl createBucketAcl(String bucketName, com.google.cloud.storage.Acl acl) throws GoogleStorageApiException
GoogleStorageApiException
public com.google.cloud.storage.Acl createDefaultAcl(String bucketName, com.google.cloud.storage.Acl acl) throws GoogleStorageApiException
GoogleStorageApiException
public Boolean deleteBlobAcl(com.google.cloud.storage.BlobId blobId, com.google.cloud.storage.Acl.Entity entity) throws GoogleStorageApiException
GoogleStorageApiException
public Boolean deleteBucketAcl(String bucketName, com.google.cloud.storage.Acl.Entity entity) throws GoogleStorageApiException
GoogleStorageApiException
public Boolean deleteDefaultAcl(String bucketName, com.google.cloud.storage.Acl.Entity entity) throws GoogleStorageApiException
GoogleStorageApiException
public com.google.cloud.storage.Acl updateBlobAcl(com.google.cloud.storage.BlobId blobId, com.google.cloud.storage.Acl acl) throws GoogleStorageApiException
GoogleStorageApiException
public com.google.cloud.storage.Acl updateBucketAcl(String bucketName, com.google.cloud.storage.Acl acl) throws GoogleStorageApiException
GoogleStorageApiException
public com.google.cloud.storage.Acl updateDefaultAcl(String bucketName, com.google.cloud.storage.Acl acl) throws GoogleStorageApiException
GoogleStorageApiException
public List<com.google.cloud.storage.Acl> getBlobAcls(com.google.cloud.storage.BlobId blobid) throws GoogleStorageApiException
GoogleStorageApiException
public List<com.google.cloud.storage.Acl> getBucketAcls(String bucketName) throws GoogleStorageApiException
GoogleStorageApiException
public List<com.google.cloud.storage.Acl> getDefaultAcls(String bucketName) throws GoogleStorageApiException
GoogleStorageApiException
Copyright © 2010–2018. All rights reserved.