- capture() - Method in class com.google.cloud.storage.CopyWriter
-
- COLDLINE - Static variable in class com.google.cloud.storage.StorageClass
-
Coldline storage class.
- com.google.cloud.storage - package com.google.cloud.storage
-
A client to Google Cloud 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.
- 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.
- 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.
- 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, InputStream, Storage.BlobWriteOption...) - Method in interface com.google.cloud.storage.Storage
-
Creates a new blob.
- 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.
- 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) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
-
- createAcl(ObjectAccessControl) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
-
- createAcl(BucketAccessControl) - 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) - Method in interface com.google.cloud.storage.Storage
-
Creates a new ACL entry on the specified bucket.
- createAcl(BlobId, Acl) - Method in interface com.google.cloud.storage.Storage
-
Creates a new ACL entry on the specified blob.
- 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.
- CreatedBeforeDeleteRule(long) - Constructor for class com.google.cloud.storage.BucketInfo.CreatedBeforeDeleteRule
-
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.
- currentDirectory() - Static method in class com.google.cloud.storage.Storage.BlobListOption
-
If specified, results are returned in a directory-like mode.
- 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.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.
- 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) - 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) - 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) - Method in interface com.google.cloud.storage.Storage
-
Deletes the ACL entry for the specified entity on the specified bucket.
- deleteAcl(BlobId, Acl.Entity) - Method in interface com.google.cloud.storage.Storage
-
Deletes the ACL entry for the specified entity on the specified blob.
- 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.
- 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.
- DURABLE_REDUCED_AVAILABILITY - Static variable in class com.google.cloud.storage.StorageClass
-
Durable Reduced Availability (deprecated)
- generateBucketName() - Static method in class com.google.cloud.storage.testing.RemoteStorageHelper
-
Returns a bucket name generated using a random UUID.
- 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.
- 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) - 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) - 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) - 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(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.
- 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.
- getCacheControl() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the blob's data cache control.
- getComponentCount() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the number of components that make up this blob.
- 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.
- getContentType() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the blob's data content type.
- 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.
- getCreateTime() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the creation time of the blob.
- getCreateTime() - Method in class com.google.cloud.storage.BucketInfo
-
Returns the time at which the bucket was created.
- 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.
- getDaysToLive() - Method in class com.google.cloud.storage.BucketInfo.AgeDeleteRule
-
- 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.
- 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.
- getDeleteRules() - Method in class com.google.cloud.storage.BucketInfo
-
Returns bucket's lifecycle configuration as a number of delete rules.
- getDeleteTime() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the deletion time of the blob.
- 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.
- 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.
- 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
-
- getIamPolicy(String) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
-
- getIamPolicy(String) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Returns the IAM policy for the specified bucket.
- getIamPolicy(String) - Method in interface com.google.cloud.storage.Storage
-
Gets the IAM policy for the provided bucket.
- getId() - Method in class com.google.cloud.storage.Acl
-
Returns the ID of the ACL entry.
- getIndexPage() - Method in class com.google.cloud.storage.BucketInfo
-
Returns bucket's website index page.
- getKeySha256() - Method in class com.google.cloud.storage.BlobInfo.CustomerEncryption
-
Returns the SHA256 hash of the encryption key.
- getLabels() - Method in class com.google.cloud.storage.BucketInfo
-
Returns the labels for this bucket.
- getLocation() - Method in class com.google.cloud.storage.BucketInfo
-
Returns the bucket's location.
- 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.
- 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.
- 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
-
- getNotFoundPage() - Method in class com.google.cloud.storage.BucketInfo
-
Returns the custom object to return when a requested resource is not found.
- getNumNewerVersions() - Method in class com.google.cloud.storage.BucketInfo.NumNewerVersionsDeleteRule
-
- getOptions() - Method in class com.google.cloud.storage.testing.RemoteStorageHelper
-
- 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.
- getProjectRole() - Method in class com.google.cloud.storage.Acl.Project
-
Returns the role in the project for this entity.
- 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.
- getRole() - Method in class com.google.cloud.storage.Acl
-
Returns the role associated to the entity in this ACL object.
- getScopes() - Method in class com.google.cloud.storage.StorageOptions
-
- 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.
- 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.
- 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.
- 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.
- getTimeMillis() - Method in class com.google.cloud.storage.BucketInfo.CreatedBeforeDeleteRule
-
- 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
-
- getUpdateTime() - Method in class com.google.cloud.storage.BlobInfo
-
Returns the last modification time of the blob's metadata.
- 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
-
- Group(String) - Constructor for class com.google.cloud.storage.Acl.Group
-
Creates a group entity.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- setDeleteRules(Iterable<? extends BucketInfo.DeleteRule>) - Method in class com.google.cloud.storage.Bucket.Builder
-
- setDeleteRules(Iterable<? extends BucketInfo.DeleteRule>) - Method in class com.google.cloud.storage.BucketInfo.Builder
-
Sets the bucket's lifecycle configuration as a number of delete rules.
- setEntity(Acl.Entity) - Method in class com.google.cloud.storage.Acl.Builder
-
Sets the entity for the ACL object.
- setIamPolicy(String, Policy) - Method in class com.google.cloud.storage.spi.v1.HttpStorageRpc
-
- setIamPolicy(String, Policy) - Method in interface com.google.cloud.storage.spi.v1.StorageRpc
-
Updates the IAM policy for the specified bucket.
- setIamPolicy(String, Policy) - Method in interface com.google.cloud.storage.Storage
-
Updates the IAM policy on the specified bucket.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- setOrigins(Iterable<Cors.Origin>) - Method in class com.google.cloud.storage.Cors.Builder
-
Sets the origins for this CORS configuration.
- setRequesterPays(Boolean) - Method in class com.google.cloud.storage.Bucket.Builder
-
- setResponseHeaders(Iterable<String>) - Method in class com.google.cloud.storage.Cors.Builder
-
Sets the response headers supported by this CORS configuration.
- setRole(Acl.Role) - Method in class com.google.cloud.storage.Acl.Builder
-
Sets the role to associate to the entity
object.
- 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.
- 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.
- 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.
- setTransportOptions(TransportOptions) - Method in class com.google.cloud.storage.StorageOptions.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.
- 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.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.
- 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.PredefinedAcl - Enum in com.google.cloud.storage
-
- Storage.SignUrlOption - Class in com.google.cloud.storage
-
Class for specifying signed URL options.
- 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(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.
- 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
-
- 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
-
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.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 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
-
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.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 class com.google.cloud.storage.StorageClass
-
Return the known values for StorageClass.
- versioningEnabled() - Method in class com.google.cloud.storage.BucketInfo
-
Returns true
if versioning is fully enabled for this bucket, false
otherwise.
- 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
-