Package | Description |
---|---|
com.google.cloud.storage.spi.v1 |
Modifier and Type | Field and Description |
---|---|
Map<StorageRpc.Option,?> |
StorageRpc.RewriteRequest.sourceOptions |
Map<StorageRpc.Option,?> |
StorageRpc.RewriteRequest.targetOptions |
Modifier and Type | Method and Description |
---|---|
static StorageRpc.Option |
StorageRpc.Option.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StorageRpc.Option[] |
StorageRpc.Option.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
RpcBatch.addDelete(com.google.api.services.storage.model.StorageObject storageObject,
RpcBatch.Callback<Void> callback,
Map<StorageRpc.Option,?> options)
Adds a call to "delete storage object" to the batch, with the provided
callback and
options . |
void |
RpcBatch.addGet(com.google.api.services.storage.model.StorageObject storageObject,
RpcBatch.Callback<com.google.api.services.storage.model.StorageObject> callback,
Map<StorageRpc.Option,?> options)
Adds a call to "get storage object" to the batch, with the provided
callback and options . |
void |
RpcBatch.addPatch(com.google.api.services.storage.model.StorageObject storageObject,
RpcBatch.Callback<com.google.api.services.storage.model.StorageObject> callback,
Map<StorageRpc.Option,?> options)
Adds a call to "patch storage object" to the batch, with the provided
callback and
options . |
com.google.api.services.storage.model.StorageObject |
HttpStorageRpc.compose(Iterable<com.google.api.services.storage.model.StorageObject> sources,
com.google.api.services.storage.model.StorageObject target,
Map<StorageRpc.Option,?> targetOptions) |
com.google.api.services.storage.model.StorageObject |
StorageRpc.compose(Iterable<com.google.api.services.storage.model.StorageObject> sources,
com.google.api.services.storage.model.StorageObject target,
Map<StorageRpc.Option,?> targetOptions)
Sends a compose request.
|
com.google.api.services.storage.model.Bucket |
HttpStorageRpc.create(com.google.api.services.storage.model.Bucket bucket,
Map<StorageRpc.Option,?> options) |
com.google.api.services.storage.model.Bucket |
StorageRpc.create(com.google.api.services.storage.model.Bucket bucket,
Map<StorageRpc.Option,?> options)
Creates a new bucket.
|
com.google.api.services.storage.model.StorageObject |
HttpStorageRpc.create(com.google.api.services.storage.model.StorageObject storageObject,
InputStream content,
Map<StorageRpc.Option,?> options) |
com.google.api.services.storage.model.StorageObject |
StorageRpc.create(com.google.api.services.storage.model.StorageObject object,
InputStream content,
Map<StorageRpc.Option,?> options)
Creates a new storage object.
|
com.google.api.services.storage.model.BucketAccessControl |
HttpStorageRpc.createAcl(com.google.api.services.storage.model.BucketAccessControl acl,
Map<StorageRpc.Option,?> options) |
com.google.api.services.storage.model.BucketAccessControl |
StorageRpc.createAcl(com.google.api.services.storage.model.BucketAccessControl acl,
Map<StorageRpc.Option,?> options)
Creates a new ACL entry on the specified bucket.
|
boolean |
HttpStorageRpc.delete(com.google.api.services.storage.model.Bucket bucket,
Map<StorageRpc.Option,?> options) |
boolean |
StorageRpc.delete(com.google.api.services.storage.model.Bucket bucket,
Map<StorageRpc.Option,?> options)
Deletes the requested bucket.
|
boolean |
HttpStorageRpc.delete(com.google.api.services.storage.model.StorageObject blob,
Map<StorageRpc.Option,?> options) |
boolean |
StorageRpc.delete(com.google.api.services.storage.model.StorageObject object,
Map<StorageRpc.Option,?> options)
Deletes the requested storage object.
|
boolean |
HttpStorageRpc.deleteAcl(String bucket,
String entity,
Map<StorageRpc.Option,?> options) |
boolean |
StorageRpc.deleteAcl(String bucket,
String entity,
Map<StorageRpc.Option,?> options)
Deletes the ACL entry for the specified entity on the specified bucket.
|
com.google.api.services.storage.model.Bucket |
HttpStorageRpc.get(com.google.api.services.storage.model.Bucket bucket,
Map<StorageRpc.Option,?> options) |
com.google.api.services.storage.model.Bucket |
StorageRpc.get(com.google.api.services.storage.model.Bucket bucket,
Map<StorageRpc.Option,?> options)
Returns the requested bucket or
null if not found. |
com.google.api.services.storage.model.StorageObject |
HttpStorageRpc.get(com.google.api.services.storage.model.StorageObject object,
Map<StorageRpc.Option,?> options) |
com.google.api.services.storage.model.StorageObject |
StorageRpc.get(com.google.api.services.storage.model.StorageObject object,
Map<StorageRpc.Option,?> options)
Returns the requested storage object or
null if not found. |
com.google.api.services.storage.model.BucketAccessControl |
HttpStorageRpc.getAcl(String bucket,
String entity,
Map<StorageRpc.Option,?> options) |
com.google.api.services.storage.model.BucketAccessControl |
StorageRpc.getAcl(String bucket,
String entity,
Map<StorageRpc.Option,?> options)
Returns the ACL entry for the specified entity on the specified bucket or
null if not
found. |
com.google.api.services.storage.model.Policy |
HttpStorageRpc.getIamPolicy(String bucket,
Map<StorageRpc.Option,?> options) |
com.google.api.services.storage.model.Policy |
StorageRpc.getIamPolicy(String bucket,
Map<StorageRpc.Option,?> options)
Returns the IAM policy for the specified bucket.
|
Tuple<String,Iterable<com.google.api.services.storage.model.Bucket>> |
HttpStorageRpc.list(Map<StorageRpc.Option,?> options) |
Tuple<String,Iterable<com.google.api.services.storage.model.Bucket>> |
StorageRpc.list(Map<StorageRpc.Option,?> options)
Lists the project's buckets.
|
Tuple<String,Iterable<com.google.api.services.storage.model.StorageObject>> |
HttpStorageRpc.list(String bucket,
Map<StorageRpc.Option,?> options) |
Tuple<String,Iterable<com.google.api.services.storage.model.StorageObject>> |
StorageRpc.list(String bucket,
Map<StorageRpc.Option,?> options)
Lists the bucket's blobs.
|
List<com.google.api.services.storage.model.BucketAccessControl> |
HttpStorageRpc.listAcls(String bucket,
Map<StorageRpc.Option,?> options) |
List<com.google.api.services.storage.model.BucketAccessControl> |
StorageRpc.listAcls(String bucket,
Map<StorageRpc.Option,?> options)
Lists the ACL entries for the provided bucket.
|
byte[] |
HttpStorageRpc.load(com.google.api.services.storage.model.StorageObject from,
Map<StorageRpc.Option,?> options) |
byte[] |
StorageRpc.load(com.google.api.services.storage.model.StorageObject storageObject,
Map<StorageRpc.Option,?> options)
Reads all the bytes from a storage object.
|
com.google.api.services.storage.model.Bucket |
HttpStorageRpc.lockRetentionPolicy(com.google.api.services.storage.model.Bucket bucket,
Map<StorageRpc.Option,?> options) |
com.google.api.services.storage.model.Bucket |
StorageRpc.lockRetentionPolicy(com.google.api.services.storage.model.Bucket bucket,
Map<StorageRpc.Option,?> options)
Lock retention policy for the provided bucket.
|
String |
HttpStorageRpc.open(com.google.api.services.storage.model.StorageObject object,
Map<StorageRpc.Option,?> options) |
String |
StorageRpc.open(com.google.api.services.storage.model.StorageObject object,
Map<StorageRpc.Option,?> options)
Opens a resumable upload channel for a given storage object.
|
com.google.api.services.storage.model.Bucket |
HttpStorageRpc.patch(com.google.api.services.storage.model.Bucket bucket,
Map<StorageRpc.Option,?> options) |
com.google.api.services.storage.model.Bucket |
StorageRpc.patch(com.google.api.services.storage.model.Bucket bucket,
Map<StorageRpc.Option,?> options)
Updates bucket information.
|
com.google.api.services.storage.model.StorageObject |
HttpStorageRpc.patch(com.google.api.services.storage.model.StorageObject storageObject,
Map<StorageRpc.Option,?> options) |
com.google.api.services.storage.model.StorageObject |
StorageRpc.patch(com.google.api.services.storage.model.StorageObject storageObject,
Map<StorageRpc.Option,?> options)
Updates the storage object's information.
|
com.google.api.services.storage.model.BucketAccessControl |
HttpStorageRpc.patchAcl(com.google.api.services.storage.model.BucketAccessControl acl,
Map<StorageRpc.Option,?> options) |
com.google.api.services.storage.model.BucketAccessControl |
StorageRpc.patchAcl(com.google.api.services.storage.model.BucketAccessControl acl,
Map<StorageRpc.Option,?> options)
Updates an ACL entry on the specified bucket.
|
Tuple<String,byte[]> |
HttpStorageRpc.read(com.google.api.services.storage.model.StorageObject from,
Map<StorageRpc.Option,?> options,
long position,
int bytes) |
Tuple<String,byte[]> |
StorageRpc.read(com.google.api.services.storage.model.StorageObject from,
Map<StorageRpc.Option,?> options,
long position,
int bytes)
Reads the given amount of bytes from a storage object at the given position.
|
com.google.api.services.storage.model.Policy |
HttpStorageRpc.setIamPolicy(String bucket,
com.google.api.services.storage.model.Policy policy,
Map<StorageRpc.Option,?> options) |
com.google.api.services.storage.model.Policy |
StorageRpc.setIamPolicy(String bucket,
com.google.api.services.storage.model.Policy policy,
Map<StorageRpc.Option,?> options)
Updates the IAM policy for the specified bucket.
|
com.google.api.services.storage.model.TestIamPermissionsResponse |
HttpStorageRpc.testIamPermissions(String bucket,
List<String> permissions,
Map<StorageRpc.Option,?> options) |
com.google.api.services.storage.model.TestIamPermissionsResponse |
StorageRpc.testIamPermissions(String bucket,
List<String> permissions,
Map<StorageRpc.Option,?> options)
Tests whether the caller holds the specified permissions for the specified bucket.
|
Constructor and Description |
---|
RewriteRequest(com.google.api.services.storage.model.StorageObject source,
Map<StorageRpc.Option,?> sourceOptions,
boolean overrideInfo,
com.google.api.services.storage.model.StorageObject target,
Map<StorageRpc.Option,?> targetOptions,
Long megabytesRewrittenPerCall) |
RewriteRequest(com.google.api.services.storage.model.StorageObject source,
Map<StorageRpc.Option,?> sourceOptions,
boolean overrideInfo,
com.google.api.services.storage.model.StorageObject target,
Map<StorageRpc.Option,?> targetOptions,
Long megabytesRewrittenPerCall) |
Copyright © 2019 Google LLC. All rights reserved.