Skip navigation links
A B C D E F G H I K L M N O P R S T U V W 

A

Acl - Class in com.google.cloud.storage
Access Control List for buckets or blobs.
Acl.Builder - Class in com.google.cloud.storage
Builder for Acl objects.
Acl.Domain - Class in com.google.cloud.storage
Class for ACL Domain entities.
Acl.Entity - Class in com.google.cloud.storage
Base class for Access Control List entities.
Acl.Entity.Type - Enum in com.google.cloud.storage
 
Acl.Group - Class in com.google.cloud.storage
Class for ACL Group entities.
Acl.Project - Class in com.google.cloud.storage
Class for ACL Project entities.
Acl.Project.ProjectRole - Class in com.google.cloud.storage
 
Acl.RawEntity - Class in com.google.cloud.storage
 
Acl.Role - Class in com.google.cloud.storage
 
Acl.User - Class in com.google.cloud.storage
Class for ACL User entities.
addAclCondition(PostPolicyV4.ConditionV4Type, String) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
 
addBucketCondition(PostPolicyV4.ConditionV4Type, String) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
 
addCacheControlCondition(PostPolicyV4.ConditionV4Type, String) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
 
addContentDispositionCondition(PostPolicyV4.ConditionV4Type, String) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
 
addContentEncodingCondition(PostPolicyV4.ConditionV4Type, String) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
 
addContentLengthCondition(PostPolicyV4.ConditionV4Type, int) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
Deprecated.
Invocation of this method has no effect. Use PostPolicyV4.PostConditionsV4.Builder.addContentLengthRangeCondition(int, int) to specify a range for the content-length.
addContentLengthRangeCondition(int, int) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
 
addContentTypeCondition(PostPolicyV4.ConditionV4Type, String) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
 
AddCustomMetadataField(String, String) - Method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4.Builder
addDelete(StorageObject, RpcBatch.Callback<Void>, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.RpcBatch
Adds a call to "delete storage object" to the batch, with the provided callback and options.
addExpiresCondition(PostPolicyV4.ConditionV4Type, long) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
addExpiresCondition(PostPolicyV4.ConditionV4Type, String) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
addExpiresCondition(long) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
 
addExpiresCondition(String) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
 
addGet(StorageObject, RpcBatch.Callback<StorageObject>, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.RpcBatch
Adds a call to "get storage object" to the batch, with the provided callback and options.
addKeyCondition(PostPolicyV4.ConditionV4Type, String) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
 
addPatch(StorageObject, RpcBatch.Callback<StorageObject>, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.RpcBatch
Adds a call to "patch storage object" to the batch, with the provided callback and options.
addSource(Iterable<String>) - Method in class com.google.cloud.storage.Storage.ComposeRequest.Builder
Add source blobs for compose operation.
addSource(String...) - Method in class com.google.cloud.storage.Storage.ComposeRequest.Builder
Add source blobs for compose operation.
addSource(String, long) - Method in class com.google.cloud.storage.Storage.ComposeRequest.Builder
Add a source with a specific generation to match.
addSuccessActionRedirectUrlCondition(PostPolicyV4.ConditionV4Type, String) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
 
addSuccessActionStatusCondition(PostPolicyV4.ConditionV4Type, int) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
addSuccessActionStatusCondition(int) - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
 
admin() - Static method in class com.google.cloud.storage.StorageRoles
Grants the following permissions: storage.buckets.* storage.objects.*
AgeDeleteRule(int) - Constructor for class com.google.cloud.storage.BucketInfo.AgeDeleteRule
Deprecated.
Creates an AgeDeleteRule object.
any() - Static method in class com.google.cloud.storage.Cors.Origin
Returns an Origin object for all possible origins.
ARCHIVE - Static variable in class com.google.cloud.storage.StorageClass
Archive storage class.

B

batch() - Method in interface com.google.cloud.storage.Storage
Creates a new empty batch for grouping multiple service calls in one underlying RPC call.
Blob - Class in com.google.cloud.storage
An object in Google Cloud Storage.
Blob.BlobSourceOption - Class in com.google.cloud.storage
Class for specifying blob source options when Blob methods are used.
Blob.Builder - Class in com.google.cloud.storage
Builder for Blob.
BlobId - Class in com.google.cloud.storage
Google Storage Object identifier.
BlobInfo - Class in com.google.cloud.storage
Information about an object in Google Cloud Storage.
BlobInfo.Builder - Class in com.google.cloud.storage
Builder for BlobInfo.
BlobInfo.CustomerEncryption - Class in com.google.cloud.storage
Objects of this class hold information on the customer-supplied encryption key, if the blob is encrypted using such a key.
BlobInfo.ImmutableEmptyMap<K,V> - Class in com.google.cloud.storage
This class is meant for internal use only.
blobSize - Variable in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteResponse
 
Bucket - Class in com.google.cloud.storage
A Google cloud storage bucket.
Bucket.BlobTargetOption - Class in com.google.cloud.storage
Class for specifying blob target options when Bucket methods are used.
Bucket.BlobWriteOption - Class in com.google.cloud.storage
Class for specifying blob write options when Bucket methods are used.
Bucket.BucketSourceOption - Class in com.google.cloud.storage
Class for specifying bucket source options when Bucket methods are used.
Bucket.Builder - Class in com.google.cloud.storage
Builder for Bucket.
BucketInfo - Class in com.google.cloud.storage
Google Storage bucket metadata;
BucketInfo.AgeDeleteRule - Class in com.google.cloud.storage
Deprecated.
Use a LifecycleRule with a DeleteLifecycleAction and use LifecycleCondition.Builder.setAge instead.

For example, new DeleteLifecycleAction(1) is equivalent to new LifecycleRule( LifecycleAction.newDeleteAction(), LifecycleCondition.newBuilder().setAge(1).build()))

BucketInfo.Builder - Class in com.google.cloud.storage
Builder for BucketInfo.
BucketInfo.CreatedBeforeDeleteRule - Class in com.google.cloud.storage
Deprecated.
Use a LifecycleRule with an action DeleteLifecycleAction and a condition LifecycleCondition.Builder.setCreatedBefore instead.
BucketInfo.DeleteRule - Class in com.google.cloud.storage
Deprecated.
Use a LifecycleRule with a DeleteLifecycleAction and a LifecycleCondition which is equivalent to a subclass of DeleteRule instead.
BucketInfo.DeleteRule.Type - Enum in com.google.cloud.storage
Deprecated.
 
BucketInfo.IamConfiguration - Class in com.google.cloud.storage
The Bucket's IAM Configuration.
BucketInfo.IamConfiguration.Builder - Class in com.google.cloud.storage
Builder for IamConfiguration
BucketInfo.IsLiveDeleteRule - Class in com.google.cloud.storage
Deprecated.
Use a LifecycleRule with a DeleteLifecycleAction and a condition LifecycleCondition.Builder.setIsLive instead.
BucketInfo.LifecycleRule - Class in com.google.cloud.storage
Lifecycle rule for a bucket.
BucketInfo.LifecycleRule.DeleteLifecycleAction - Class in com.google.cloud.storage
 
BucketInfo.LifecycleRule.LifecycleAction - Class in com.google.cloud.storage
Base class for the Action to take when a Lifecycle Condition is met.
BucketInfo.LifecycleRule.LifecycleCondition - Class in com.google.cloud.storage
Condition for a Lifecycle rule, specifies under what criteria an Action should be executed.
BucketInfo.LifecycleRule.LifecycleCondition.Builder - Class in com.google.cloud.storage
Builder for LifecycleCondition.
BucketInfo.LifecycleRule.SetStorageClassLifecycleAction - Class in com.google.cloud.storage
 
BucketInfo.Logging - Class in com.google.cloud.storage
The bucket's logging configuration, which defines the destination bucket and optional name prefix for the current bucket's logs.
BucketInfo.Logging.Builder - Class in com.google.cloud.storage
 
BucketInfo.NumNewerVersionsDeleteRule - Class in com.google.cloud.storage
Deprecated.
Use a LifecycleRule with a DeleteLifecycleAction and a condition LifecycleCondition.Builder.setNumberOfNewerVersions instead.
build() - Method in class com.google.cloud.storage.Acl.Builder
Creates an Acl object from this builder.
build() - Method in class com.google.cloud.storage.Blob.Builder
 
build() - Method in class com.google.cloud.storage.BlobInfo.Builder
Creates a BlobInfo object.
build() - Method in class com.google.cloud.storage.Bucket.Builder
 
build() - Method in class com.google.cloud.storage.BucketInfo.Builder
Creates a BucketInfo object.
build() - Method in class com.google.cloud.storage.BucketInfo.IamConfiguration.Builder
Builds an IamConfiguration object
build() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition.Builder
Builds a LifecycleCondition object.
build() - Method in class com.google.cloud.storage.BucketInfo.Logging.Builder
Builds an Logging object
build() - Method in class com.google.cloud.storage.Cors.Builder
Creates a CORS configuration.
build() - Method in class com.google.cloud.storage.HmacKey.Builder
Creates an HmacKey object from this builder.
build() - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata.Builder
Creates an HmacKeyMetadata object from this builder.
build() - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
 
build() - Method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4.Builder
 
build() - Method in class com.google.cloud.storage.SignatureInfo.Builder
Creates an SignatureInfo object from this builder.
build() - Method in class com.google.cloud.storage.Storage.ComposeRequest.Builder
Creates a ComposeRequest object.
build() - Method in class com.google.cloud.storage.Storage.CopyRequest.Builder
Creates a CopyRequest object.
build() - Method in class com.google.cloud.storage.StorageOptions.Builder
 
Builder() - Constructor for class com.google.cloud.storage.BlobInfo.Builder
 
Builder() - Constructor for class com.google.cloud.storage.BucketInfo.IamConfiguration.Builder
 
Builder() - Constructor for class com.google.cloud.storage.BucketInfo.Logging.Builder
 
Builder(HttpMethod, long, URI) - Constructor for class com.google.cloud.storage.SignatureInfo.Builder
Constructs builder.
Builder(SignatureInfo) - Constructor for class com.google.cloud.storage.SignatureInfo.Builder
 
Builder() - Constructor for class com.google.cloud.storage.Storage.ComposeRequest.Builder
 
Builder() - Constructor for class com.google.cloud.storage.Storage.CopyRequest.Builder
 

C

CanonicalExtensionHeadersSerializer - Class in com.google.cloud.storage
Canonical extension header serializer.
CanonicalExtensionHeadersSerializer(Storage.SignUrlOption.SignatureVersion) - Constructor for class com.google.cloud.storage.CanonicalExtensionHeadersSerializer
 
CanonicalExtensionHeadersSerializer() - Constructor for class com.google.cloud.storage.CanonicalExtensionHeadersSerializer
 
capture() - Method in class com.google.cloud.storage.CopyWriter
 
cleanBuckets(Storage, long, long) - Static method in class com.google.cloud.storage.testing.RemoteStorageHelper
 
COLDLINE - Static variable in class com.google.cloud.storage.StorageClass
Coldline storage class.
com.google.cloud.storage - package com.google.cloud.storage
A client for Cloud Storage - Unified object storage.
com.google.cloud.storage.spi - package com.google.cloud.storage.spi
 
com.google.cloud.storage.spi.v1 - package com.google.cloud.storage.spi.v1
 
com.google.cloud.storage.testing - package com.google.cloud.storage.testing
A testing helper for Google Cloud Storage.
COMPONENT_SEPARATOR - Static variable in class com.google.cloud.storage.SignatureInfo
 
compose(Iterable<StorageObject>, StorageObject, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
compose(Iterable<StorageObject>, StorageObject, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Sends a compose request.
compose(Storage.ComposeRequest) - Method in interface com.google.cloud.storage.Storage
Sends a compose request.
compose(Iterable<StorageObject>, StorageObject, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
constructUnsignedPayload() - Method in class com.google.cloud.storage.SignatureInfo
Constructs payload to be signed.
constructV2QueryString() - Method in class com.google.cloud.storage.SignatureInfo
Returns a query string constructed from this object's stored query parameters, sorted in code point order.
constructV4QueryString() - Method in class com.google.cloud.storage.SignatureInfo
Returns a query string constructed from this object's stored query parameters, sorted in code point order so that the query string can be used in a V4 canonical request string.
continueRewrite(StorageRpc.RewriteResponse) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
continueRewrite(StorageRpc.RewriteResponse) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Continues rewriting on an already open rewrite channel.
continueRewrite(StorageRpc.RewriteResponse) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
copy(Storage.CopyRequest) - Method in interface com.google.cloud.storage.Storage
Sends a copy request.
copyChunk() - Method in class com.google.cloud.storage.CopyWriter
Copies the next chunk of the blob.
copyTo(BlobId, Blob.BlobSourceOption...) - Method in class com.google.cloud.storage.Blob
Sends a copy request for the current blob to the target blob.
copyTo(String, Blob.BlobSourceOption...) - Method in class com.google.cloud.storage.Blob
Sends a copy request for the current blob to the target bucket, preserving its name.
copyTo(String, String, Blob.BlobSourceOption...) - Method in class com.google.cloud.storage.Blob
Sends a copy request for the current blob to the target blob.
CopyWriter - Class in com.google.cloud.storage
Google Storage blob copy writer.
Cors - Class in com.google.cloud.storage
Cross-Origin Resource Sharing (CORS) configuration for a bucket.
Cors.Builder - Class in com.google.cloud.storage
CORS configuration builder.
Cors.Origin - Class in com.google.cloud.storage
Class for a CORS origin.
crc32cMatch(String) - Static method in class com.google.cloud.storage.Bucket.BlobWriteOption
Returns an option for blob's data CRC32C checksum match.
crc32cMatch() - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
Returns an option for blob's data CRC32C checksum match.
create(String, byte[], String, Bucket.BlobTargetOption...) - Method in class com.google.cloud.storage.Bucket
Creates a new blob in this bucket.
create(String, InputStream, String, Bucket.BlobWriteOption...) - Method in class com.google.cloud.storage.Bucket
Creates a new blob in this bucket.
create(String, byte[], Bucket.BlobTargetOption...) - Method in class com.google.cloud.storage.Bucket
Creates a new blob in this bucket.
create(String, InputStream, Bucket.BlobWriteOption...) - Method in class com.google.cloud.storage.Bucket
Creates a new blob in this bucket.
create(Bucket, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
create(StorageObject, InputStream, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
create(Bucket, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Creates a new bucket.
create(StorageObject, InputStream, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Creates a new storage object.
create(BucketInfo, Storage.BucketTargetOption...) - Method in interface com.google.cloud.storage.Storage
Creates a new bucket.
create(BlobInfo, Storage.BlobTargetOption...) - Method in interface com.google.cloud.storage.Storage
Creates a new blob with no content.
create(BlobInfo, byte[], Storage.BlobTargetOption...) - Method in interface com.google.cloud.storage.Storage
Creates a new blob.
create(BlobInfo, byte[], int, int, Storage.BlobTargetOption...) - Method in interface com.google.cloud.storage.Storage
Creates a new blob with the sub array of the given byte array.
create(BlobInfo, InputStream, Storage.BlobWriteOption...) - Method in interface com.google.cloud.storage.Storage
Deprecated.
create(StorageOptions) - Method in class com.google.cloud.storage.StorageOptions.DefaultStorageFactory
 
create(StorageOptions) - Method in class com.google.cloud.storage.StorageOptions.DefaultStorageRpcFactory
 
create(String, InputStream) - Static method in class com.google.cloud.storage.testing.RemoteStorageHelper
Creates a RemoteStorageHelper object for the given project id and JSON key input stream.
create() - Static method in class com.google.cloud.storage.testing.RemoteStorageHelper
Creates a RemoteStorageHelper object using default project id and authentication credentials.
create(Bucket, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
create(StorageObject, InputStream, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
createAcl(Acl) - Method in class com.google.cloud.storage.Blob
Creates a new ACL entry on this blob.
createAcl(Acl) - Method in class com.google.cloud.storage.Bucket
Creates a new ACL entry on this bucket.
createAcl(BucketAccessControl, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
createAcl(ObjectAccessControl) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
createAcl(BucketAccessControl, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Creates a new ACL entry on the specified bucket.
createAcl(ObjectAccessControl) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Creates a new ACL entry on the specified object.
createAcl(String, Acl, Storage.BucketSourceOption...) - Method in interface com.google.cloud.storage.Storage
Creates a new ACL entry on the specified bucket.
createAcl(String, Acl) - Method in interface com.google.cloud.storage.Storage
 
createAcl(BlobId, Acl) - Method in interface com.google.cloud.storage.Storage
Creates a new ACL entry on the specified blob.
createAcl(BucketAccessControl, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
createAcl(ObjectAccessControl) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
createBatch() - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
createBatch() - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Creates an empty batch.
createBatch() - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
CreatedBeforeDeleteRule(long) - Constructor for class com.google.cloud.storage.BucketInfo.CreatedBeforeDeleteRule
Deprecated.
Creates an CreatedBeforeDeleteRule object.
createDefaultAcl(Acl) - Method in class com.google.cloud.storage.Bucket
Creates a new default blob ACL entry on this bucket.
createDefaultAcl(ObjectAccessControl) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
createDefaultAcl(ObjectAccessControl) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Creates a new default object ACL entry on the specified bucket.
createDefaultAcl(String, Acl) - Method in interface com.google.cloud.storage.Storage
Creates a new default blob ACL entry on the specified bucket.
createDefaultAcl(ObjectAccessControl) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
createFrom(BlobInfo, Path, Storage.BlobWriteOption...) - Method in interface com.google.cloud.storage.Storage
createFrom(BlobInfo, Path, int, Storage.BlobWriteOption...) - Method in interface com.google.cloud.storage.Storage
createFrom(BlobInfo, InputStream, Storage.BlobWriteOption...) - Method in interface com.google.cloud.storage.Storage
Reads bytes from an input stream and uploads those bytes to the blob using Storage.writer(com.google.cloud.storage.BlobInfo, com.google.cloud.storage.Storage.BlobWriteOption...).
createFrom(BlobInfo, InputStream, int, Storage.BlobWriteOption...) - Method in interface com.google.cloud.storage.Storage
Reads bytes from an input stream and uploads those bytes to the blob using Storage.writer(com.google.cloud.storage.BlobInfo, com.google.cloud.storage.Storage.BlobWriteOption...) and bufferSize.
createHmacKey(String, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
createHmacKey(String, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Creates a new HMAC key for the provided service account email.
createHmacKey(ServiceAccount, Storage.CreateHmacKeyOption...) - Method in interface com.google.cloud.storage.Storage
Creates a new HMAC Key for the provided service account, including the secret key.
createHmacKey(String, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
createNotification(String, Notification) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
createNotification(String, Notification) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Creates a notification with the specified entity on the specified bucket.
createNotification(String, Notification) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
currentDirectory() - Static method in class com.google.cloud.storage.Storage.BlobListOption
If specified, results are returned in a directory-like mode.

D

decryptionKey(Key) - Static method in class com.google.cloud.storage.Blob.BlobSourceOption
Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.
decryptionKey(String) - Static method in class com.google.cloud.storage.Blob.BlobSourceOption
Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.
decryptionKey(Key) - Static method in class com.google.cloud.storage.Storage.BlobGetOption
Returns an option to set a customer-supplied AES256 key for server-side decryption of the blob.
decryptionKey(String) - Static method in class com.google.cloud.storage.Storage.BlobGetOption
Returns an option to set a customer-supplied AES256 key for server-side decryption of the blob.
decryptionKey(Key) - Static method in class com.google.cloud.storage.Storage.BlobSourceOption
Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.
decryptionKey(String) - Static method in class com.google.cloud.storage.Storage.BlobSourceOption
Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.
DEFAULT_PROJECTION - Static variable in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
DefaultStorageFactory() - Constructor for class com.google.cloud.storage.StorageOptions.DefaultStorageFactory
 
DefaultStorageRpcFactory() - Constructor for class com.google.cloud.storage.StorageOptions.DefaultStorageRpcFactory
 
delete(Blob.BlobSourceOption...) - Method in class com.google.cloud.storage.Blob
Deletes this blob.
delete(Bucket.BucketSourceOption...) - Method in class com.google.cloud.storage.Bucket
Deletes this bucket.
DELETE - Static variable in class com.google.cloud.storage.HttpMethod
 
delete(Bucket, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
delete(StorageObject, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
delete(Bucket, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Deletes the requested bucket.
delete(StorageObject, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Deletes the requested storage object.
delete(String, Storage.BucketSourceOption...) - Method in interface com.google.cloud.storage.Storage
Deletes the requested bucket.
delete(String, String, Storage.BlobSourceOption...) - Method in interface com.google.cloud.storage.Storage
Deletes the requested blob.
delete(BlobId, Storage.BlobSourceOption...) - Method in interface com.google.cloud.storage.Storage
Deletes the requested blob.
delete(BlobId) - Method in interface com.google.cloud.storage.Storage
Deletes the requested blob.
delete(BlobId...) - Method in interface com.google.cloud.storage.Storage
Deletes the requested blobs.
delete(Iterable<BlobId>) - Method in interface com.google.cloud.storage.Storage
Deletes the requested blobs.
delete(String, String, Storage.BlobSourceOption...) - Method in class com.google.cloud.storage.StorageBatch
Adds a request representing the "delete blob" operation to this batch.
delete(BlobId, Storage.BlobSourceOption...) - Method in class com.google.cloud.storage.StorageBatch
Adds a request representing the "delete blob" operation to this batch.
delete(Bucket, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
delete(StorageObject, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
deleteAcl(Acl.Entity) - Method in class com.google.cloud.storage.Blob
Deletes the ACL entry for the specified entity on this blob.
deleteAcl(Acl.Entity) - Method in class com.google.cloud.storage.Bucket
Deletes the ACL entry for the specified entity on this bucket.
deleteAcl(String, String, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
deleteAcl(String, String, Long, String) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
deleteAcl(String, String, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Deletes the ACL entry for the specified entity on the specified bucket.
deleteAcl(String, String, Long, String) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Deletes the ACL entry for the specified entity on the specified object.
deleteAcl(String, Acl.Entity, Storage.BucketSourceOption...) - Method in interface com.google.cloud.storage.Storage
Deletes the ACL entry for the specified entity on the specified bucket.
deleteAcl(String, Acl.Entity) - Method in interface com.google.cloud.storage.Storage
 
deleteAcl(BlobId, Acl.Entity) - Method in interface com.google.cloud.storage.Storage
Deletes the ACL entry for the specified entity on the specified blob.
deleteAcl(String, String, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
deleteAcl(String, String, Long, String) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
deleteDefaultAcl(Acl.Entity) - Method in class com.google.cloud.storage.Bucket
Deletes the default object ACL entry for the specified entity on this bucket.
deleteDefaultAcl(String, String) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
deleteDefaultAcl(String, String) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Deletes the default object ACL entry for the specified entity on the specified bucket.
deleteDefaultAcl(String, Acl.Entity) - Method in interface com.google.cloud.storage.Storage
Deletes the default object ACL entry for the specified entity on the specified bucket.
deleteDefaultAcl(String, String) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
deleteHmacKey(HmacKeyMetadata, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
deleteHmacKey(HmacKeyMetadata, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Deletes the HMAC key associated with the provided metadata object.
deleteHmacKey(HmacKey.HmacKeyMetadata, Storage.DeleteHmacKeyOption...) - Method in interface com.google.cloud.storage.Storage
Deletes an HMAC key.
deleteHmacKey(HmacKeyMetadata, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
deleteLifecycleRules() - Method in class com.google.cloud.storage.Bucket.Builder
 
deleteLifecycleRules() - Method in class com.google.cloud.storage.BucketInfo.Builder
Deletes the lifecycle rules of this bucket.
deleteNotification(String, String) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
deleteNotification(String, String) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Deletes the notification with the specified name on the specified object.
deleteNotification(String, String) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
delimiter(String) - Static method in class com.google.cloud.storage.Storage.BlobListOption
Returns an option to set a delimiter.
detectContentType() - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
Returns an option for detecting content type.
detectContentType() - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
Returns an option for detecting content type.
disableGzipContent() - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
Returns an option for blob's data disabledGzipContent.
disableGzipContent() - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
Returns an option that signals automatic gzip compression should not be performed en route to the bucket.
doesNotExist() - Static method in class com.google.cloud.storage.Bucket.BlobTargetOption
Returns an option that causes an operation to succeed only if the target blob does not exist.
doesNotExist() - Static method in class com.google.cloud.storage.Bucket.BlobWriteOption
Returns an option that causes an operation to succeed only if the target blob does not exist.
doesNotExist() - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
Returns an option that causes an operation to succeed only if the target blob does not exist.
doesNotExist() - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
Returns an option that causes an operation to succeed only if the target blob does not exist.
Domain(String) - Constructor for class com.google.cloud.storage.Acl.Domain
Creates a domain entity.
downloadTo(Path, Blob.BlobSourceOption...) - Method in class com.google.cloud.storage.Blob
Downloads this blob to the given file path using specified blob read options.
downloadTo(OutputStream, Blob.BlobSourceOption...) - Method in class com.google.cloud.storage.Blob
Downloads this blob to the given output stream using specified blob read options.
downloadTo(Path) - Method in class com.google.cloud.storage.Blob
Downloads this blob to the given file path.
DURABLE_REDUCED_AVAILABILITY - Static variable in class com.google.cloud.storage.StorageClass
Legacy Durable Reduced Availability storage class, use StorageClass.STANDARD instead.

E

EDITORS - Static variable in class com.google.cloud.storage.Acl.Project.ProjectRole
 
encryptionKey(Key) - Static method in class com.google.cloud.storage.Bucket.BlobTargetOption
Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.
encryptionKey(String) - Static method in class com.google.cloud.storage.Bucket.BlobTargetOption
Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.
encryptionKey(Key) - Static method in class com.google.cloud.storage.Bucket.BlobWriteOption
Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.
encryptionKey(String) - Static method in class com.google.cloud.storage.Bucket.BlobWriteOption
Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.
encryptionKey(Key) - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.
encryptionKey(String) - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.
encryptionKey(Key) - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.
encryptionKey(String) - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.
endOffset(String) - Static method in class com.google.cloud.storage.Storage.BlobListOption
Returns an option to set a endOffset to filter results to objects whose names are lexicographically before endOffset.
entrySet() - Method in class com.google.cloud.storage.BlobInfo.ImmutableEmptyMap
 
equals(Object) - Method in class com.google.cloud.storage.Acl.Entity
 
equals(Object) - Method in class com.google.cloud.storage.Acl
 
equals(Object) - Method in class com.google.cloud.storage.Blob
Returns true if obj instance Blob.toPb() metadata representation and Blob.options instance of StorageOptions are both equal.
equals(Object) - Method in class com.google.cloud.storage.BlobId
 
equals(Object) - Method in class com.google.cloud.storage.BlobInfo.CustomerEncryption
 
equals(Object) - Method in class com.google.cloud.storage.BlobInfo
 
equals(Object) - Method in class com.google.cloud.storage.Bucket.BlobWriteOption
 
equals(Object) - Method in class com.google.cloud.storage.Bucket
 
equals(Object) - Method in class com.google.cloud.storage.BucketInfo.DeleteRule
Deprecated.
 
equals(Object) - Method in class com.google.cloud.storage.BucketInfo
 
equals(Object) - Method in class com.google.cloud.storage.BucketInfo.IamConfiguration
 
equals(Object) - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule
 
equals(Object) - Method in class com.google.cloud.storage.BucketInfo.Logging
 
equals(Object) - Method in class com.google.cloud.storage.Cors
 
equals(Object) - Method in class com.google.cloud.storage.Cors.Origin
 
equals(Object) - Method in class com.google.cloud.storage.HmacKey
 
equals(Object) - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata
 
equals(Object) - Method in class com.google.cloud.storage.Option
 
equals(Object) - Method in class com.google.cloud.storage.PostPolicyV4.ConditionV4
 
equals(Object) - Method in class com.google.cloud.storage.ServiceAccount
 
equals(Object) - Method in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteRequest
 
equals(Object) - Method in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteResponse
 
equals(Object) - Method in class com.google.cloud.storage.Storage.BlobWriteOption
 
equals(Object) - Method in class com.google.cloud.storage.StorageOptions
 
error(StorageException) - Method in class com.google.cloud.storage.StorageBatchResult
 
exists(Blob.BlobSourceOption...) - Method in class com.google.cloud.storage.Blob
Checks if this blob exists.
exists(Bucket.BucketSourceOption...) - Method in class com.google.cloud.storage.Bucket
Checks if this bucket exists.
Expires(String) - Method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4.Builder

F

fields(Storage.BlobField...) - Static method in class com.google.cloud.storage.Storage.BlobGetOption
Returns an option to specify the blob's fields to be returned by the RPC call.
fields(Storage.BlobField...) - Static method in class com.google.cloud.storage.Storage.BlobListOption
Returns an option to specify the blob's fields to be returned by the RPC call.
fields(Storage.BucketField...) - Static method in class com.google.cloud.storage.Storage.BucketGetOption
Returns an option to specify the bucket's fields to be returned by the RPC call.
fields(Storage.BucketField...) - Static method in class com.google.cloud.storage.Storage.BucketListOption
Returns an option to specify the bucket's fields to be returned by the RPC call.
forceDelete(Storage, String, long, TimeUnit) - Static method in class com.google.cloud.storage.testing.RemoteStorageHelper
Deletes a bucket, even if non-empty.
forceDelete(Storage, String, long, TimeUnit, String) - Static method in class com.google.cloud.storage.testing.RemoteStorageHelper
Deletes a bucket, even if non-empty.
forceDelete(Storage, String) - Static method in class com.google.cloud.storage.testing.RemoteStorageHelper
Deletes a bucket, even if non-empty.

G

generateBucketName() - Static method in class com.google.cloud.storage.testing.RemoteStorageHelper
Returns a bucket name generated using a random UUID.
generateSignedPostPolicyV4(BlobInfo, long, TimeUnit, PostPolicyV4.PostFieldsV4, PostPolicyV4.PostConditionsV4, Storage.PostPolicyV4Option...) - Method in interface com.google.cloud.storage.Storage
Generates a URL and a map of fields that can be specified in an HTML form to submit a POST request.
generateSignedPostPolicyV4(BlobInfo, long, TimeUnit, PostPolicyV4.PostFieldsV4, Storage.PostPolicyV4Option...) - Method in interface com.google.cloud.storage.Storage
Generates a presigned post policy without any conditions.
generateSignedPostPolicyV4(BlobInfo, long, TimeUnit, PostPolicyV4.PostConditionsV4, Storage.PostPolicyV4Option...) - Method in interface com.google.cloud.storage.Storage
Generates a presigned post policy without any fields.
generateSignedPostPolicyV4(BlobInfo, long, TimeUnit, Storage.PostPolicyV4Option...) - Method in interface com.google.cloud.storage.Storage
Generates a presigned post policy without any fields or conditions.
generationMatch() - Static method in class com.google.cloud.storage.Blob.BlobSourceOption
Returns an option for blob's generation match.
generationMatch(long) - Static method in class com.google.cloud.storage.Bucket.BlobTargetOption
Returns an option for blob's data generation match.
generationMatch(long) - Static method in class com.google.cloud.storage.Bucket.BlobWriteOption
Returns an option for blob's data generation match.
generationMatch() - Static method in class com.google.cloud.storage.Storage.BlobGetOption
Returns an option for blob's data generation match.
generationMatch(long) - Static method in class com.google.cloud.storage.Storage.BlobGetOption
Returns an option for blob's data generation match.
generationMatch() - Static method in class com.google.cloud.storage.Storage.BlobSourceOption
Returns an option for blob's data generation match.
generationMatch(long) - Static method in class com.google.cloud.storage.Storage.BlobSourceOption
Returns an option for blob's data generation match.
generationMatch() - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
Returns an option for blob's data generation match.
generationMatch() - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
Returns an option for blob's data generation match.
generationNotMatch() - Static method in class com.google.cloud.storage.Blob.BlobSourceOption
Returns an option for blob's generation mismatch.
generationNotMatch(long) - Static method in class com.google.cloud.storage.Bucket.BlobTargetOption
Returns an option for blob's data generation mismatch.
generationNotMatch(long) - Static method in class com.google.cloud.storage.Bucket.BlobWriteOption
Returns an option for blob's data generation mismatch.
generationNotMatch() - Static method in class com.google.cloud.storage.Storage.BlobGetOption
Returns an option for blob's data generation mismatch.
generationNotMatch(long) - Static method in class com.google.cloud.storage.Storage.BlobGetOption
Returns an option for blob's data generation mismatch.
generationNotMatch() - Static method in class com.google.cloud.storage.Storage.BlobSourceOption
Returns an option for blob's data generation mismatch.
generationNotMatch(long) - Static method in class com.google.cloud.storage.Storage.BlobSourceOption
Returns an option for blob's data generation mismatch.
generationNotMatch() - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
Returns an option for blob's data generation mismatch.
generationNotMatch() - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
Returns an option for blob's data generation mismatch.
get(String, Storage.BlobGetOption...) - Method in class com.google.cloud.storage.Bucket
Returns the requested blob in this bucket or null if not found.
get(String, String, String...) - Method in class com.google.cloud.storage.Bucket
Returns a list of requested blobs in this bucket.
get(Iterable<String>) - Method in class com.google.cloud.storage.Bucket
Returns a list of requested blobs in this bucket.
GET - Static variable in class com.google.cloud.storage.HttpMethod
 
get(Bucket, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
get(StorageObject, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
get(Bucket, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Returns the requested bucket or null if not found.
get(StorageObject, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Returns the requested storage object or null if not found.
get(String, Storage.BucketGetOption...) - Method in interface com.google.cloud.storage.Storage
Returns the requested bucket or null if not found.
get(String, String, Storage.BlobGetOption...) - Method in interface com.google.cloud.storage.Storage
Returns the requested blob or null if not found.
get(BlobId, Storage.BlobGetOption...) - Method in interface com.google.cloud.storage.Storage
Returns the requested blob or null if not found.
get(BlobId) - Method in interface com.google.cloud.storage.Storage
Returns the requested blob or null if not found.
get(BlobId...) - Method in interface com.google.cloud.storage.Storage
Gets the requested blobs.
get(Iterable<BlobId>) - Method in interface com.google.cloud.storage.Storage
Gets the requested blobs.
get(String, String, Storage.BlobGetOption...) - Method in class com.google.cloud.storage.StorageBatch
Adds a request representing the "get blob" operation to this batch.
get(BlobId, Storage.BlobGetOption...) - Method in class com.google.cloud.storage.StorageBatch
Adds a request representing the "get blob" operation to this batch.
get(Bucket, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
get(StorageObject, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
getAccessId() - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata
Returns the access id for this HMAC key.
getAccountEmail() - Method in class com.google.cloud.storage.SignatureInfo
 
getAcl(Acl.Entity) - Method in class com.google.cloud.storage.Blob
Returns the ACL entry for the specified entity on this blob or null if not found.
getAcl() - Method in class com.google.cloud.storage.BlobInfo
Returns the blob's access control configuration.
getAcl(Acl.Entity) - Method in class com.google.cloud.storage.Bucket
Returns the ACL entry for the specified entity on this bucket or null if not found.
getAcl() - Method in class com.google.cloud.storage.BucketInfo
Returns the bucket's access control configuration.
getAcl(String, String, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
getAcl(String, String, Long, String) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
getAcl(String, String, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Returns the ACL entry for the specified entity on the specified bucket or null if not found.
getAcl(String, String, Long, String) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Returns the ACL entry for the specified entity on the specified object or null if not found.
getAcl(String, Acl.Entity, Storage.BucketSourceOption...) - Method in interface com.google.cloud.storage.Storage
Returns the ACL entry for the specified entity on the specified bucket or null if not found.
getAcl(String, Acl.Entity) - Method in interface com.google.cloud.storage.Storage
 
getAcl(BlobId, Acl.Entity) - Method in interface com.google.cloud.storage.Storage
Returns the ACL entry for the specified entity on the specified blob or null if not found.
getAcl(String, String, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
getAcl(String, String, Long, String) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
getAction() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule
 
getActionType() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.DeleteLifecycleAction
 
getActionType() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleAction
 
getActionType() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.SetStorageClassLifecycleAction
 
getAge() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
 
getBlobId() - Method in class com.google.cloud.storage.BlobInfo
Returns the blob's identity.
getBlobSize() - Method in class com.google.cloud.storage.CopyWriter
Returns the size of the blob being copied.
getBucket() - Method in class com.google.cloud.storage.BlobId
Returns the name of the bucket containing the blob.
getBucket() - Method in class com.google.cloud.storage.BlobInfo
Returns the name of the containing bucket.
getBucketPolicyOnlyLockedTime() - Method in class com.google.cloud.storage.BucketInfo.IamConfiguration
Deprecated.
getCacheControl() - Method in class com.google.cloud.storage.BlobInfo
Returns the blob's data cache control.
getCanonicalizedExtensionHeaders() - Method in class com.google.cloud.storage.SignatureInfo
 
getCanonicalizedResource() - Method in class com.google.cloud.storage.SignatureInfo
 
getComponentCount() - Method in class com.google.cloud.storage.BlobInfo
Returns the number of components that make up this blob.
getCondition() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule
 
getConditions() - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4
 
getContent(Blob.BlobSourceOption...) - Method in class com.google.cloud.storage.Blob
Returns this blob's content.
getContentDisposition() - Method in class com.google.cloud.storage.BlobInfo
Returns the blob's data content disposition.
getContentEncoding() - Method in class com.google.cloud.storage.BlobInfo
Returns the blob's data content encoding.
getContentLanguage() - Method in class com.google.cloud.storage.BlobInfo
Returns the blob's data content language.
getContentMd5() - Method in class com.google.cloud.storage.SignatureInfo
 
getContentType() - Method in class com.google.cloud.storage.BlobInfo
Returns the blob's data content type.
getContentType() - Method in class com.google.cloud.storage.SignatureInfo
 
getCors() - Method in class com.google.cloud.storage.BucketInfo
Returns the bucket's Cross-Origin Resource Sharing (CORS) configuration.
getCrc32c() - Method in class com.google.cloud.storage.BlobInfo
Returns the CRC32C checksum of blob's data as described in RFC 4960, Appendix B; encoded in base64 in big-endian order.
getCrc32cToHexString() - Method in class com.google.cloud.storage.BlobInfo
Returns the CRC32C checksum of blob's data as described in RFC 4960, Appendix B; decoded to string.
getCreatedBefore() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
 
getCreateTime() - Method in class com.google.cloud.storage.BlobInfo
Returns the creation time of the blob expressed as the number of milliseconds since the Unix epoch.
getCreateTime() - Method in class com.google.cloud.storage.BucketInfo
Returns the time at which the bucket was created.
getCreateTime() - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata
Returns the creation time of this HMAC key.
getCustomerEncryption() - Method in class com.google.cloud.storage.BlobInfo
Returns information on the customer-supplied encryption key, if the blob is encrypted using such a key.
getCustomTime() - Method in class com.google.cloud.storage.BlobInfo
Returns the custom time specified by the user for an object.
getCustomTimeBefore() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
 
getDaysSinceCustomTime() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
Returns the number of days elapsed since the user-specified timestamp set on an object.
getDaysSinceNoncurrentTime() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
Returns the number of days elapsed since the noncurrent timestamp of an object.
getDaysToLive() - Method in class com.google.cloud.storage.BucketInfo.AgeDeleteRule
Deprecated.
 
getDefaultAcl(Acl.Entity) - Method in class com.google.cloud.storage.Bucket
Returns the default object ACL entry for the specified entity on this bucket or null if not found.
getDefaultAcl() - Method in class com.google.cloud.storage.BucketInfo
Returns the default access control configuration for this bucket's blobs.
getDefaultAcl(String, String) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
getDefaultAcl(String, String) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Returns the default object ACL entry for the specified entity on the specified bucket or null if not found.
getDefaultAcl(String, Acl.Entity) - Method in interface com.google.cloud.storage.Storage
Returns the default object ACL entry for the specified entity on the specified bucket or null if not found.
getDefaultAcl(String, String) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
getDefaultEventBasedHold() - Method in class com.google.cloud.storage.BucketInfo
Returns a Boolean with either true, null and in certain cases false.
getDefaultHttpTransportOptions() - Static method in class com.google.cloud.storage.StorageOptions
 
getDefaultInstance() - Static method in class com.google.cloud.storage.StorageOptions
Returns a default StorageOptions instance.
getDefaultKmsKeyName() - Method in class com.google.cloud.storage.BucketInfo
Returns the default Cloud KMS key to be applied to newly inserted objects in this bucket.
getDeleteRules() - Method in class com.google.cloud.storage.BucketInfo
Deprecated.
getDeleteTime() - Method in class com.google.cloud.storage.BlobInfo
Returns the deletion time of the blob expressed as the number of milliseconds since the Unix epoch.
getDomain() - Method in class com.google.cloud.storage.Acl.Domain
Returns the domain associated to this entity.
getEmail() - Method in class com.google.cloud.storage.Acl.Group
Returns the group email.
getEmail() - Method in class com.google.cloud.storage.Acl.User
Returns the user email.
getEmail() - Method in class com.google.cloud.storage.ServiceAccount
Returns the email address of the service account.
getEncryptionAlgorithm() - Method in class com.google.cloud.storage.BlobInfo.CustomerEncryption
Returns the algorithm used to encrypt the blob.
getEntity() - Method in class com.google.cloud.storage.Acl
Returns the entity for this ACL object.
getEtag() - Method in class com.google.cloud.storage.Acl
Returns HTTP 1.1 Entity tag for the ACL entry.
getEtag() - Method in class com.google.cloud.storage.BlobInfo
Returns HTTP 1.1 Entity tag for the blob.
getEtag() - Method in class com.google.cloud.storage.BucketInfo
Returns HTTP 1.1 Entity tag for the bucket.
getEtag() - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata
Returns HTTP 1.1 Entity tag for this HMAC key.
getEventBasedHold() - Method in class com.google.cloud.storage.BlobInfo
Returns a Boolean with either true, null and in certain cases false.
getExpiration() - Method in class com.google.cloud.storage.SignatureInfo
 
getFields() - Method in class com.google.cloud.storage.PostPolicyV4
Returns the HTML form fields
getFieldsMap() - Method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4
 
getGeneratedId() - Method in class com.google.cloud.storage.BlobInfo
Returns the service-generated for the blob.
getGeneratedId() - Method in class com.google.cloud.storage.BucketInfo
Returns the service-generated id for the bucket.
getGeneration() - Method in class com.google.cloud.storage.BlobId
Returns blob's data generation.
getGeneration() - Method in class com.google.cloud.storage.BlobInfo
Returns blob's data generation.
getGeneration() - Method in class com.google.cloud.storage.Storage.ComposeRequest.SourceBlob
 
getHmacKey(String, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
getHmacKey(String, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Returns the HMAC key associated with the provided access id.
getHmacKey(String, Storage.GetHmacKeyOption...) - Method in interface com.google.cloud.storage.Storage
Gets an HMAC key given its access id.
getHmacKey(String, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
getHttpVerb() - Method in class com.google.cloud.storage.SignatureInfo
 
getIamConfiguration() - Method in class com.google.cloud.storage.BucketInfo
Returns the IAM configuration
getIamPolicy(String, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
getIamPolicy(String, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Returns the IAM policy for the specified bucket.
getIamPolicy(String, Storage.BucketSourceOption...) - Method in interface com.google.cloud.storage.Storage
Gets the IAM policy for the provided bucket.
getIamPolicy(String, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
getId() - Method in class com.google.cloud.storage.Acl
Returns the ID of the ACL entry.
getId() - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata
Returns the resource name of this HMAC key.
getIndexPage() - Method in class com.google.cloud.storage.BucketInfo
Returns bucket's website index page.
getIsLive() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
 
getKeySha256() - Method in class com.google.cloud.storage.BlobInfo.CustomerEncryption
Returns the SHA256 hash of the encryption key.
getKmsKeyName() - Method in class com.google.cloud.storage.BlobInfo
Returns the Cloud KMS key used to encrypt the blob, if any.
getLabels() - Method in class com.google.cloud.storage.BucketInfo
Returns the labels for this bucket.
getLifecycleRules() - Method in class com.google.cloud.storage.BucketInfo
 
getLocation() - Method in class com.google.cloud.storage.BucketInfo
Returns the bucket's location.
getLocationType() - Method in class com.google.cloud.storage.BucketInfo
Returns the bucket's locationType.
getLogBucket() - Method in class com.google.cloud.storage.BucketInfo.Logging
 
getLogging() - Method in class com.google.cloud.storage.BucketInfo
Returns the Logging
getLogObjectPrefix() - Method in class com.google.cloud.storage.BucketInfo.Logging
 
getMatchesStorageClass() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
 
getMaxAgeSeconds() - Method in class com.google.cloud.storage.Cors
Returns the max time in seconds in which a client can issue requests before sending a new preflight request.
getMd5() - Method in class com.google.cloud.storage.BlobInfo
Returns the MD5 hash of blob's data encoded in base64.
getMd5ToHexString() - Method in class com.google.cloud.storage.BlobInfo
Returns the MD5 hash of blob's data decoded to string.
getMediaLink() - Method in class com.google.cloud.storage.BlobInfo
Returns the blob's media download link.
getMegabytesCopiedPerChunk() - Method in class com.google.cloud.storage.Storage.CopyRequest
Returns the maximum number of megabytes to copy for each RPC call.
getMetadata() - Method in class com.google.cloud.storage.BlobInfo
Returns blob's user provided metadata.
getMetadata() - Method in class com.google.cloud.storage.HmacKey
Returns the metadata associated with this HMAC key.
getMetageneration() - Method in class com.google.cloud.storage.BlobInfo
Returns blob's metageneration.
getMetageneration() - Method in class com.google.cloud.storage.BucketInfo
Returns the metadata generation of this bucket.
getMethods() - Method in class com.google.cloud.storage.Cors
Returns the HTTP methods supported by this CORS configuration.
getName() - Method in class com.google.cloud.storage.BlobId
Returns the name of the blob.
getName() - Method in class com.google.cloud.storage.BlobInfo
Returns the blob's name.
getName() - Method in class com.google.cloud.storage.BucketInfo
Returns the bucket's name.
getName() - Method in class com.google.cloud.storage.Storage.ComposeRequest.SourceBlob
 
getNoncurrentTimeBefore() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
Returns the date in RFC 3339 format with only the date part (for instance, "2013-01-15").
getNotFoundPage() - Method in class com.google.cloud.storage.BucketInfo
Returns the custom object to return when a requested resource is not found.
getNumberOfNewerVersions() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
 
getNumNewerVersions() - Method in class com.google.cloud.storage.BucketInfo.NumNewerVersionsDeleteRule
Deprecated.
 
getOptions() - Method in class com.google.cloud.storage.testing.RemoteStorageHelper
Returns a StorageOptions object to be used for testing.
getOrigins() - Method in class com.google.cloud.storage.Cors
Returns the origins in this CORS configuration.
getOwner() - Method in class com.google.cloud.storage.BlobInfo
Returns the blob's owner.
getOwner() - Method in class com.google.cloud.storage.BucketInfo
Returns the bucket's owner.
getProjectId() - Method in class com.google.cloud.storage.Acl.Project
Returns the project id for this entity.
getProjectId() - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata
Returns the project id associated with this HMAC key.
getProjectRole() - Method in class com.google.cloud.storage.Acl.Project
Returns the role in the project for this entity.
getQueryParams() - Method in class com.google.cloud.storage.SignatureInfo
 
getResponseHeaders() - Method in class com.google.cloud.storage.Cors
Returns the response headers supported by this CORS configuration.
getResult() - Method in class com.google.cloud.storage.CopyWriter
Returns the updated information for the written blob.
getRetentionEffectiveTime() - Method in class com.google.cloud.storage.BucketInfo
Returns the retention effective time a policy took effect if a retention policy is defined as a Long.
getRetentionExpirationTime() - Method in class com.google.cloud.storage.BlobInfo
Returns the retention expiration time of the blob as Long, if a retention period is defined.
getRetentionPeriod() - Method in class com.google.cloud.storage.BucketInfo
Returns the retention policy retention period.
getRole() - Method in class com.google.cloud.storage.Acl
Returns the role associated to the entity in this ACL object.
getScheme() - Method in enum com.google.cloud.storage.Storage.UriScheme
 
getScopes() - Method in class com.google.cloud.storage.StorageOptions
 
getSecretKey() - Method in class com.google.cloud.storage.HmacKey
Returns the secret key associated with this HMAC key.
getSelector() - Method in enum com.google.cloud.storage.Storage.BlobField
 
getSelector() - Method in enum com.google.cloud.storage.Storage.BucketField
 
getSelfLink() - Method in class com.google.cloud.storage.BlobInfo
Returns the URI of this blob as a string.
getSelfLink() - Method in class com.google.cloud.storage.BucketInfo
Returns the URI of this bucket as a string.
getServiceAccount() - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata
Returns the service account associated with this HMAC key.
getServiceAccount(String) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
getServiceAccount(String) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Returns the service account associated with the given project.
getServiceAccount(String) - Method in interface com.google.cloud.storage.Storage
Returns the service account associated with the given project.
getServiceAccount(String) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
getSignatureVersion() - Method in class com.google.cloud.storage.SignatureInfo
 
getSize() - Method in class com.google.cloud.storage.BlobInfo
Returns the content length of the data in bytes.
getSource() - Method in class com.google.cloud.storage.Storage.CopyRequest
Returns the blob to copy, as a BlobId.
getSourceBlobs() - Method in class com.google.cloud.storage.Storage.ComposeRequest
Returns compose operation's source blobs.
getSourceOptions() - Method in class com.google.cloud.storage.Storage.CopyRequest
Returns blob's source options.
getState() - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata
Returns the current state of this HMAC key.
getStorage() - Method in class com.google.cloud.storage.Blob
Returns the blob's Storage object used to issue requests.
getStorage() - Method in class com.google.cloud.storage.Bucket
Returns the bucket's Storage object used to issue requests.
getStorageClass() - Method in class com.google.cloud.storage.BlobInfo
Returns the storage class of the blob.
getStorageClass() - Method in class com.google.cloud.storage.BucketInfo
Returns the bucket's storage class.
getStorageClass() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.SetStorageClassLifecycleAction
 
getStorageRpcV1() - Method in class com.google.cloud.storage.StorageOptions
 
getTarget() - Method in class com.google.cloud.storage.Storage.ComposeRequest
Returns compose operation's target blob.
getTarget() - Method in class com.google.cloud.storage.Storage.CopyRequest
Returns the BlobInfo for the target blob.
getTargetOptions() - Method in class com.google.cloud.storage.Storage.ComposeRequest
Returns compose operation's target blob's options.
getTargetOptions() - Method in class com.google.cloud.storage.Storage.CopyRequest
Returns blob's target options.
getTemporaryHold() - Method in class com.google.cloud.storage.BlobInfo
Returns a Boolean with either true, null and in certain cases false.
getTimeMillis() - Method in class com.google.cloud.storage.BucketInfo.CreatedBeforeDeleteRule
Deprecated.
 
getTimestamp() - Method in class com.google.cloud.storage.SignatureInfo
 
getTimeStorageClassUpdated() - Method in class com.google.cloud.storage.BlobInfo
Returns the time that the object's storage class was last changed or the time of the object creation.
getTotalBytesCopied() - Method in class com.google.cloud.storage.CopyWriter
Returns the number of bytes copied.
getType() - Method in class com.google.cloud.storage.Acl.Entity
Returns the type of entity.
getType() - Method in class com.google.cloud.storage.BucketInfo.DeleteRule
Deprecated.
 
getUnauthenticatedInstance() - Static method in class com.google.cloud.storage.StorageOptions
Returns a unauthenticated StorageOptions instance.
getUniformBucketLevelAccessLockedTime() - Method in class com.google.cloud.storage.BucketInfo.IamConfiguration
 
getUpdateTime() - Method in class com.google.cloud.storage.BlobInfo
Returns the last modification time of the blob's metadata expressed as the number of milliseconds since the Unix epoch.
getUpdateTime() - Method in class com.google.cloud.storage.BucketInfo
Returns the last modification time of the bucket's metadata expressed as the number of milliseconds since the Unix epoch.
getUpdateTime() - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata
Returns the last updated time of this HMAC key.
getUrl() - Method in class com.google.cloud.storage.PostPolicyV4
Returns the URL for the HTTP POST request
getValue() - Method in class com.google.cloud.storage.Acl.Entity
Returns the entity's value.
getValue() - Method in class com.google.cloud.storage.Cors.Origin
 
GOOG4_RSA_SHA256 - Static variable in class com.google.cloud.storage.SignatureInfo
 
Group(String) - Constructor for class com.google.cloud.storage.Acl.Group
Creates a group entity.

H

hashCode() - Method in class com.google.cloud.storage.Acl.Entity
 
hashCode() - Method in class com.google.cloud.storage.Acl
 
hashCode() - Method in class com.google.cloud.storage.Blob
 
hashCode() - Method in class com.google.cloud.storage.BlobId
 
hashCode() - Method in class com.google.cloud.storage.BlobInfo.CustomerEncryption
 
hashCode() - Method in class com.google.cloud.storage.BlobInfo
 
hashCode() - Method in class com.google.cloud.storage.Bucket.BlobWriteOption
 
hashCode() - Method in class com.google.cloud.storage.Bucket
 
hashCode() - Method in class com.google.cloud.storage.BucketInfo.DeleteRule
Deprecated.
 
hashCode() - Method in class com.google.cloud.storage.BucketInfo
 
hashCode() - Method in class com.google.cloud.storage.BucketInfo.IamConfiguration
 
hashCode() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule
 
hashCode() - Method in class com.google.cloud.storage.BucketInfo.Logging
 
hashCode() - Method in class com.google.cloud.storage.Cors
 
hashCode() - Method in class com.google.cloud.storage.Cors.Origin
 
hashCode() - Method in class com.google.cloud.storage.HmacKey
 
hashCode() - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata
 
hashCode() - Method in class com.google.cloud.storage.Option
 
hashCode() - Method in class com.google.cloud.storage.PostPolicyV4.ConditionV4
 
hashCode() - Method in class com.google.cloud.storage.ServiceAccount
 
hashCode() - Method in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteRequest
 
hashCode() - Method in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteResponse
 
hashCode() - Method in class com.google.cloud.storage.Storage.BlobWriteOption
 
hashCode() - Method in class com.google.cloud.storage.StorageOptions
 
HEAD - Static variable in class com.google.cloud.storage.HttpMethod
 
HmacKey - Class in com.google.cloud.storage
HMAC key for a service account.
HmacKey.Builder - Class in com.google.cloud.storage
Builder for HmacKey objects.
HmacKey.HmacKeyMetadata - Class in com.google.cloud.storage
The metadata for a service account HMAC key.
HmacKey.HmacKeyMetadata.Builder - Class in com.google.cloud.storage
Builder for HmacKeyMetadata objects.
HmacKey.HmacKeyState - Enum in com.google.cloud.storage
 
HttpMethod - Class in com.google.cloud.storage
Http method supported by Storage service.
httpMethod(HttpMethod) - Static method in class com.google.cloud.storage.Storage.SignUrlOption
The HTTP method to be used with the signed URL.
HttpStorageRpc - Class in com.google.cloud.storage.spi.v1
 
HttpStorageRpc(StorageOptions) - Constructor for class com.google.cloud.storage.spi.v1.HttpStorageRpc
 

I

ImmutableEmptyMap() - Constructor for class com.google.cloud.storage.BlobInfo.ImmutableEmptyMap
 
isBucketPolicyOnlyEnabled() - Method in class com.google.cloud.storage.BucketInfo.IamConfiguration
Deprecated.
isDirectory() - Method in class com.google.cloud.storage.BlobInfo
Returns true if the current blob represents a directory.
isDone() - Method in class com.google.cloud.storage.CopyWriter
Returns true if blob copy has finished, false otherwise.
isDone - Variable in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteResponse
 
isLive() - Method in class com.google.cloud.storage.BucketInfo.IsLiveDeleteRule
Deprecated.
 
IsLiveDeleteRule(boolean) - Constructor for class com.google.cloud.storage.BucketInfo.IsLiveDeleteRule
Deprecated.
Creates an IsLiveDeleteRule object.
isUniformBucketLevelAccessEnabled() - Method in class com.google.cloud.storage.BucketInfo.IamConfiguration
 

K

kmsKeyName(String) - Static method in class com.google.cloud.storage.Bucket.BlobTargetOption
Returns an option to set a customer-managed KMS key for server-side encryption of the blob.
kmsKeyName(String) - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
Returns an option to set a customer-managed key for server-side encryption of the blob.
kmsKeyName(String) - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
Returns an option to set a customer-managed KMS key for server-side encryption of the blob.

L

legacyBucketOwner() - Static method in class com.google.cloud.storage.StorageRoles
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
legacyBucketReader() - Static method in class com.google.cloud.storage.StorageRoles
Grants the following permissions: storage.buckets.get storage.objects.list
legacyBucketWriter() - Static method in class com.google.cloud.storage.StorageRoles
Grants the following permissions: storage.buckets.get storage.objects.list storage.objects.create storage.objects.delete
legacyObjectOwner() - Static method in class com.google.cloud.storage.StorageRoles
Grants the following permissions: storage.objects.get storage.objects.update storage.objects.getIamPolicy storage.objects.setIamPolicy
legacyObjectReader() - Static method in class com.google.cloud.storage.StorageRoles
Grants the following permissions: storage.objects.get
LifecycleAction() - Constructor for class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleAction
 
LifecycleRule(BucketInfo.LifecycleRule.LifecycleAction, BucketInfo.LifecycleRule.LifecycleCondition) - Constructor for class com.google.cloud.storage.BucketInfo.LifecycleRule
 
list(Storage.BlobListOption...) - Method in class com.google.cloud.storage.Bucket
Returns the paginated list of Blob in this bucket.
list(Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
list(String, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
list(Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Lists the project's buckets.
list(String, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Lists the bucket's blobs.
list(Storage.BucketListOption...) - Method in interface com.google.cloud.storage.Storage
Lists the project's buckets.
list(String, Storage.BlobListOption...) - Method in interface com.google.cloud.storage.Storage
Lists the bucket's blobs.
list(Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
list(String, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
listAcls() - Method in class com.google.cloud.storage.Blob
Lists the ACL entries for this blob.
listAcls() - Method in class com.google.cloud.storage.Bucket
Lists the ACL entries for this bucket.
listAcls(String, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
listAcls(String, String, Long) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
listAcls(String, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Lists the ACL entries for the provided bucket.
listAcls(String, String, Long) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Lists the ACL entries for the provided object.
listAcls(String, Storage.BucketSourceOption...) - Method in interface com.google.cloud.storage.Storage
Lists the ACL entries for the provided bucket.
listAcls(String) - Method in interface com.google.cloud.storage.Storage
 
listAcls(BlobId) - Method in interface com.google.cloud.storage.Storage
Lists the ACL entries for the provided blob.
listAcls(String, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
listAcls(String, String, Long) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
listDefaultAcls() - Method in class com.google.cloud.storage.Bucket
Lists the default blob ACL entries for this bucket.
listDefaultAcls(String) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
listDefaultAcls(String) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Lists the default object ACL entries for the provided bucket.
listDefaultAcls(String) - Method in interface com.google.cloud.storage.Storage
Lists the default blob ACL entries for the provided bucket.
listDefaultAcls(String) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
listHmacKeys(Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
listHmacKeys(Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Lists the HMAC keys for the provided service account email.
listHmacKeys(Storage.ListHmacKeysOption...) - Method in interface com.google.cloud.storage.Storage
Lists HMAC keys for a given service account.
listHmacKeys(Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
listNotifications(String) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
listNotifications(String) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
List the notifications for the provided bucket.
listNotifications(String) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
load(StorageObject, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
load(StorageObject, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Reads all the bytes from a storage object.
load(StorageObject, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
lockRetentionPolicy(Storage.BucketTargetOption...) - Method in class com.google.cloud.storage.Bucket
Locks bucket retention policy.
lockRetentionPolicy(Bucket, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
lockRetentionPolicy(Bucket, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Lock retention policy for the provided bucket.
lockRetentionPolicy(BucketInfo, Storage.BucketTargetOption...) - Method in interface com.google.cloud.storage.Storage
Locks bucket retention policy.
lockRetentionPolicy(Bucket, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 

M

maxResults(long) - Static method in class com.google.cloud.storage.Storage.ListHmacKeysOption
Returns an option for the maximum amount of HMAC keys returned per page.
md5Match(String) - Static method in class com.google.cloud.storage.Bucket.BlobWriteOption
Returns an option for blob's data MD5 hash match.
md5Match() - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
Returns an option for blob's data MD5 hash match.
megabytesRewrittenPerCall - Variable in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteRequest
 
metagenerationMatch() - Static method in class com.google.cloud.storage.Blob.BlobSourceOption
Returns an option for blob's metageneration match.
metagenerationMatch(long) - Static method in class com.google.cloud.storage.Bucket.BlobTargetOption
Returns an option for blob's metageneration match.
metagenerationMatch(long) - Static method in class com.google.cloud.storage.Bucket.BlobWriteOption
Returns an option for blob's metageneration match.
metagenerationMatch() - Static method in class com.google.cloud.storage.Bucket.BucketSourceOption
Returns an option for bucket's metageneration match.
metagenerationMatch(long) - Static method in class com.google.cloud.storage.Storage.BlobGetOption
Returns an option for blob's metageneration match.
metagenerationMatch(long) - Static method in class com.google.cloud.storage.Storage.BlobSourceOption
Returns an option for blob's metageneration match.
metagenerationMatch() - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
Returns an option for blob's metageneration match.
metagenerationMatch() - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
Returns an option for blob's metageneration match.
metagenerationMatch(long) - Static method in class com.google.cloud.storage.Storage.BucketGetOption
Returns an option for bucket's metageneration match.
metagenerationMatch(long) - Static method in class com.google.cloud.storage.Storage.BucketSourceOption
Returns an option for bucket's metageneration match.
metagenerationMatch() - Static method in class com.google.cloud.storage.Storage.BucketTargetOption
Returns an option for bucket's metageneration match.
metagenerationNotMatch() - Static method in class com.google.cloud.storage.Blob.BlobSourceOption
Returns an option for blob's metageneration mismatch.
metagenerationNotMatch(long) - Static method in class com.google.cloud.storage.Bucket.BlobTargetOption
Returns an option for blob's metageneration mismatch.
metagenerationNotMatch(long) - Static method in class com.google.cloud.storage.Bucket.BlobWriteOption
Returns an option for blob's metageneration mismatch.
metagenerationNotMatch() - Static method in class com.google.cloud.storage.Bucket.BucketSourceOption
Returns an option for bucket's metageneration mismatch.
metagenerationNotMatch(long) - Static method in class com.google.cloud.storage.Storage.BlobGetOption
Returns an option for blob's metageneration mismatch.
metagenerationNotMatch(long) - Static method in class com.google.cloud.storage.Storage.BlobSourceOption
Returns an option for blob's metageneration mismatch.
metagenerationNotMatch() - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
Returns an option for blob's metageneration mismatch.
metagenerationNotMatch() - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
Returns an option for blob's metageneration mismatch.
metagenerationNotMatch(long) - Static method in class com.google.cloud.storage.Storage.BucketGetOption
Returns an option for bucket's metageneration mismatch.
metagenerationNotMatch(long) - Static method in class com.google.cloud.storage.Storage.BucketSourceOption
Returns an option for bucket's metageneration mismatch.
metagenerationNotMatch() - Static method in class com.google.cloud.storage.Storage.BucketTargetOption
Returns an option for bucket's metageneration mismatch.
MULTI_REGIONAL - Static variable in class com.google.cloud.storage.StorageClass
Legacy Multi-regional storage class, use StorageClass.STANDARD instead.

N

NEARLINE - Static variable in class com.google.cloud.storage.StorageClass
Nearline storage class.
newBuilder(Acl.Entity, Acl.Role) - Static method in class com.google.cloud.storage.Acl
Returns a builder for Acl objects.
newBuilder(BucketInfo, String) - Static method in class com.google.cloud.storage.BlobInfo
Returns a BlobInfo builder where blob identity is set using the provided values.
newBuilder(String, String) - Static method in class com.google.cloud.storage.BlobInfo
Returns a BlobInfo builder where blob identity is set using the provided values.
newBuilder(BucketInfo, String, Long) - Static method in class com.google.cloud.storage.BlobInfo
Returns a BlobInfo builder where blob identity is set using the provided values.
newBuilder(String, String, Long) - Static method in class com.google.cloud.storage.BlobInfo
Returns a BlobInfo builder where blob identity is set using the provided values.
newBuilder(BlobId) - Static method in class com.google.cloud.storage.BlobInfo
Returns a BlobInfo builder where blob identity is set using the provided value.
newBuilder() - Static method in class com.google.cloud.storage.BucketInfo.IamConfiguration
 
newBuilder() - Static method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
 
newBuilder() - Static method in class com.google.cloud.storage.BucketInfo.Logging
 
newBuilder(String) - Static method in class com.google.cloud.storage.BucketInfo
Returns a BucketInfo builder where the bucket's name is set to the provided name.
newBuilder() - Static method in class com.google.cloud.storage.Cors
Returns a CORS configuration builder.
newBuilder(ServiceAccount) - Static method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata
 
newBuilder(String) - Static method in class com.google.cloud.storage.HmacKey
 
newBuilder() - Static method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4.Builder
 
newBuilder() - Static method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4
 
newBuilder() - Static method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4
 
newBuilder() - Static method in class com.google.cloud.storage.Storage.ComposeRequest
Returns a ComposeRequest builder.
newBuilder() - Static method in class com.google.cloud.storage.Storage.CopyRequest
Creates a builder for CopyRequest objects.
newBuilder() - Static method in class com.google.cloud.storage.StorageOptions
 
newDeleteAction() - Static method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleAction
Creates a new DeleteLifecycleAction.
newSetStorageClassAction(StorageClass) - Static method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleAction
Creates a new SetStorageClassLifecycleAction.
NO_ACL_PROJECTION - Static variable in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
NumNewerVersionsDeleteRule(int) - Constructor for class com.google.cloud.storage.BucketInfo.NumNewerVersionsDeleteRule
Deprecated.
Creates an NumNewerVersionsDeleteRule object.

O

objectAdmin() - Static method in class com.google.cloud.storage.StorageRoles
Grants the following permissions: storage.objects.*
objectCreator() - Static method in class com.google.cloud.storage.StorageRoles
Grants the following permissions: storage.objects.create
objectViewer() - Static method in class com.google.cloud.storage.StorageRoles
Grants the following permissions: storage.objects.list storage.objects.get
of(Acl.Entity, Acl.Role) - Static method in class com.google.cloud.storage.Acl
Returns an Acl object.
of(String, String) - Static method in class com.google.cloud.storage.BlobId
Creates a blob identifier.
of(String, String, Long) - Static method in class com.google.cloud.storage.BlobId
Creates a BlobId object.
of(String) - Static method in class com.google.cloud.storage.BucketInfo
Creates a BucketInfo object for the provided bucket name.
of(String, String, int) - Static method in class com.google.cloud.storage.Cors.Origin
Returns an Origin object for the given scheme, host and port.
of(String) - Static method in class com.google.cloud.storage.Cors.Origin
Creates an Origin object for the provided value.
of(ServiceAccount, String, String) - Static method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata
 
of(String, Map<String, String>) - Static method in class com.google.cloud.storage.PostPolicyV4
Constructs PostPolicyV4 instance of the given URL and fields map.
of(Map<String, String>) - Static method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4
Constructs PostPolicyV4.PostFieldsV4 object of the given field map.
of(String, PostPolicyV4.PostConditionsV4) - Static method in class com.google.cloud.storage.PostPolicyV4.PostPolicyV4Document
 
of(String) - Static method in class com.google.cloud.storage.ServiceAccount
Returns a ServiceAccount object for the provided email.
of(Iterable<String>, BlobInfo) - Static method in class com.google.cloud.storage.Storage.ComposeRequest
Creates a ComposeRequest object.
of(String, Iterable<String>, String) - Static method in class com.google.cloud.storage.Storage.ComposeRequest
Creates a ComposeRequest object.
of(String, String, BlobInfo) - Static method in class com.google.cloud.storage.Storage.CopyRequest
Creates a copy request.
of(BlobId, BlobInfo) - Static method in class com.google.cloud.storage.Storage.CopyRequest
Creates a copy request.
of(String, String, String) - Static method in class com.google.cloud.storage.Storage.CopyRequest
Creates a copy request.
of(String, String, BlobId) - Static method in class com.google.cloud.storage.Storage.CopyRequest
Creates a copy request.
of(BlobId, String) - Static method in class com.google.cloud.storage.Storage.CopyRequest
Creates a copy request.
of(BlobId, BlobId) - Static method in class com.google.cloud.storage.Storage.CopyRequest
Creates a copy request.
ofAllAuthenticatedUsers() - Static method in class com.google.cloud.storage.Acl.User
 
ofAllUsers() - Static method in class com.google.cloud.storage.Acl.User
 
onFailure(GoogleJsonError) - Method in interface com.google.cloud.storage.spi.v1.RpcBatch.Callback
This method will be called upon failure of the batch operation.
onSuccess(T) - Method in interface com.google.cloud.storage.spi.v1.RpcBatch.Callback
This method will be called upon success of the batch operation.
open(StorageObject, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
open(String) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
open(StorageObject, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Opens a resumable upload channel for a given storage object.
open(String) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Opens a resumable upload channel for a given signedURL.
open(StorageObject, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
open(String) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
openRewrite(StorageRpc.RewriteRequest) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
openRewrite(StorageRpc.RewriteRequest) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Sends a rewrite request to open a rewrite channel.
openRewrite(StorageRpc.RewriteRequest) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
operand1 - Variable in class com.google.cloud.storage.PostPolicyV4.ConditionV4
 
operand2 - Variable in class com.google.cloud.storage.PostPolicyV4.ConditionV4
 
Option - Class in com.google.cloud.storage
Base class for Storage operation option.
OPTIONS - Static variable in class com.google.cloud.storage.HttpMethod
 
overrideInfo - Variable in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteRequest
 
overrideInfo() - Method in class com.google.cloud.storage.Storage.CopyRequest
Returns whether to override the target blob information with Storage.CopyRequest.getTarget().
OWNER - Static variable in class com.google.cloud.storage.Acl.Role
 
OWNERS - Static variable in class com.google.cloud.storage.Acl.Project.ProjectRole
 

P

pageSize(long) - Static method in class com.google.cloud.storage.Storage.BlobListOption
Returns an option to specify the maximum number of blobs returned per page.
pageSize(long) - Static method in class com.google.cloud.storage.Storage.BucketListOption
Returns an option to specify the maximum number of buckets returned per page.
pageToken(String) - Static method in class com.google.cloud.storage.Storage.BlobListOption
Returns an option to specify the page token from which to start listing blobs.
pageToken(String) - Static method in class com.google.cloud.storage.Storage.BucketListOption
Returns an option to specify the page token from which to start listing buckets.
pageToken(String) - Static method in class com.google.cloud.storage.Storage.ListHmacKeysOption
Returns an option to specify the page token from which to start listing HMAC keys.
patch(Bucket, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
patch(StorageObject, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
patch(Bucket, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Updates bucket information.
patch(StorageObject, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Updates the storage object's information.
patch(Bucket, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
patch(StorageObject, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
patchAcl(BucketAccessControl, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
patchAcl(ObjectAccessControl) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
patchAcl(BucketAccessControl, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Updates an ACL entry on the specified bucket.
patchAcl(ObjectAccessControl) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Updates an ACL entry on the specified object.
patchAcl(BucketAccessControl, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
patchAcl(ObjectAccessControl) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
patchDefaultAcl(ObjectAccessControl) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
patchDefaultAcl(ObjectAccessControl) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Updates a default object ACL entry on the specified bucket.
patchDefaultAcl(ObjectAccessControl) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
POST - Static variable in class com.google.cloud.storage.HttpMethod
 
PostConditionsV4(PostPolicyV4.PostConditionsV4.Builder) - Constructor for class com.google.cloud.storage.PostPolicyV4.PostConditionsV4
 
PostPolicyV4 - Class in com.google.cloud.storage
Presigned V4 post policy.
PostPolicyV4.ConditionV4 - Class in com.google.cloud.storage
Class for a specific POST policy document condition.
PostPolicyV4.ConditionV4Type - Enum in com.google.cloud.storage
 
PostPolicyV4.PostConditionsV4 - Class in com.google.cloud.storage
A helper class for specifying conditions in a V4 POST Policy document.
PostPolicyV4.PostConditionsV4.Builder - Class in com.google.cloud.storage
 
PostPolicyV4.PostFieldsV4 - Class in com.google.cloud.storage
A helper class to define fields to be specified in a V4 POST request.
PostPolicyV4.PostFieldsV4.Builder - Class in com.google.cloud.storage
 
PostPolicyV4.PostPolicyV4Document - Class in com.google.cloud.storage
Class for a V4 POST Policy document.
predefinedAcl(Storage.PredefinedAcl) - Static method in class com.google.cloud.storage.Bucket.BlobTargetOption
Returns an option for specifying blob's predefined ACL configuration.
predefinedAcl(Storage.PredefinedAcl) - Static method in class com.google.cloud.storage.Bucket.BlobWriteOption
Returns an option for specifying blob's predefined ACL configuration.
predefinedAcl(Storage.PredefinedAcl) - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
Returns an option for specifying blob's predefined ACL configuration.
predefinedAcl(Storage.PredefinedAcl) - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
Returns an option for specifying blob's predefined ACL configuration.
predefinedAcl(Storage.PredefinedAcl) - Static method in class com.google.cloud.storage.Storage.BucketTargetOption
Returns an option for specifying bucket's predefined ACL configuration.
predefinedDefaultObjectAcl(Storage.PredefinedAcl) - Static method in class com.google.cloud.storage.Storage.BucketTargetOption
Returns an option for specifying bucket's default ACL configuration for blobs.
prefix(String) - Static method in class com.google.cloud.storage.Storage.BlobListOption
Returns an option to set a prefix to filter results to blobs whose names begin with this prefix.
prefix(String) - Static method in class com.google.cloud.storage.Storage.BucketListOption
Returns an option to set a prefix to filter results to buckets whose names begin with this prefix.
Project(Acl.Project.ProjectRole, String) - Constructor for class com.google.cloud.storage.Acl.Project
Creates a project entity.
projectId(String) - Static method in class com.google.cloud.storage.Storage.CreateHmacKeyOption
Returns an option to specify the Project ID for this request.
projectId(String) - Static method in class com.google.cloud.storage.Storage.GetHmacKeyOption
Returns an option to specify the Project ID for this request.
projectId(String) - Static method in class com.google.cloud.storage.Storage.ListHmacKeysOption
Returns an option to specify the Project ID for this request.
projectIdRequired() - Method in class com.google.cloud.storage.StorageOptions
 
projection(String) - Static method in class com.google.cloud.storage.Storage.BucketTargetOption
Returns an option to define the projection in the API request.
PUT - Static variable in class com.google.cloud.storage.HttpMethod
 

R

read(StorageObject, Map<StorageRpc.Option, ?>, long, OutputStream) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
read(StorageObject, Map<StorageRpc.Option, ?>, long, int) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
read(StorageObject, Map<StorageRpc.Option, ?>, long, int) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Reads the given amount of bytes from a storage object at the given position.
read(StorageObject, Map<StorageRpc.Option, ?>, long, OutputStream) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Reads all the bytes from a storage object at the given position in to outputstream using direct download.
read(StorageObject, Map<StorageRpc.Option, ?>, long, int) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
read(StorageObject, Map<StorageRpc.Option, ?>, long, OutputStream) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
readAllBytes(String, String, Storage.BlobSourceOption...) - Method in interface com.google.cloud.storage.Storage
Reads all the bytes from a blob.
readAllBytes(BlobId, Storage.BlobSourceOption...) - Method in interface com.google.cloud.storage.Storage
Reads all the bytes from a blob.
READER - Static variable in class com.google.cloud.storage.Acl.Role
 
reader(Blob.BlobSourceOption...) - Method in class com.google.cloud.storage.Blob
Returns a ReadChannel object for reading this blob's content.
reader(String, String, Storage.BlobSourceOption...) - Method in interface com.google.cloud.storage.Storage
Returns a channel for reading the blob's content.
reader(BlobId, Storage.BlobSourceOption...) - Method in interface com.google.cloud.storage.Storage
Returns a channel for reading the blob's content.
REGIONAL - Static variable in class com.google.cloud.storage.StorageClass
Legacy Regional storage class, use StorageClass.STANDARD instead.
reload(Blob.BlobSourceOption...) - Method in class com.google.cloud.storage.Blob
Fetches the latest blob properties.
reload(Bucket.BucketSourceOption...) - Method in class com.google.cloud.storage.Bucket
Fetches current bucket's latest information.
RemoteStorageHelper - Class in com.google.cloud.storage.testing
Utility to create a remote storage configuration for testing.
RemoteStorageHelper.StorageHelperException - Exception in com.google.cloud.storage.testing
 
requestedPolicyVersion(long) - Static method in class com.google.cloud.storage.Storage.BucketSourceOption
 
requesterPays() - Method in class com.google.cloud.storage.BucketInfo
Returns a Boolean with either true, false, and in a specific case null.
result - Variable in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteResponse
 
retentionPolicyIsLocked() - Method in class com.google.cloud.storage.BucketInfo
Returns a Boolean with either true or null.
RewriteRequest(StorageObject, Map<StorageRpc.Option, ?>, boolean, StorageObject, Map<StorageRpc.Option, ?>, Long) - Constructor for class com.google.cloud.storage.spi.v1.StorageRpc.RewriteRequest
 
rewriteRequest - Variable in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteResponse
 
RewriteResponse(StorageRpc.RewriteRequest, StorageObject, long, boolean, String, long) - Constructor for class com.google.cloud.storage.spi.v1.StorageRpc.RewriteResponse
 
rewriteToken - Variable in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteResponse
 
RpcBatch - Interface in com.google.cloud.storage.spi.v1
An interface for the collection of batch operations.
RpcBatch.Callback<T> - Interface in com.google.cloud.storage.spi.v1
An interface for batch callbacks.

S

SCOPE - Static variable in class com.google.cloud.storage.SignatureInfo
 
serialize(Map<String, String>) - Method in class com.google.cloud.storage.CanonicalExtensionHeadersSerializer
 
serializeHeaderNames(Map<String, String>) - Method in class com.google.cloud.storage.CanonicalExtensionHeadersSerializer
 
ServiceAccount - Class in com.google.cloud.storage
A service account, with its specified scopes, authorized for this instance.
serviceAccount(ServiceAccount) - Static method in class com.google.cloud.storage.Storage.ListHmacKeysOption
Returns an option for the Service Account whose keys to list.
setAccessId(String) - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata.Builder
 
setAccountEmail(String) - Method in class com.google.cloud.storage.SignatureInfo.Builder
 
setAcl(List<Acl>) - Method in class com.google.cloud.storage.Blob.Builder
 
setAcl(List<Acl>) - Method in class com.google.cloud.storage.BlobInfo.Builder
Sets the blob's access control configuration.
setAcl(Iterable<Acl>) - Method in class com.google.cloud.storage.Bucket.Builder
 
setAcl(Iterable<Acl>) - Method in class com.google.cloud.storage.BucketInfo.Builder
Sets the bucket's access control configuration.
setAcl(String) - Method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4.Builder
 
setAge(Integer) - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition.Builder
Sets the age in days.
setBlobId(BlobId) - Method in class com.google.cloud.storage.Blob.Builder
 
setBlobId(BlobId) - Method in class com.google.cloud.storage.BlobInfo.Builder
Sets the blob identity.
setCacheControl(String) - Method in class com.google.cloud.storage.Blob.Builder
 
setCacheControl(String) - Method in class com.google.cloud.storage.BlobInfo.Builder
Sets the blob's data cache control.
setCacheControl(String) - Method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4.Builder
 
setCanonicalizedExtensionHeaders(Map<String, String>) - Method in class com.google.cloud.storage.SignatureInfo.Builder
 
setCanonicalizedQueryParams(Map<String, String>) - Method in class com.google.cloud.storage.SignatureInfo.Builder
 
setContentDisposition(String) - Method in class com.google.cloud.storage.Blob.Builder
 
setContentDisposition(String) - Method in class com.google.cloud.storage.BlobInfo.Builder
Sets the blob's data content disposition.
setContentDisposition(String) - Method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4.Builder
 
setContentEncoding(String) - Method in class com.google.cloud.storage.Blob.Builder
 
setContentEncoding(String) - Method in class com.google.cloud.storage.BlobInfo.Builder
Sets the blob's data content encoding.
setContentEncoding(String) - Method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4.Builder
 
setContentLanguage(String) - Method in class com.google.cloud.storage.Blob.Builder
 
setContentLanguage(String) - Method in class com.google.cloud.storage.BlobInfo.Builder
Sets the blob's data content language.
setContentLength(int) - Method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4.Builder
Deprecated.
Invocation of this method has no effect, because all valid HTML form fields except Content-Length can use exact matching. Use PostPolicyV4.PostConditionsV4.Builder.addContentLengthRangeCondition(int, int) to specify a range for the content-length.
setContentMd5(String) - Method in class com.google.cloud.storage.SignatureInfo.Builder
 
setContentType(String) - Method in class com.google.cloud.storage.Blob.Builder
 
setContentType(String) - Method in class com.google.cloud.storage.BlobInfo.Builder
Sets the blob's data content type.
setContentType(String) - Method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4.Builder
 
setContentType(String) - Method in class com.google.cloud.storage.SignatureInfo.Builder
 
setCors(Iterable<Cors>) - Method in class com.google.cloud.storage.Bucket.Builder
 
setCors(Iterable<Cors>) - Method in class com.google.cloud.storage.BucketInfo.Builder
Sets the bucket's Cross-Origin Resource Sharing (CORS) configuration.
setCrc32c(String) - Method in class com.google.cloud.storage.Blob.Builder
 
setCrc32c(String) - Method in class com.google.cloud.storage.BlobInfo.Builder
Sets the CRC32C checksum of blob's data as described in RFC 4960, Appendix B; encoded in base64 in big-endian order.
setCrc32cFromHexString(String) - Method in class com.google.cloud.storage.Blob.Builder
 
setCrc32cFromHexString(String) - Method in class com.google.cloud.storage.BlobInfo.Builder
Sets the CRC32C checksum of blob's data as described in RFC 4960, Appendix B; from hex string.
setCreatedBefore(DateTime) - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition.Builder
Sets the date a Blob should be created before for an Action to be executed.
setCreateTime(long) - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata.Builder
 
setCustomMetadataField(String, String) - Method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4.Builder
 
setCustomTime(Long) - Method in class com.google.cloud.storage.Blob.Builder
 
setCustomTime(Long) - Method in class com.google.cloud.storage.BlobInfo.Builder
Sets the custom time for an object.
setCustomTimeBefore(DateTime) - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition.Builder
Sets the date in RFC 3339 format with only the date part (for instance, "2013-01-15").
setDaysSinceCustomTime(Integer) - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition.Builder
Sets the number of days elapsed since the user-specified timestamp set on an object.
setDaysSinceNoncurrentTime(Integer) - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition.Builder
Sets the number of days elapsed since the noncurrent timestamp of an object.
setDefaultAcl(Iterable<Acl>) - Method in class com.google.cloud.storage.Bucket.Builder
 
setDefaultAcl(Iterable<Acl>) - Method in class com.google.cloud.storage.BucketInfo.Builder
Sets the default access control configuration to apply to bucket's blobs when no other configuration is specified.
setDefaultEventBasedHold(Boolean) - Method in class com.google.cloud.storage.Bucket.Builder
 
setDefaultEventBasedHold(Boolean) - Method in class com.google.cloud.storage.BucketInfo.Builder
Sets the default event-based hold for this bucket.
setDefaultKmsKeyName(String) - Method in class com.google.cloud.storage.Bucket.Builder
 
setDefaultKmsKeyName(String) - Method in class com.google.cloud.storage.BucketInfo.Builder
Sets the default Cloud KMS key name for this bucket.
setDeleteRules(Iterable<? extends BucketInfo.DeleteRule>) - Method in class com.google.cloud.storage.Bucket.Builder
Deprecated.
setDeleteRules(Iterable<? extends BucketInfo.DeleteRule>) - Method in class com.google.cloud.storage.BucketInfo.Builder
Deprecated.
Use setLifecycleRules instead, as in setLifecycleRules(Collections.singletonList( new BucketInfo.LifecycleRule( LifecycleAction.newDeleteAction(), LifecycleCondition.newBuilder().setAge(5).build())));
setEntity(Acl.Entity) - Method in class com.google.cloud.storage.Acl.Builder
Sets the entity for the ACL object.
setEtag(String) - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata.Builder
 
setEventBasedHold(Boolean) - Method in class com.google.cloud.storage.Blob.Builder
 
setEventBasedHold(Boolean) - Method in class com.google.cloud.storage.BlobInfo.Builder
Sets the blob's event-based hold.
setExpires(String) - Method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4.Builder
 
setIamConfiguration(BucketInfo.IamConfiguration) - Method in class com.google.cloud.storage.Bucket.Builder
 
setIamConfiguration(BucketInfo.IamConfiguration) - Method in class com.google.cloud.storage.BucketInfo.Builder
Sets the IamConfiguration to specify whether IAM access should be enabled.
setIamPolicy(String, Policy, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
setIamPolicy(String, Policy, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Updates the IAM policy for the specified bucket.
setIamPolicy(String, Policy, Storage.BucketSourceOption...) - Method in interface com.google.cloud.storage.Storage
Updates the IAM policy on the specified bucket.
setIamPolicy(String, Policy, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
setId(String) - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata.Builder
 
setIndexPage(String) - Method in class com.google.cloud.storage.Bucket.Builder
 
setIndexPage(String) - Method in class com.google.cloud.storage.BucketInfo.Builder
Sets the bucket's website index page.
setIsBucketPolicyOnlyEnabled(Boolean) - Method in class com.google.cloud.storage.BucketInfo.IamConfiguration.Builder
Deprecated.
setIsLive(Boolean) - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition.Builder
Sets an isLive Boolean condition.
setIsUniformBucketLevelAccessEnabled(Boolean) - Method in class com.google.cloud.storage.BucketInfo.IamConfiguration.Builder
Sets whether uniform bucket-level access is enabled for this bucket.
setLabels(Map<String, String>) - Method in class com.google.cloud.storage.Bucket.Builder
 
setLabels(Map<String, String>) - Method in class com.google.cloud.storage.BucketInfo.Builder
Sets the label of this bucket.
setLifecycleRules(Iterable<? extends BucketInfo.LifecycleRule>) - Method in class com.google.cloud.storage.Bucket.Builder
 
setLifecycleRules(Iterable<? extends BucketInfo.LifecycleRule>) - Method in class com.google.cloud.storage.BucketInfo.Builder
Sets the bucket's lifecycle configuration as a number of lifecycle rules, consisting of an action and a condition.
setLocation(String) - Method in class com.google.cloud.storage.Bucket.Builder
 
setLocation(String) - Method in class com.google.cloud.storage.BucketInfo.Builder
Sets the bucket's location.
setLogBucket(String) - Method in class com.google.cloud.storage.BucketInfo.Logging.Builder
The destination bucket where the current bucket's logs should be placed.
setLogging(BucketInfo.Logging) - Method in class com.google.cloud.storage.Bucket.Builder
 
setLogging(BucketInfo.Logging) - Method in class com.google.cloud.storage.BucketInfo.Builder
 
setLogObjectPrefix(String) - Method in class com.google.cloud.storage.BucketInfo.Logging.Builder
A prefix for log object names.
setMatchesStorageClass(List<StorageClass>) - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition.Builder
Sets a list of Storage Classes for a objects that satisfy the condition to execute the Action.
setMaxAgeSeconds(Integer) - Method in class com.google.cloud.storage.Cors.Builder
Sets the max time in seconds in which a client can issue requests before sending a new preflight request.
setMd5(String) - Method in class com.google.cloud.storage.Blob.Builder
 
setMd5(String) - Method in class com.google.cloud.storage.BlobInfo.Builder
Sets the MD5 hash of blob's data.
setMd5FromHexString(String) - Method in class com.google.cloud.storage.Blob.Builder
 
setMd5FromHexString(String) - Method in class com.google.cloud.storage.BlobInfo.Builder
Sets the MD5 hash of blob's data from hex string.
setMegabytesCopiedPerChunk(Long) - Method in class com.google.cloud.storage.Storage.CopyRequest.Builder
Sets the maximum number of megabytes to copy for each RPC call.
setMetadata(Map<String, String>) - Method in class com.google.cloud.storage.Blob.Builder
 
setMetadata(Map<String, String>) - Method in class com.google.cloud.storage.BlobInfo.Builder
Sets the blob's user provided metadata.
setMetadata(HmacKey.HmacKeyMetadata) - Method in class com.google.cloud.storage.HmacKey.Builder
 
setMethods(Iterable<HttpMethod>) - Method in class com.google.cloud.storage.Cors.Builder
Sets the HTTP methods supported by this CORS configuration.
setName(String) - Method in class com.google.cloud.storage.Bucket.Builder
 
setName(String) - Method in class com.google.cloud.storage.BucketInfo.Builder
Sets the bucket's name.
setNoncurrentTimeBefore(DateTime) - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition.Builder
Sets the date in RFC 3339 format with only the date part (for instance, "2013-01-15").
setNotFoundPage(String) - Method in class com.google.cloud.storage.Bucket.Builder
 
setNotFoundPage(String) - Method in class com.google.cloud.storage.BucketInfo.Builder
Sets the custom object to return when a requested resource is not found.
setNumberOfNewerVersions(Integer) - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition.Builder
Sets the number of newer versions a Blob should have for an Action to be executed.
setOrigins(Iterable<Cors.Origin>) - Method in class com.google.cloud.storage.Cors.Builder
Sets the origins for this CORS configuration.
setProjectId(String) - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata.Builder
 
setRequesterPays(Boolean) - Method in class com.google.cloud.storage.Bucket.Builder
 
setRequesterPays(Boolean) - Method in class com.google.cloud.storage.BucketInfo.Builder
Sets whether a user accessing the bucket or an object it contains should assume the transit costs related to the access.
setResponseHeaders(Iterable<String>) - Method in class com.google.cloud.storage.Cors.Builder
Sets the response headers supported by this CORS configuration.
setRetentionPeriod(Long) - Method in class com.google.cloud.storage.Bucket.Builder
 
setRetentionPeriod(Long) - Method in class com.google.cloud.storage.BucketInfo.Builder
If policy is not locked this value can be cleared, increased, and decreased.
setRole(Acl.Role) - Method in class com.google.cloud.storage.Acl.Builder
Sets the role to associate to the entity object.
setSecretKey(String) - Method in class com.google.cloud.storage.HmacKey.Builder
 
setServiceAccount(ServiceAccount) - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata.Builder
 
setSignatureVersion(Storage.SignUrlOption.SignatureVersion) - Method in class com.google.cloud.storage.SignatureInfo.Builder
 
setSource(String, String) - Method in class com.google.cloud.storage.Storage.CopyRequest.Builder
Sets the blob to copy given bucket and blob name.
setSource(BlobId) - Method in class com.google.cloud.storage.Storage.CopyRequest.Builder
Sets the blob to copy given a BlobId.
setSourceOptions(Storage.BlobSourceOption...) - Method in class com.google.cloud.storage.Storage.CopyRequest.Builder
Sets blob's source options.
setSourceOptions(Iterable<Storage.BlobSourceOption>) - Method in class com.google.cloud.storage.Storage.CopyRequest.Builder
Sets blob's source options.
setState(HmacKey.HmacKeyState) - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata.Builder
 
setStorageClass(StorageClass) - Method in class com.google.cloud.storage.Blob.Builder
 
setStorageClass(StorageClass) - Method in class com.google.cloud.storage.BlobInfo.Builder
Sets the blob's storage class.
setStorageClass(StorageClass) - Method in class com.google.cloud.storage.Bucket.Builder
 
setStorageClass(StorageClass) - Method in class com.google.cloud.storage.BucketInfo.Builder
Sets the bucket's storage class.
setSuccessActionRedirect(String) - Method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4.Builder
 
setSuccessActionStatus(int) - Method in class com.google.cloud.storage.PostPolicyV4.PostFieldsV4.Builder
 
setTarget(BlobInfo) - Method in class com.google.cloud.storage.Storage.ComposeRequest.Builder
Sets compose operation's target blob.
setTarget(BlobId) - Method in class com.google.cloud.storage.Storage.CopyRequest.Builder
Sets the copy target.
setTarget(BlobId, Storage.BlobTargetOption...) - Method in class com.google.cloud.storage.Storage.CopyRequest.Builder
Sets the copy target.
setTarget(BlobInfo, Storage.BlobTargetOption...) - Method in class com.google.cloud.storage.Storage.CopyRequest.Builder
Sets the copy target and target options.
setTarget(BlobInfo, Iterable<Storage.BlobTargetOption>) - Method in class com.google.cloud.storage.Storage.CopyRequest.Builder
Sets the copy target and target options.
setTarget(BlobId, Iterable<Storage.BlobTargetOption>) - Method in class com.google.cloud.storage.Storage.CopyRequest.Builder
Sets the copy target and target options.
setTargetOptions(Storage.BlobTargetOption...) - Method in class com.google.cloud.storage.Storage.ComposeRequest.Builder
Sets compose operation's target blob options.
setTargetOptions(Iterable<Storage.BlobTargetOption>) - Method in class com.google.cloud.storage.Storage.ComposeRequest.Builder
Sets compose operation's target blob options.
setTemporaryHold(Boolean) - Method in class com.google.cloud.storage.Blob.Builder
 
setTemporaryHold(Boolean) - Method in class com.google.cloud.storage.BlobInfo.Builder
Sets the blob's temporary hold.
setTimestamp(long) - Method in class com.google.cloud.storage.SignatureInfo.Builder
 
setTimeStorageClassUpdated(Long) - Method in class com.google.cloud.storage.Blob.Builder
 
setTimeStorageClassUpdated(Long) - Method in class com.google.cloud.storage.BlobInfo.Builder
Sets the modification time of an object's storage class.
setTransportOptions(TransportOptions) - Method in class com.google.cloud.storage.StorageOptions.Builder
 
setUpdateTime(long) - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata.Builder
 
setVersioningEnabled(Boolean) - Method in class com.google.cloud.storage.Bucket.Builder
 
setVersioningEnabled(Boolean) - Method in class com.google.cloud.storage.BucketInfo.Builder
Sets whether versioning should be enabled for this bucket.
showDeletedKeys(boolean) - Static method in class com.google.cloud.storage.Storage.ListHmacKeysOption
Returns an option to specify whether to show deleted keys in the result.
SignatureInfo - Class in com.google.cloud.storage
Signature Info holds payload components of the string that requires signing.
SignatureInfo.Builder - Class in com.google.cloud.storage
 
signUrl(long, TimeUnit, Storage.SignUrlOption...) - Method in class com.google.cloud.storage.Blob
Generates a signed URL for this blob.
signUrl(BlobInfo, long, TimeUnit, Storage.SignUrlOption...) - Method in interface com.google.cloud.storage.Storage
Generates a signed URL for a blob.
signWith(ServiceAccountSigner) - Static method in class com.google.cloud.storage.Storage.PostPolicyV4Option
Provides a service account signer to sign the policy.
signWith(ServiceAccountSigner) - Static method in class com.google.cloud.storage.Storage.SignUrlOption
Provides a service account signer to sign the URL.
source - Variable in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteRequest
 
sourceOptions - Variable in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteRequest
 
STANDARD - Static variable in class com.google.cloud.storage.StorageClass
Standard storage class.
startOffset(String) - Static method in class com.google.cloud.storage.Storage.BlobListOption
Returns an option to set a startOffset to filter results to objects whose names are lexicographically equal to or after startOffset.
Storage - Interface in com.google.cloud.storage
An interface for Google Cloud Storage.
Storage.BlobField - Enum in com.google.cloud.storage
 
Storage.BlobGetOption - Class in com.google.cloud.storage
Class for specifying blob get options.
Storage.BlobListOption - Class in com.google.cloud.storage
Class for specifying blob list options.
Storage.BlobSourceOption - Class in com.google.cloud.storage
Class for specifying blob source options.
Storage.BlobTargetOption - Class in com.google.cloud.storage
Class for specifying blob target options.
Storage.BlobWriteOption - Class in com.google.cloud.storage
Class for specifying blob write options.
Storage.BucketField - Enum in com.google.cloud.storage
 
Storage.BucketGetOption - Class in com.google.cloud.storage
Class for specifying bucket get options.
Storage.BucketListOption - Class in com.google.cloud.storage
Class for specifying bucket list options.
Storage.BucketSourceOption - Class in com.google.cloud.storage
Class for specifying bucket source options.
Storage.BucketTargetOption - Class in com.google.cloud.storage
Class for specifying bucket target options.
Storage.ComposeRequest - Class in com.google.cloud.storage
A class to contain all information needed for a Google Cloud Storage Compose operation.
Storage.ComposeRequest.Builder - Class in com.google.cloud.storage
 
Storage.ComposeRequest.SourceBlob - Class in com.google.cloud.storage
Class for Compose source blobs.
Storage.CopyRequest - Class in com.google.cloud.storage
A class to contain all information needed for a Google Cloud Storage Copy operation.
Storage.CopyRequest.Builder - Class in com.google.cloud.storage
 
Storage.CreateHmacKeyOption - Class in com.google.cloud.storage
Class for specifying createHmacKey options
Storage.DeleteHmacKeyOption - Class in com.google.cloud.storage
Class for specifying deleteHmacKey options
Storage.GetHmacKeyOption - Class in com.google.cloud.storage
Class for specifying getHmacKey options
Storage.ListHmacKeysOption - Class in com.google.cloud.storage
Class for specifying listHmacKeys options
Storage.PostPolicyV4Option - Class in com.google.cloud.storage
Class for specifying Post Policy V4 options.
Storage.PredefinedAcl - Enum in com.google.cloud.storage
 
Storage.SignUrlOption - Class in com.google.cloud.storage
Class for specifying signed URL options.
Storage.UpdateHmacKeyOption - Class in com.google.cloud.storage
Class for specifying updateHmacKey options
Storage.UriScheme - Enum in com.google.cloud.storage
 
StorageBatch - Class in com.google.cloud.storage
A batch of operations to be submitted to Google Cloud Storage using a single RPC request.
StorageBatchResult<T> - Class in com.google.cloud.storage
This class holds a single result of a batch call to Cloud Storage.
StorageClass - Class in com.google.cloud.storage
Enums for the storage classes.
StorageException - Exception in com.google.cloud.storage
Storage service exception.
StorageException(int, String) - Constructor for exception com.google.cloud.storage.StorageException
 
StorageException(int, String, Throwable) - Constructor for exception com.google.cloud.storage.StorageException
 
StorageException(int, String, String, Throwable) - Constructor for exception com.google.cloud.storage.StorageException
 
StorageException(IOException) - Constructor for exception com.google.cloud.storage.StorageException
 
StorageException(GoogleJsonError) - Constructor for exception com.google.cloud.storage.StorageException
 
StorageFactory - Interface in com.google.cloud.storage
An interface for Storage factories.
StorageHelperException(String) - Constructor for exception com.google.cloud.storage.testing.RemoteStorageHelper.StorageHelperException
 
StorageHelperException(String, Throwable) - Constructor for exception com.google.cloud.storage.testing.RemoteStorageHelper.StorageHelperException
 
StorageOptions - Class in com.google.cloud.storage
 
StorageOptions.Builder - Class in com.google.cloud.storage
 
StorageOptions.DefaultStorageFactory - Class in com.google.cloud.storage
 
StorageOptions.DefaultStorageRpcFactory - Class in com.google.cloud.storage
 
StorageRoles - Class in com.google.cloud.storage
IAM roles specific to Storage.
StorageRpc - Interface in com.google.cloud.storage.spi.v1
 
StorageRpc.Option - Enum in com.google.cloud.storage.spi.v1
 
StorageRpc.RewriteRequest - Class in com.google.cloud.storage.spi.v1
 
StorageRpc.RewriteResponse - Class in com.google.cloud.storage.spi.v1
 
StorageRpcFactory - Interface in com.google.cloud.storage.spi
An interface for Storage RPC factory.
StorageRpcTestBase - Class in com.google.cloud.storage.testing
A stub implementation of StorageRpc which can be used outside of the Storage module for testing purposes.
StorageRpcTestBase() - Constructor for class com.google.cloud.storage.testing.StorageRpcTestBase
 
submit() - Method in interface com.google.cloud.storage.spi.v1.RpcBatch
Submits a batch of requests for processing using a single RPC request to Cloud Storage.
submit() - Method in class com.google.cloud.storage.StorageBatch
Submits this batch for processing using a single RPC request.
success(T) - Method in class com.google.cloud.storage.StorageBatchResult
 

T

target - Variable in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteRequest
 
targetOptions - Variable in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteRequest
 
testIamPermissions(String, List<String>, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
testIamPermissions(String, List<String>, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Tests whether the caller holds the specified permissions for the specified bucket.
testIamPermissions(String, List<String>, Storage.BucketSourceOption...) - Method in interface com.google.cloud.storage.Storage
Tests whether the caller holds the permissions on the specified bucket.
testIamPermissions(String, List<String>, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
toBuilder() - Method in class com.google.cloud.storage.Acl
Returns a builder for this Acl object.
toBuilder() - Method in class com.google.cloud.storage.Blob
 
toBuilder() - Method in class com.google.cloud.storage.BlobInfo
Returns a builder for the current blob.
toBuilder() - Method in class com.google.cloud.storage.Bucket
 
toBuilder() - Method in class com.google.cloud.storage.BucketInfo.IamConfiguration
 
toBuilder() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
 
toBuilder() - Method in class com.google.cloud.storage.BucketInfo.Logging
 
toBuilder() - Method in class com.google.cloud.storage.BucketInfo
Returns a builder for the current bucket.
toBuilder() - Method in class com.google.cloud.storage.Cors
Returns a builder for this CORS configuration.
toBuilder() - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata
 
toBuilder() - Method in class com.google.cloud.storage.PostPolicyV4.PostConditionsV4
 
toBuilder() - Method in class com.google.cloud.storage.StorageOptions
 
toJson() - Method in class com.google.cloud.storage.PostPolicyV4.PostPolicyV4Document
 
toPb() - Method in class com.google.cloud.storage.HmacKey.HmacKeyMetadata
 
toString() - Method in class com.google.cloud.storage.Acl.Entity
 
toString() - Method in class com.google.cloud.storage.Acl
 
toString() - Method in class com.google.cloud.storage.BlobId
 
toString() - Method in class com.google.cloud.storage.BlobInfo.CustomerEncryption
 
toString() - Method in class com.google.cloud.storage.BlobInfo
 
toString() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleAction
 
toString() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.LifecycleCondition
 
toString() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule.SetStorageClassLifecycleAction
 
toString() - Method in class com.google.cloud.storage.BucketInfo.LifecycleRule
 
toString() - Method in class com.google.cloud.storage.BucketInfo
 
toString() - Method in class com.google.cloud.storage.Cors.Origin
 
toString() - Method in class com.google.cloud.storage.Option
 
toString() - Method in class com.google.cloud.storage.PostPolicyV4.ConditionV4
Examples of returned strings: ["eq", "$key", "test-object"], ["starts-with", "$acl", "public"], ["content-length-range", 246, 266].
toString() - Method in enum com.google.cloud.storage.PostPolicyV4.ConditionV4Type
 
toString() - Method in class com.google.cloud.storage.ServiceAccount
 
totalBytesRewritten - Variable in class com.google.cloud.storage.spi.v1.StorageRpc.RewriteResponse
 
translate(IOException) - Static method in exception com.google.cloud.storage.StorageException
Translate IOException to a StorageException representing the cause of the error.
translate(Exception) - Static method in exception com.google.cloud.storage.testing.RemoteStorageHelper.StorageHelperException
 
translateAndThrow(RetryHelper.RetryHelperException) - Static method in exception com.google.cloud.storage.StorageException
Translate RetryHelperException to the StorageException that caused the error.
TYPE - Static variable in class com.google.cloud.storage.BucketInfo.LifecycleRule.DeleteLifecycleAction
 
TYPE - Static variable in class com.google.cloud.storage.BucketInfo.LifecycleRule.SetStorageClassLifecycleAction
 
type - Variable in class com.google.cloud.storage.PostPolicyV4.ConditionV4
 

U

update(Storage.BlobTargetOption...) - Method in class com.google.cloud.storage.Blob
Updates the blob properties.
update(Storage.BucketTargetOption...) - Method in class com.google.cloud.storage.Bucket
Updates the bucket's information.
update(BucketInfo, Storage.BucketTargetOption...) - Method in interface com.google.cloud.storage.Storage
Updates bucket information.
update(BlobInfo, Storage.BlobTargetOption...) - Method in interface com.google.cloud.storage.Storage
Updates the blob properties if the preconditions specified by options are met.
update(BlobInfo) - Method in interface com.google.cloud.storage.Storage
Updates the properties of the blob.
update(BlobInfo...) - Method in interface com.google.cloud.storage.Storage
Updates the requested blobs.
update(Iterable<BlobInfo>) - Method in interface com.google.cloud.storage.Storage
Updates the requested blobs.
update(BlobInfo, Storage.BlobTargetOption...) - Method in class com.google.cloud.storage.StorageBatch
Adds a request representing the "update blob" operation to this batch.
updateAcl(Acl) - Method in class com.google.cloud.storage.Blob
Updates an ACL entry on this blob.
updateAcl(Acl) - Method in class com.google.cloud.storage.Bucket
Updates an ACL entry on this bucket.
updateAcl(String, Acl, Storage.BucketSourceOption...) - Method in interface com.google.cloud.storage.Storage
Updates an ACL entry on the specified bucket.
updateAcl(String, Acl) - Method in interface com.google.cloud.storage.Storage
 
updateAcl(BlobId, Acl) - Method in interface com.google.cloud.storage.Storage
Updates an ACL entry on the specified blob.
updateDefaultAcl(Acl) - Method in class com.google.cloud.storage.Bucket
Updates a default blob ACL entry on this bucket.
updateDefaultAcl(String, Acl) - Method in interface com.google.cloud.storage.Storage
Updates a default blob ACL entry on the specified bucket.
updateHmacKey(HmacKeyMetadata, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
updateHmacKey(HmacKeyMetadata, Map<StorageRpc.Option, ?>) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Updates an HMAC key for the provided metadata object and returns the updated object.
updateHmacKey(HmacKeyMetadata, Map<StorageRpc.Option, ?>) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
updateHmacKeyState(HmacKey.HmacKeyMetadata, HmacKey.HmacKeyState, Storage.UpdateHmacKeyOption...) - Method in interface com.google.cloud.storage.Storage
Updates the state of an HMAC key and returns the updated metadata.
User(String) - Constructor for class com.google.cloud.storage.Acl.User
Creates a user entity.
userProject(String) - Static method in class com.google.cloud.storage.Blob.BlobSourceOption
Returns an option for blob's billing user project.
userProject(String) - Static method in class com.google.cloud.storage.Bucket.BlobTargetOption
Returns an option for blob's billing user project.
userProject(String) - Static method in class com.google.cloud.storage.Bucket.BlobWriteOption
Returns an option for blob's billing user project.
userProject(String) - Static method in class com.google.cloud.storage.Bucket.BucketSourceOption
Returns an option for blob's billing user project.
userProject(String) - Static method in class com.google.cloud.storage.Storage.BlobGetOption
Returns an option for blob's billing user project.
userProject(String) - Static method in class com.google.cloud.storage.Storage.BlobListOption
Returns an option to define the billing user project.
userProject(String) - Static method in class com.google.cloud.storage.Storage.BlobSourceOption
Returns an option for blob's billing user project.
userProject(String) - Static method in class com.google.cloud.storage.Storage.BlobTargetOption
Returns an option for blob's billing user project.
userProject(String) - Static method in class com.google.cloud.storage.Storage.BlobWriteOption
Returns an option for blob's billing user project.
userProject(String) - Static method in class com.google.cloud.storage.Storage.BucketGetOption
Returns an option for bucket's billing user project.
userProject(String) - Static method in class com.google.cloud.storage.Storage.BucketListOption
Returns an option for bucket's billing user project.
userProject(String) - Static method in class com.google.cloud.storage.Storage.BucketSourceOption
Returns an option for bucket's billing user project.
userProject(String) - Static method in class com.google.cloud.storage.Storage.BucketTargetOption
Returns an option to define the billing user project.
userProject(String) - Static method in class com.google.cloud.storage.Storage.CreateHmacKeyOption
Returns an option to specify the project to be billed for this request.
userProject(String) - Static method in class com.google.cloud.storage.Storage.DeleteHmacKeyOption
Returns an option to specify the project to be billed for this request.
userProject(String) - Static method in class com.google.cloud.storage.Storage.GetHmacKeyOption
Returns an option to specify the project to be billed for this request.
userProject(String) - Static method in class com.google.cloud.storage.Storage.ListHmacKeysOption
Returns an option to specify the project to be billed for this request.
userProject(String) - Static method in class com.google.cloud.storage.Storage.UpdateHmacKeyOption
Returns an option to specify the project to be billed for this request.

V

value() - Method in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
 
valueOf(String) - Static method in enum com.google.cloud.storage.Acl.Entity.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in class com.google.cloud.storage.Acl.Project.ProjectRole
Get the ProjectRole for the given String constant, and allow unrecognized values.
valueOf(String) - Static method in class com.google.cloud.storage.Acl.Role
Get the Role for the given String constant, and allow unrecognized values.
valueOf(String) - Static method in enum com.google.cloud.storage.BucketInfo.DeleteRule.Type
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.cloud.storage.HmacKey.HmacKeyState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in class com.google.cloud.storage.HttpMethod
Get the HttpMethod for the given String constant, and allow unrecognized values.
valueOf(String) - Static method in enum com.google.cloud.storage.PostPolicyV4.ConditionV4Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.cloud.storage.Storage.BlobField
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.cloud.storage.Storage.BucketField
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.cloud.storage.Storage.PredefinedAcl
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.cloud.storage.Storage.UriScheme
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in class com.google.cloud.storage.StorageClass
Get the StorageClass for the given String constant, and allow unrecognized values.
valueOfStrict(String) - Static method in class com.google.cloud.storage.Acl.Project.ProjectRole
Get the ProjectRole for the given String constant, and throw an exception if the constant is not recognized.
valueOfStrict(String) - Static method in class com.google.cloud.storage.Acl.Role
Get the Role for the given String constant, and throw an exception if the constant is not recognized.
valueOfStrict(String) - Static method in class com.google.cloud.storage.HttpMethod
Get the HttpMethod for the given String constant, and throw an exception if the constant is not recognized.
valueOfStrict(String) - Static method in class com.google.cloud.storage.StorageClass
Get the StorageClass for the given String constant, and throw an exception if the constant is not recognized.
values() - Static method in enum com.google.cloud.storage.Acl.Entity.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in class com.google.cloud.storage.Acl.Project.ProjectRole
Return the known values for ProjectRole.
values() - Static method in class com.google.cloud.storage.Acl.Role
Return the known values for Role.
values() - Static method in enum com.google.cloud.storage.BucketInfo.DeleteRule.Type
Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.cloud.storage.HmacKey.HmacKeyState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in class com.google.cloud.storage.HttpMethod
Return the known values for HttpMethod.
values() - Static method in enum com.google.cloud.storage.PostPolicyV4.ConditionV4Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.cloud.storage.spi.v1.StorageRpc.Option
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.cloud.storage.Storage.BlobField
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.cloud.storage.Storage.BucketField
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.cloud.storage.Storage.PredefinedAcl
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.cloud.storage.Storage.UriScheme
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in class com.google.cloud.storage.StorageClass
Return the known values for StorageClass.
versioningEnabled() - Method in class com.google.cloud.storage.BucketInfo
Returns a Boolean with either true, null and in certain cases false.
versions(boolean) - Static method in class com.google.cloud.storage.Storage.BlobListOption
If set to true, lists all versions of a blob.
VIEWERS - Static variable in class com.google.cloud.storage.Acl.Project.ProjectRole
 

W

withBucketBoundHostname(String) - Static method in class com.google.cloud.storage.Storage.PostPolicyV4Option
Use a bucket-bound hostname, which replaces the storage.googleapis.com host with the name of a CNAME bucket, e.g.
withBucketBoundHostname(String, Storage.UriScheme) - Static method in class com.google.cloud.storage.Storage.PostPolicyV4Option
Use a bucket-bound hostname, which replaces the storage.googleapis.com host with the name of a CNAME bucket, e.g.
withBucketBoundHostname(String) - Static method in class com.google.cloud.storage.Storage.SignUrlOption
Use a bucket-bound hostname, which replaces the storage.googleapis.com host with the name of a CNAME bucket, e.g.
withBucketBoundHostname(String, Storage.UriScheme) - Static method in class com.google.cloud.storage.Storage.SignUrlOption
Use a bucket-bound hostname, which replaces the storage.googleapis.com host with the name of a CNAME bucket, e.g.
withContentType() - Static method in class com.google.cloud.storage.Storage.SignUrlOption
Use it if signature should include the blob's content-type.
withExtHeaders(Map<String, String>) - Static method in class com.google.cloud.storage.Storage.SignUrlOption
Use it if signature should include the blob's canonicalized extended headers.
withHostName(String) - Static method in class com.google.cloud.storage.Storage.SignUrlOption
Use a different host name than the default host name 'storage.googleapis.com'.
withMd5() - Static method in class com.google.cloud.storage.Storage.SignUrlOption
Use it if signature should include the blob's md5.
withPathStyle() - Static method in class com.google.cloud.storage.Storage.PostPolicyV4Option
Generates a path-style URL, which places the bucket name in the path portion of the URL instead of in the hostname, e.g 'https://storage.googleapis.com/mybucket/...'.
withPathStyle() - Static method in class com.google.cloud.storage.Storage.SignUrlOption
Generates a path-style URL, which places the bucket name in the path portion of the URL instead of in the hostname, e.g 'https://storage.googleapis.com/mybucket/...'.
withQueryParams(Map<String, String>) - Static method in class com.google.cloud.storage.Storage.SignUrlOption
Use if the URL should contain additional query parameters.
withV2Signature() - Static method in class com.google.cloud.storage.Storage.SignUrlOption
Use if signature version should be V2.
withV4Signature() - Static method in class com.google.cloud.storage.Storage.SignUrlOption
Use if signature version should be V4.
withVirtualHostedStyle() - Static method in class com.google.cloud.storage.Storage.PostPolicyV4Option
Use a virtual hosted-style hostname, which adds the bucket into the host portion of the URI rather than the path, e.g.
withVirtualHostedStyle() - Static method in class com.google.cloud.storage.Storage.SignUrlOption
Use a virtual hosted-style hostname, which adds the bucket into the host portion of the URI rather than the path, e.g.
write(String, byte[], int, long, int, boolean) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
write(String, byte[], int, long, int, boolean) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Writes the provided bytes to a storage object at the provided location.
write(String, byte[], int, long, int, boolean) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
WRITER - Static variable in class com.google.cloud.storage.Acl.Role
 
writer(Storage.BlobWriteOption...) - Method in class com.google.cloud.storage.Blob
Returns a WriteChannel object for writing to this blob.
writer(BlobInfo, Storage.BlobWriteOption...) - Method in interface com.google.cloud.storage.Storage
Creates a blob and returns a channel for writing its content.
writer(URL) - Method in interface com.google.cloud.storage.Storage
Accepts signed URL and return a channel for writing content.
writeWithResponse(String, byte[], int, long, int, boolean) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
 
writeWithResponse(String, byte[], int, long, int, boolean) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
Writes the provided bytes to a storage object at the provided location.
writeWithResponse(String, byte[], int, long, int, boolean) - Method in class com.google.cloud.storage.testing.StorageRpcTestBase
 
A B C D E F G H I K L M N O P R S T U V W 
Skip navigation links

Copyright © 2020 Google LLC. All rights reserved.