Package | Description |
---|---|
com.google.cloud.storage |
A client for Cloud Storage - Unified object storage.
|
Modifier and Type | Method and Description |
---|---|
static Storage.BucketSourceOption |
Storage.BucketSourceOption.metagenerationMatch(long metageneration)
Returns an option for bucket's metageneration match.
|
static Storage.BucketSourceOption |
Storage.BucketSourceOption.metagenerationNotMatch(long metageneration)
Returns an option for bucket's metageneration mismatch.
|
static Storage.BucketSourceOption |
Storage.BucketSourceOption.userProject(String userProject)
Returns an option for bucket's billing user project.
|
Modifier and Type | Method and Description |
---|---|
Acl |
Storage.createAcl(String bucket,
Acl acl,
Storage.BucketSourceOption... options)
Creates a new ACL entry on the specified bucket.
|
boolean |
Storage.delete(String bucket,
Storage.BucketSourceOption... options)
Deletes the requested bucket.
|
boolean |
Storage.deleteAcl(String bucket,
Acl.Entity entity,
Storage.BucketSourceOption... options)
Deletes the ACL entry for the specified entity on the specified bucket.
|
Acl |
Storage.getAcl(String bucket,
Acl.Entity entity,
Storage.BucketSourceOption... options)
Returns the ACL entry for the specified entity on the specified bucket or
null if not
found. |
com.google.cloud.Policy |
Storage.getIamPolicy(String bucket,
Storage.BucketSourceOption... options)
Gets the IAM policy for the provided bucket.
|
List<Acl> |
Storage.listAcls(String bucket,
Storage.BucketSourceOption... options)
Lists the ACL entries for the provided bucket.
|
com.google.cloud.Policy |
Storage.setIamPolicy(String bucket,
com.google.cloud.Policy policy,
Storage.BucketSourceOption... options)
Updates the IAM policy on the specified bucket.
|
List<Boolean> |
Storage.testIamPermissions(String bucket,
List<String> permissions,
Storage.BucketSourceOption... options)
Tests whether the caller holds the permissions on the specified bucket.
|
Acl |
Storage.updateAcl(String bucket,
Acl acl,
Storage.BucketSourceOption... options)
Updates an ACL entry on the specified bucket.
|
Copyright © 2019 Google LLC. All rights reserved.