Uses of Annotation Type
com.google.cloud.storage.TransportCompatibility
Packages that use TransportCompatibility
-
Uses of TransportCompatibility in com.google.cloud.storage
Classes in com.google.cloud.storage with annotations of type TransportCompatibilityModifier and TypeClassDescriptionfinal classPerform a resumable upload, uploading at mostbufferSizebytes each flush.classAn object in Google Cloud Storage.final classConfiguration parameters for an appendable uploads channel.classInformation about an object in Google Cloud Storage.interfaceA session for reading bytes from a BlobclassA Google cloud storage bucket.static classClass for specifying bucket source options whenBucketmethods are used.classGoogle Storage bucket metadata;final classThere are scenarios in which disk space is more plentiful than memory space.final classDefault Configuration to represent uploading to Google Cloud Storage in a chunked manner.final classclassfinal classThere are scenarios in which disk space is more plentiful than memory space.final classImmutable config builder to configure BlobWriteSession instances to perform Parallel Composite Uploads.static classA class to contain all information needed for a Google Cloud Storage Compose operation.static classstatic classClass for Compose source blobs.static classA class to contain all information needed for a Google Cloud Storage Copy operation.static final classA class to contain all information needed for a Google Cloud Storage Object Move.static enumclassA batch of operations to be submitted to Google Cloud Storage using a single RPC request.Methods in com.google.cloud.storage with annotations of type TransportCompatibilityModifier and TypeMethodDescriptionStorage.batch()Creates a new empty batch for grouping multiple service calls in one underlying RPC call.static BidiBlobWriteSessionConfigBlobWriteSessionConfigs.bidiWrite()Factory to produce a resumable upload using a bi-directional stream.default BlobAppendableUploadStorage.blobAppendableUpload(BlobInfo blobInfo, BlobAppendableUploadConfig uploadConfig, Storage.BlobWriteOption... options) default com.google.api.core.ApiFuture<BlobReadSession>Storage.blobReadSession(BlobId id, Storage.BlobSourceOption... options) default BlobWriteSessionStorage.blobWriteSession(BlobInfo blobInfo, Storage.BlobWriteOption... options) static BufferToDiskThenUploadBlobWriteSessionConfigs.bufferToDiskThenUpload(Path path) Create a newBlobWriteSessionConfigwhich will first buffer the content of the object to a temporary file under the specifiedpath.static BufferToDiskThenUploadBlobWriteSessionConfigs.bufferToDiskThenUpload(Collection<Path> paths) Create a newBlobWriteSessionConfigwhich will first buffer the content of the object to a temporary file under one of the specifiedpaths.static BlobWriteSessionConfigBlobWriteSessionConfigs.bufferToTempDirThenUpload()Create a newBlobWriteSessionConfigwhich will first buffer the content of the object to a temporary file underjava.io.tmpdir.voidBlobReadSession.close()Close this session and anyProjections produced byBlobReadSession.readAs(ReadProjectionConfig).Storage.compose(Storage.ComposeRequest composeRequest) Sends a compose request.Storage.copy(Storage.CopyRequest copyRequest) Sends a copy request.static Storage.BlobRestoreOptionStorage.BlobRestoreOption.copySourceAcl(boolean copySourceAcl) Returns an option for whether the restored object should copy the access controls of the source object.Blob.copyTo(BlobId targetBlob, Blob.BlobSourceOption... options) Sends a copy request for the current blob to the target blob.Blob.copyTo(String targetBucket, Blob.BlobSourceOption... options) Sends a copy request for the current blob to the target bucket, preserving its name.Blob.copyTo(String targetBucket, String targetBlob, Blob.BlobSourceOption... options) Sends a copy request for the current blob to the target blob.static Bucket.BlobWriteOptionBucket.BlobWriteOption.crc32cMatch(@NonNull String crc32c) Returns an option for blob's data CRC32C checksum match.static Storage.BlobWriteOptionStorage.BlobWriteOption.crc32cMatch()Returns an option for blob's data CRC32C checksum match.Bucket.create(String blob, byte[] content, Bucket.BlobTargetOption... options) Creates a new blob in this bucket.Bucket.create(String blob, byte[] content, String contentType, Bucket.BlobTargetOption... options) Creates a new blob in this bucket.Bucket.create(String blob, InputStream content, Bucket.BlobWriteOption... options) Creates a new blob in this bucket.Bucket.create(String blob, InputStream content, String contentType, Bucket.BlobWriteOption... options) Creates a new blob in this bucket.Storage.create(BlobInfo blobInfo, byte[] content, int offset, int length, Storage.BlobTargetOption... options) Creates a new blob with the sub array of the given byte array.Storage.create(BlobInfo blobInfo, byte[] content, Storage.BlobTargetOption... options) Creates a new blob.Storage.create(BlobInfo blobInfo, Storage.BlobTargetOption... options) Creates a new blob with no content.Storage.create(BlobInfo blobInfo, InputStream content, Storage.BlobWriteOption... options) Deprecated.Storage.create(BucketInfo bucketInfo, Storage.BucketTargetOption... options) Creates a new bucket.Creates a new ACL entry on this blob.Creates a new ACL entry on this bucket.Creates a new ACL entry on the specified blob.Storage.createAcl(String bucket, Acl acl, Storage.BucketSourceOption... options) Creates a new ACL entry on the specified bucket.Bucket.createDefaultAcl(Acl acl) Creates a new default blob ACL entry on this bucket.Storage.createDefaultAcl(String bucket, Acl acl) Creates a new default blob ACL entry on the specified bucket.Storage.createFrom(BlobInfo blobInfo, InputStream content, int bufferSize, Storage.BlobWriteOption... options) Reads bytes from an input stream and uploads those bytes to the blob usingStorage.writer(com.google.cloud.storage.BlobInfo, com.google.cloud.storage.Storage.BlobWriteOption...)andbufferSize.Storage.createFrom(BlobInfo blobInfo, InputStream content, Storage.BlobWriteOption... options) Reads bytes from an input stream and uploads those bytes to the blob usingStorage.writer(com.google.cloud.storage.BlobInfo, com.google.cloud.storage.Storage.BlobWriteOption...).Storage.createFrom(BlobInfo blobInfo, Path path, int bufferSize, Storage.BlobWriteOption... options) Uploadspathto the blob usingResumableSession.Storage.createFrom(BlobInfo blobInfo, Path path, Storage.BlobWriteOption... options) Uploadspathto the blob usingStorage.writer(com.google.cloud.storage.BlobInfo, com.google.cloud.storage.Storage.BlobWriteOption...).Storage.createHmacKey(ServiceAccount serviceAccount, Storage.CreateHmacKeyOption... options) Creates a new HMAC Key for the provided service account, including the secret key.Storage.createNotification(String bucket, NotificationInfo notificationInfo) Creates the notification for a given bucket.static Storage.BlobListOptionStorage.BlobListOption.currentDirectory()If specified, results are returned in a directory-like mode.static Blob.BlobSourceOptionBlob.BlobSourceOption.decryptionKey(@NonNull String key) Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.static Blob.BlobSourceOptionBlob.BlobSourceOption.decryptionKey(@NonNull Key key) Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.static Storage.BlobGetOptionStorage.BlobGetOption.decryptionKey(@NonNull String key) Returns an option to set a customer-supplied AES256 key for server-side decryption of the blob.static Storage.BlobGetOptionStorage.BlobGetOption.decryptionKey(@NonNull Key key) Returns an option to set a customer-supplied AES256 key for server-side decryption of the blob.static Storage.BlobSourceOptionStorage.BlobSourceOption.decryptionKey(@NonNull String key) Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.static Storage.BlobSourceOptionStorage.BlobSourceOption.decryptionKey(@NonNull Key key) Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.booleanBlob.delete(Blob.BlobSourceOption... options) Deletes this blob.booleanBucket.delete(Bucket.BucketSourceOption... options) Deletes this bucket.booleanDeletes the requested blob.Deletes the requested blobs.booleanStorage.delete(BlobId blob, Storage.BlobSourceOption... options) Deletes the requested blob.Deletes the requested blobs.booleanStorage.delete(String bucket, Storage.BucketSourceOption... options) Deletes the requested bucket.booleanStorage.delete(String bucket, String blob, Storage.BlobSourceOption... options) Deletes the requested blob.StorageBatch.delete(BlobId blob, Storage.BlobSourceOption... options) Adds a request representing the "delete blob" operation to this batch.StorageBatch.delete(String bucket, String blob, Storage.BlobSourceOption... options) Adds a request representing the "delete blob" operation to this batch.booleanBlob.deleteAcl(Acl.Entity entity) Deletes the ACL entry for the specified entity on this blob.booleanBucket.deleteAcl(Acl.Entity entity) Deletes the ACL entry for the specified entity on this bucket.booleanStorage.deleteAcl(BlobId blob, Acl.Entity entity) Deletes the ACL entry for the specified entity on the specified blob.booleanStorage.deleteAcl(String bucket, Acl.Entity entity) booleanStorage.deleteAcl(String bucket, Acl.Entity entity, Storage.BucketSourceOption... options) Deletes the ACL entry for the specified entity on the specified bucket.booleanBucket.deleteDefaultAcl(Acl.Entity entity) Deletes the default object ACL entry for the specified entity on this bucket.booleanStorage.deleteDefaultAcl(String bucket, Acl.Entity entity) Deletes the default object ACL entry for the specified entity on the specified bucket.voidStorage.deleteHmacKey(HmacKey.HmacKeyMetadata hmacKeyMetadata, Storage.DeleteHmacKeyOption... options) Deletes an HMAC key.booleanStorage.deleteNotification(String bucket, String notificationId) Deletes the notification with the specified id.static Storage.BlobListOptionReturns an option to set a delimiter.static Storage.BlobTargetOptionStorage.BlobTargetOption.detectContentType()Returns an option for detecting content type.static Storage.BlobWriteOptionStorage.BlobWriteOption.detectContentType()Returns an option for detecting content type.static Storage.BlobTargetOptionStorage.BlobTargetOption.disableGzipContent()Returns an option for blob's data disabledGzipContent.static Storage.BlobWriteOptionStorage.BlobWriteOption.disableGzipContent()Returns an option that signals automatic gzip compression should not be performed en route to the bucket.static Bucket.BlobTargetOptionBucket.BlobTargetOption.doesNotExist()Returns an option that causes an operation to succeed only if the target blob does not exist.static Bucket.BlobWriteOptionBucket.BlobWriteOption.doesNotExist()Returns an option that causes an operation to succeed only if the target blob does not exist.static Storage.BlobTargetOptionStorage.BlobTargetOption.doesNotExist()Returns an option that causes an operation to succeed only if the target blob does not exist.static Storage.BlobWriteOptionStorage.BlobWriteOption.doesNotExist()Returns an option that causes an operation to succeed only if the target blob does not exist.voidBlob.downloadTo(OutputStream outputStream, Blob.BlobSourceOption... options) Downloads this blob to the given output stream using specified blob read options.voidBlob.downloadTo(Path path) Downloads this blob to the given file path.voidBlob.downloadTo(Path path, Blob.BlobSourceOption... options) Downloads this blob to the given file path using specified blob read options.voidStorage.downloadTo(BlobId blob, OutputStream outputStream, Storage.BlobSourceOption... options) Downloads the given blob to the given output stream using specified blob read options.voidStorage.downloadTo(BlobId blob, Path path, Storage.BlobSourceOption... options) Downloads the given blob to the given path using specified blob read options.static Storage.BucketTargetOptionStorage.BucketTargetOption.enableObjectRetention(boolean enable) Returns an option for enabling Object Retention on this bucket.static Bucket.BlobTargetOptionBucket.BlobTargetOption.encryptionKey(@NonNull String key) Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.static Bucket.BlobTargetOptionBucket.BlobTargetOption.encryptionKey(@NonNull Key key) Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.static Bucket.BlobWriteOptionBucket.BlobWriteOption.encryptionKey(@NonNull String key) Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.static Bucket.BlobWriteOptionBucket.BlobWriteOption.encryptionKey(@NonNull Key key) Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.static Storage.BlobTargetOptionStorage.BlobTargetOption.encryptionKey(@NonNull String key) Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.static Storage.BlobTargetOptionStorage.BlobTargetOption.encryptionKey(@NonNull Key key) Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.static Storage.BlobWriteOptionStorage.BlobWriteOption.encryptionKey(@NonNull String key) Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.static Storage.BlobWriteOptionStorage.BlobWriteOption.encryptionKey(@NonNull Key key) Returns an option to set a customer-supplied AES256 key for server-side encryption of the blob.static Storage.BlobListOptionReturns an option to set a endOffset to filter results to objects whose names are lexicographically before endOffset.booleanBlob.exists(Blob.BlobSourceOption... options) Checks if this blob exists.booleanBucket.exists(Bucket.BucketSourceOption... options) Checks if this bucket exists.static Storage.BlobWriteOptionStorage.BlobWriteOption.expectedObjectSize(long objectContentSize) Set a precondition on the number of bytes that GCS should expect for a resumable upload.static Storage.BlobGetOptionStorage.BlobGetOption.extraHeaders(@NonNull com.google.common.collect.ImmutableMap<String, String> extraHeaders) A set of extra headers to be set for all requests performed within the scope of the operation this option is passed to (a get, read, resumable upload etc).static Storage.BlobListOptionStorage.BlobListOption.extraHeaders(@NonNull com.google.common.collect.ImmutableMap<String, String> extraHeaders) A set of extra headers to be set for all requests performed within the scope of the operation this option is passed to (a get, read, resumable upload etc).static Storage.BlobRestoreOptionStorage.BlobRestoreOption.extraHeaders(@NonNull com.google.common.collect.ImmutableMap<String, String> extraHeaders) A set of extra headers to be set for all requests performed within the scope of the operation this option is passed to (a get, read, resumable upload etc).static Storage.BlobSourceOptionStorage.BlobSourceOption.extraHeaders(@NonNull com.google.common.collect.ImmutableMap<String, String> extraHeaders) A set of extra headers to be set for all requests performed within the scope of the operation this option is passed to (a get, read, resumable upload etc).static Storage.BlobTargetOptionStorage.BlobTargetOption.extraHeaders(@NonNull com.google.common.collect.ImmutableMap<String, String> extraHeaders) A set of extra headers to be set for all requests performed within the scope of the operation this option is passed to (a get, read, resumable upload etc).static Storage.BlobWriteOptionStorage.BlobWriteOption.extraHeaders(@NonNull com.google.common.collect.ImmutableMap<String, String> extraHeaders) A set of extra headers to be set for all requests performed within the scope of the operation this option is passed to (a get, read, resumable upload etc).static Storage.BucketGetOptionStorage.BucketGetOption.extraHeaders(@NonNull com.google.common.collect.ImmutableMap<String, String> extraHeaders) A set of extra headers to be set for all requests performed within the scope of the operation this option is passed to (a get, read, resumable upload etc).static Storage.BucketListOptionStorage.BucketListOption.extraHeaders(@NonNull com.google.common.collect.ImmutableMap<String, String> extraHeaders) A set of extra headers to be set for all requests performed within the scope of the operation this option is passed to (a get, read, resumable upload etc).static Storage.BucketSourceOptionStorage.BucketSourceOption.extraHeaders(@NonNull com.google.common.collect.ImmutableMap<String, String> extraHeaders) A set of extra headers to be set for all requests performed within the scope of the operation this option is passed to (a get, read, resumable upload etc).static Storage.BucketTargetOptionStorage.BucketTargetOption.extraHeaders(@NonNull com.google.common.collect.ImmutableMap<String, String> extraHeaders) A set of extra headers to be set for all requests performed within the scope of the operation this option is passed to (a get, read, resumable upload etc).static Storage.CreateHmacKeyOptionStorage.CreateHmacKeyOption.extraHeaders(@NonNull com.google.common.collect.ImmutableMap<String, String> extraHeaders) A set of extra headers to be set for all requests performed within the scope of the operation this option is passed to (a get, read, resumable upload etc).static Storage.DeleteHmacKeyOptionStorage.DeleteHmacKeyOption.extraHeaders(@NonNull com.google.common.collect.ImmutableMap<String, String> extraHeaders) A set of extra headers to be set for all requests performed within the scope of the operation this option is passed to (a get, read, resumable upload etc).static Storage.GetHmacKeyOptionStorage.GetHmacKeyOption.extraHeaders(@NonNull com.google.common.collect.ImmutableMap<String, String> extraHeaders) A set of extra headers to be set for all requests performed within the scope of the operation this option is passed to (a get, read, resumable upload etc).static Storage.ListHmacKeysOptionStorage.ListHmacKeysOption.extraHeaders(@NonNull com.google.common.collect.ImmutableMap<String, String> extraHeaders) A set of extra headers to be set for all requests performed within the scope of the operation this option is passed to (a get, read, resumable upload etc).static Storage.UpdateHmacKeyOptionStorage.UpdateHmacKeyOption.extraHeaders(@NonNull com.google.common.collect.ImmutableMap<String, String> extraHeaders) A set of extra headers to be set for all requests performed within the scope of the operation this option is passed to (a get, read, resumable upload etc).static Storage.BlobGetOptionStorage.BlobGetOption.fields(Storage.BlobField... fields) Returns an option to specify the blob's fields to be returned by the RPC call.static Storage.BlobListOptionStorage.BlobListOption.fields(Storage.BlobField... fields) Returns an option to specify the blob's fields to be returned by the RPC call.static Storage.BucketGetOptionStorage.BucketGetOption.fields(Storage.BucketField... fields) Returns an option to specify the bucket's fields to be returned by the RPC call.static Storage.BucketListOptionStorage.BucketListOption.fields(Storage.BucketField... fields) Returns an option to specify the bucket's fields to be returned by the RPC call.static Storage.BlobListOptionReturns an option to filter list results based on object attributes, such as object contexts.Storage.generateSignedPostPolicyV4(BlobInfo blobInfo, long duration, TimeUnit unit, PostPolicyV4.PostConditionsV4 conditions, Storage.PostPolicyV4Option... options) Generates a presigned post policy without any fields.Storage.generateSignedPostPolicyV4(BlobInfo blobInfo, long duration, TimeUnit unit, PostPolicyV4.PostFieldsV4 fields, PostPolicyV4.PostConditionsV4 conditions, Storage.PostPolicyV4Option... options) Generates a URL and a map of fields that can be specified in an HTML form to submit a POST request.Storage.generateSignedPostPolicyV4(BlobInfo blobInfo, long duration, TimeUnit unit, PostPolicyV4.PostFieldsV4 fields, Storage.PostPolicyV4Option... options) Generates a presigned post policy without any conditions.Storage.generateSignedPostPolicyV4(BlobInfo blobInfo, long duration, TimeUnit unit, Storage.PostPolicyV4Option... options) Generates a presigned post policy without any fields or conditions.static Blob.BlobSourceOptionBlob.BlobSourceOption.generationMatch()Returns an option for blob's generation match.static Bucket.BlobTargetOptionBucket.BlobTargetOption.generationMatch(long generation) Returns an option for blob's data generation match.static Bucket.BlobWriteOptionBucket.BlobWriteOption.generationMatch(long generation) Returns an option for blob's data generation match.static Storage.BlobGetOptionStorage.BlobGetOption.generationMatch()Returns an option for blob's data generation match.static Storage.BlobGetOptionStorage.BlobGetOption.generationMatch(long generation) Returns an option for blob's data generation match.static Storage.BlobRestoreOptionStorage.BlobRestoreOption.generationMatch(long generation) Returns an option for blob's data generation match.static Storage.BlobSourceOptionStorage.BlobSourceOption.generationMatch()Returns an option for blob's data generation match.static Storage.BlobSourceOptionStorage.BlobSourceOption.generationMatch(long generation) Returns an option for blob's data generation match.static Storage.BlobTargetOptionStorage.BlobTargetOption.generationMatch()Returns an option for blob's data generation match.static Storage.BlobTargetOptionStorage.BlobTargetOption.generationMatch(long generation) Returns an option for blob's data generation match.static Storage.BlobWriteOptionStorage.BlobWriteOption.generationMatch()Returns an option for blob's data generation match.static Storage.BlobWriteOptionStorage.BlobWriteOption.generationMatch(long generation) Returns an option for blob's data generation match.static Blob.BlobSourceOptionBlob.BlobSourceOption.generationNotMatch()Deprecated.This option is invalid, and can never result in a valid response from the server.static Bucket.BlobTargetOptionBucket.BlobTargetOption.generationNotMatch(long generation) Returns an option for blob's data generation mismatch.static Bucket.BlobWriteOptionBucket.BlobWriteOption.generationNotMatch(long generation) Returns an option for blob's data generation mismatch.static Storage.BlobGetOptionStorage.BlobGetOption.generationNotMatch()Deprecated.This option is invalid, and can never result in a valid response from the server.static Storage.BlobGetOptionStorage.BlobGetOption.generationNotMatch(long generation) Returns an option for blob's data generation mismatch.static Storage.BlobRestoreOptionStorage.BlobRestoreOption.generationNotMatch(long generation) Returns an option for blob's data generation mismatch.static Storage.BlobSourceOptionStorage.BlobSourceOption.generationNotMatch()Deprecated.This option is invalid, and can never result in a valid response from the server.static Storage.BlobSourceOptionStorage.BlobSourceOption.generationNotMatch(long generation) Returns an option for blob's data generation mismatch.static Storage.BlobTargetOptionStorage.BlobTargetOption.generationNotMatch()Returns an option for blob's data generation mismatch.static Storage.BlobTargetOptionStorage.BlobTargetOption.generationNotMatch(long generation) Returns an option for blob's data generation mismatch.static Storage.BlobWriteOptionStorage.BlobWriteOption.generationNotMatch()Returns an option for blob's data generation mismatch.static Storage.BlobWriteOptionStorage.BlobWriteOption.generationNotMatch(long generation) Returns an option for blob's data generation mismatch.Returns a list of requested blobs in this bucket.Bucket.get(String blob, Storage.BlobGetOption... options) Returns the requested blob in this bucket ornullif not found.Bucket.get(String blob, Long generation, Storage.BlobGetOption... options) Returns the requested blob in this bucket of a specific generation ornullif not found.Returns a list of requested blobs in this bucket.Returns the requested blob ornullif not found.Gets the requested blobs.Storage.get(BlobId blob, Storage.BlobGetOption... options) Returns the requested blob ornullif not found.Gets the requested blobs.Storage.get(String bucket, Storage.BucketGetOption... options) Returns the requested bucket ornullif not found.Storage.get(String bucket, String blob, Storage.BlobGetOption... options) Returns the requested blob ornullif not found.StorageBatch.get(BlobId blob, Storage.BlobGetOption... options) Adds a request representing the "get blob" operation to this batch.StorageBatch.get(String bucket, String blob, Storage.BlobGetOption... options) Adds a request representing the "get blob" operation to this batch.Blob.getAcl(Acl.Entity entity) Returns the ACL entry for the specified entity on this blob ornullif not found.Bucket.getAcl(Acl.Entity entity) Returns the ACL entry for the specified entity on this bucket ornullif not found.Storage.getAcl(BlobId blob, Acl.Entity entity) Returns the ACL entry for the specified entity on the specified blob ornullif not found.Storage.getAcl(String bucket, Acl.Entity entity) Storage.getAcl(String bucket, Acl.Entity entity, Storage.BucketSourceOption... options) Returns the ACL entry for the specified entity on the specified bucket ornullif not found.BlobReadSession.getBlobInfo()The resolved metadata for the object being readbyte[]Blob.getContent(Blob.BlobSourceOption... options) Returns this blob's content.BlobWriteSessionConfigs.getDefault()Factory to produce the default configuration for uploading an object to Cloud Storage.Bucket.getDefaultAcl(Acl.Entity entity) Returns the default object ACL entry for the specified entity on this bucket ornullif not found.Storage.getDefaultAcl(String bucket, Acl.Entity entity) Returns the default object ACL entry for the specified entity on the specified bucket ornullif not found.static StorageOptionsStorageOptions.getDefaultInstance()Returns a defaultStorageOptionsinstance.Storage.getHmacKey(String accessId, Storage.GetHmacKeyOption... options) Gets an HMAC key given its access id.com.google.cloud.PolicyStorage.getIamPolicy(String bucket, Storage.BucketSourceOption... options) Gets the IAM policy for the provided bucket.Storage.getNotification(String bucket, String notificationId) Gets the notification with the specified id.Storage.getServiceAccount(String projectId) Returns the service account associated with the given project.static StorageOptionsStorageOptions.getUnauthenticatedInstance()Returns a unauthenticatedStorageOptionsinstance.static GrpcStorageOptions.BuilderStorageOptions.grpc()Builder factory method which will create a gRPC specific instance of storage options.static HttpStorageOptions.BuilderStorageOptions.http()Builder factory method which will create a JSON over HTTP specific instance of storage options.static Storage.SignUrlOptionStorage.SignUrlOption.httpMethod(HttpMethod httpMethod) The HTTP method to be used with the signed URL.static Storage.BlobListOptionStorage.BlobListOption.includeFolders(boolean includeFolders) Returns an option for whether to include all Folders (including empty Folders) in response.static Storage.BlobListOptionStorage.BlobListOption.includeTrailingDelimiter()Returns an option which will cause blobs that end in exactly one instance of `delimiter` will have their metadata included rather than being synthetic objects.BlobWriteSessionConfigs.journaling(Collection<Path> paths) Create a newBlobWriteSessionConfigwhich will journal writes to a temporary file under one of the specifiedpathsbefore transmitting the bytes to Cloud Storage.static Bucket.BlobTargetOptionBucket.BlobTargetOption.kmsKeyName(@NonNull String kmsKeyName) Returns an option to set a customer-managed KMS key for server-side encryption of the blob.static Storage.BlobTargetOptionStorage.BlobTargetOption.kmsKeyName(@NonNull String kmsKeyName) Returns an option to set a customer-managed key for server-side encryption of the blob.static Storage.BlobWriteOptionStorage.BlobWriteOption.kmsKeyName(@NonNull String kmsKeyName) Returns an option to set a customer-managed KMS key for server-side encryption of the blob.com.google.api.gax.paging.Page<Blob>Bucket.list(Storage.BlobListOption... options) Returns the paginated list ofBlobin this bucket.com.google.api.gax.paging.Page<Bucket>Storage.list(Storage.BucketListOption... options) Lists the project's buckets.com.google.api.gax.paging.Page<Blob>Storage.list(String bucket, Storage.BlobListOption... options) Lists the bucket's blobs.Blob.listAcls()Lists the ACL entries for this blob.Bucket.listAcls()Lists the ACL entries for this bucket.Lists the ACL entries for the provided blob.Storage.listAcls(String bucket, Storage.BucketSourceOption... options) Lists the ACL entries for the provided bucket.Bucket.listDefaultAcls()Lists the default blob ACL entries for this bucket.Storage.listDefaultAcls(String bucket) Lists the default blob ACL entries for the provided bucket.com.google.api.gax.paging.Page<HmacKey.HmacKeyMetadata>Storage.listHmacKeys(Storage.ListHmacKeysOption... options) Lists HMAC keys for a given service account.Storage.listNotifications(String bucket) Retrieves the list of notifications associated with the bucket.Bucket.lockRetentionPolicy(Storage.BucketTargetOption... options) Locks bucket retention policy.Storage.lockRetentionPolicy(BucketInfo bucket, Storage.BucketTargetOption... options) Locks bucket retention policy.static Storage.BlobListOptionReturns an option to set a glob pattern to filter results to blobs that match the pattern.static Storage.ListHmacKeysOptionStorage.ListHmacKeysOption.maxResults(long pageSize) Returns an option for the maximum amount of HMAC keys returned per page.static Bucket.BlobWriteOptionReturns an option for blob's data MD5 hash match.static Storage.BlobWriteOptionStorage.BlobWriteOption.md5Match()Deprecated.Please compute and use a crc32c checksum instead.static Blob.BlobSourceOptionBlob.BlobSourceOption.metagenerationMatch()Returns an option for blob's metageneration match.static Bucket.BlobTargetOptionBucket.BlobTargetOption.metagenerationMatch(long metageneration) Returns an option for blob's metageneration match.static Bucket.BlobWriteOptionBucket.BlobWriteOption.metagenerationMatch(long metageneration) Returns an option for blob's metageneration match.static Bucket.BucketSourceOptionBucket.BucketSourceOption.metagenerationMatch()Returns an option for bucket's metageneration match.static Storage.BlobGetOptionStorage.BlobGetOption.metagenerationMatch(long metageneration) Returns an option for blob's metageneration match.static Storage.BlobRestoreOptionStorage.BlobRestoreOption.metagenerationMatch(long generation) Returns an option for blob's metageneration match.static Storage.BlobSourceOptionStorage.BlobSourceOption.metagenerationMatch(long metageneration) Returns an option for blob's metageneration match.static Storage.BlobTargetOptionStorage.BlobTargetOption.metagenerationMatch()Returns an option for blob's metageneration match.static Storage.BlobTargetOptionStorage.BlobTargetOption.metagenerationMatch(long metageneration) Returns an option for blob's metageneration match.static Storage.BlobWriteOptionStorage.BlobWriteOption.metagenerationMatch()Returns an option for blob's metageneration match.static Storage.BlobWriteOptionStorage.BlobWriteOption.metagenerationMatch(long metageneration) Returns an option for blob's metageneration match.static Storage.BucketGetOptionStorage.BucketGetOption.metagenerationMatch(long metageneration) Returns an option for bucket's metageneration match.static Storage.BucketSourceOptionStorage.BucketSourceOption.metagenerationMatch(long metageneration) Returns an option for bucket's metageneration match.static Storage.BucketTargetOptionStorage.BucketTargetOption.metagenerationMatch()Returns an option for bucket's metageneration match.static Blob.BlobSourceOptionBlob.BlobSourceOption.metagenerationNotMatch()Returns an option for blob's metageneration mismatch.static Bucket.BlobTargetOptionBucket.BlobTargetOption.metagenerationNotMatch(long metageneration) Returns an option for blob's metageneration mismatch.static Bucket.BlobWriteOptionBucket.BlobWriteOption.metagenerationNotMatch(long metageneration) Returns an option for blob's metageneration mismatch.static Bucket.BucketSourceOptionBucket.BucketSourceOption.metagenerationNotMatch()Returns an option for bucket's metageneration mismatch.static Storage.BlobGetOptionStorage.BlobGetOption.metagenerationNotMatch(long metageneration) Returns an option for blob's metageneration mismatch.static Storage.BlobRestoreOptionStorage.BlobRestoreOption.metagenerationNotMatch(long generation) Returns an option for blob's metageneration mismatch.static Storage.BlobSourceOptionStorage.BlobSourceOption.metagenerationNotMatch(long metageneration) Returns an option for blob's metageneration mismatch.static Storage.BlobTargetOptionStorage.BlobTargetOption.metagenerationNotMatch()Returns an option for blob's metageneration mismatch.static Storage.BlobTargetOptionStorage.BlobTargetOption.metagenerationNotMatch(long metageneration) Returns an option for blob's metageneration mismatch.static Storage.BlobWriteOptionStorage.BlobWriteOption.metagenerationNotMatch()Returns an option for blob's metageneration mismatch.static Storage.BlobWriteOptionStorage.BlobWriteOption.metagenerationNotMatch(long metageneration) Returns an option for blob's metageneration mismatch.static Storage.BucketGetOptionStorage.BucketGetOption.metagenerationNotMatch(long metageneration) Returns an option for bucket's metageneration mismatch.static Storage.BucketSourceOptionStorage.BucketSourceOption.metagenerationNotMatch(long metageneration) Returns an option for bucket's metageneration mismatch.static Storage.BucketTargetOptionStorage.BucketTargetOption.metagenerationNotMatch()Returns an option for bucket's metageneration mismatch.Storage.moveBlob(Storage.MoveBlobRequest request) Atomically move an object from one name to another.Storage.ComposeRequest.newBuilder()Returns aComposeRequestbuilder.static StorageOptions.BuilderStorageOptions.newBuilder()The returned instance will use JSON over HTTP for its transport.static Storage.ComposeRequestCreates aComposeRequestobject.static Storage.ComposeRequestCreates aComposeRequestobject.static Bucket.BlobTargetOptionBucket.BlobTargetOption.overrideUnlockedRetention(boolean overrideUnlockedRetention) Returns an option for overriding an Unlocked Retention policy.static Storage.BlobTargetOptionStorage.BlobTargetOption.overrideUnlockedRetention(boolean overrideUnlockedRetention) Returns an option for overriding an Unlocked Retention policy.static Storage.BlobListOptionStorage.BlobListOption.pageSize(long pageSize) Returns an option to specify the maximum number of blobs returned per page.static Storage.BucketListOptionStorage.BucketListOption.pageSize(long pageSize) Returns an option to specify the maximum number of buckets returned per page.static Storage.BlobListOptionReturns an option to specify the page token from which to start listing blobs.static Storage.BucketListOptionReturns an option to specify the page token from which to start listing buckets.static Storage.ListHmacKeysOptionReturns an option to specify the page token from which to start listing HMAC keys.BlobWriteSessionConfigs.parallelCompositeUpload()Create a newBlobWriteSessionConfigwhich will perform a Parallel Composite Upload by breaking the stream into parts and composing the parts together to make the ultimate object.static Bucket.BlobTargetOptionBucket.BlobTargetOption.predefinedAcl(@NonNull Storage.PredefinedAcl acl) Returns an option for specifying blob's predefined ACL configuration.static Bucket.BlobWriteOptionBucket.BlobWriteOption.predefinedAcl(@NonNull Storage.PredefinedAcl acl) Returns an option for specifying blob's predefined ACL configuration.static Storage.BlobTargetOptionStorage.BlobTargetOption.predefinedAcl(@NonNull Storage.PredefinedAcl acl) Returns an option for specifying blob's predefined ACL configuration.static Storage.BlobWriteOptionStorage.BlobWriteOption.predefinedAcl(@NonNull Storage.PredefinedAcl acl) Returns an option for specifying blob's predefined ACL configuration.static Storage.BucketTargetOptionStorage.BucketTargetOption.predefinedAcl(@NonNull Storage.PredefinedAcl acl) Returns an option for specifying bucket's predefined ACL configuration.static Storage.BucketTargetOptionStorage.BucketTargetOption.predefinedDefaultObjectAcl(@NonNull Storage.PredefinedAcl acl) Returns an option for specifying bucket's default ACL configuration for blobs.static Storage.BlobListOptionReturns an option to set a prefix to filter results to blobs whose names begin with this prefix.static Storage.BucketListOptionReturns an option to set a prefix to filter results to buckets whose names begin with this prefix.static Storage.CreateHmacKeyOptionReturns an option to specify the Project ID for this request.static Storage.GetHmacKeyOptionReturns an option to specify the Project ID for this request.static Storage.ListHmacKeysOptionReturns an option to specify the Project ID for this request.static Storage.BucketTargetOptionStorage.BucketTargetOption.projection(@NonNull String projection) Returns an option to define the projection in the API request.byte[]Storage.readAllBytes(BlobId blob, Storage.BlobSourceOption... options) Reads all the bytes from a blob.byte[]Storage.readAllBytes(String bucket, String blob, Storage.BlobSourceOption... options) Reads all the bytes from a blob.<Projection>
ProjectionBlobReadSession.readAs(ReadProjectionConfig<Projection> config) Read from this session as a specificProjectionas dictated by the providedconfigcom.google.cloud.ReadChannelBlob.reader(Blob.BlobSourceOption... options) Returns aReadChannelobject for reading this blob's content.com.google.cloud.ReadChannelStorage.reader(BlobId blob, Storage.BlobSourceOption... options) Returns a channel for reading the blob's content.com.google.cloud.ReadChannelStorage.reader(String bucket, String blob, Storage.BlobSourceOption... options) Returns a channel for reading the blob's content.Blob.reload(Blob.BlobSourceOption... options) Fetches the latest blob properties.Bucket.reload(Bucket.BucketSourceOption... options) Fetches current bucket's latest information.static Storage.BucketSourceOptionStorage.BucketSourceOption.requestedPolicyVersion(long version) Storage.restore(BlobId blob, Storage.BlobRestoreOption... options) Restores a soft-deleted object to full object status and returns the object.static Storage.ListHmacKeysOptionStorage.ListHmacKeysOption.serviceAccount(@NonNull ServiceAccount serviceAccount) Returns an option for the Service Account whose keys to list.com.google.cloud.PolicyStorage.setIamPolicy(String bucket, com.google.cloud.Policy policy, Storage.BucketSourceOption... options) Updates the IAM policy on the specified bucket.static Blob.BlobSourceOptionBlob.BlobSourceOption.shouldReturnRawInputStream(boolean shouldReturnRawInputStream) Returns an option for whether the request should return the raw input stream, instead of automatically decompressing the content.static Storage.BlobGetOptionStorage.BlobGetOption.shouldReturnRawInputStream(boolean shouldReturnRawInputStream) Returns an option for whether the request should return the raw input stream, instead of automatically decompressing the content.static Storage.BlobSourceOptionStorage.BlobSourceOption.shouldReturnRawInputStream(boolean shouldReturnRawInputStream) Returns an option for whether the request should return the raw input stream, instead of automatically decompressing the content.static Storage.ListHmacKeysOptionStorage.ListHmacKeysOption.showDeletedKeys(boolean showDeletedKeys) Returns an option to specify whether to show deleted keys in the result.Blob.signUrl(long duration, TimeUnit unit, Storage.SignUrlOption... options) Generates a signed URL for this blob.Storage.signUrl(BlobInfo blobInfo, long duration, TimeUnit unit, Storage.SignUrlOption... options) Generates a signed URL for a blob.static Storage.PostPolicyV4OptionStorage.PostPolicyV4Option.signWith(com.google.auth.ServiceAccountSigner signer) Provides a service account signer to sign the policy.static Storage.SignUrlOptionStorage.SignUrlOption.signWith(com.google.auth.ServiceAccountSigner signer) Provides a service account signer to sign the URL.static Storage.BlobGetOptionStorage.BlobGetOption.softDeleted(boolean softDeleted) Returns an option for whether the request should return a soft-deleted object.static Storage.BlobListOptionStorage.BlobListOption.softDeleted(boolean softDeleted) Returns an option for whether the list result should include soft-deleted objects.static Storage.BlobListOptionStorage.BlobListOption.startOffset(@NonNull String startOffset) Returns an option to set a startOffset to filter results to objects whose names are lexicographically equal to or after startOffset.voidStorageBatch.submit()Submits this batch for processing using a single RPC request.Storage.testIamPermissions(String bucket, List<String> permissions, Storage.BucketSourceOption... options) Tests whether the caller holds the permissions on the specified bucket.Blob.update(Storage.BlobTargetOption... options) Updates the blob properties.Bucket.update(Storage.BucketTargetOption... options) Updates the bucket's information.Updates the properties of the blob.Updates the requested blobs.Storage.update(BlobInfo blobInfo, Storage.BlobTargetOption... options) Updates the blob properties if the preconditions specified byoptionsare met.Storage.update(BucketInfo bucketInfo, Storage.BucketTargetOption... options) Updates bucket information.Updates the requested blobs.StorageBatch.update(BlobInfo blobInfo, Storage.BlobTargetOption... options) Adds a request representing the "update blob" operation to this batch.Updates an ACL entry on this blob.Updates an ACL entry on this bucket.Updates an ACL entry on the specified blob.Storage.updateAcl(String bucket, Acl acl, Storage.BucketSourceOption... options) Updates an ACL entry on the specified bucket.Bucket.updateDefaultAcl(Acl acl) Updates a default blob ACL entry on this bucket.Storage.updateDefaultAcl(String bucket, Acl acl) Updates a default blob ACL entry on the specified bucket.Storage.updateHmacKeyState(HmacKey.HmacKeyMetadata hmacKeyMetadata, HmacKey.HmacKeyState state, Storage.UpdateHmacKeyOption... options) Updates the state of an HMAC key and returns the updated metadata.static Blob.BlobSourceOptionBlob.BlobSourceOption.userProject(@NonNull String userProject) Returns an option for blob's billing user project.static Bucket.BlobTargetOptionBucket.BlobTargetOption.userProject(@NonNull String userProject) Returns an option for blob's billing user project.static Bucket.BlobWriteOptionBucket.BlobWriteOption.userProject(@NonNull String userProject) Returns an option for blob's billing user project.static Bucket.BucketSourceOptionBucket.BucketSourceOption.userProject(@NonNull String userProject) Returns an option for blob's billing user project.static Storage.BlobGetOptionStorage.BlobGetOption.userProject(@NonNull String userProject) Returns an option for blob's billing user project.static Storage.BlobListOptionStorage.BlobListOption.userProject(@NonNull String userProject) Returns an option to define the billing user project.static Storage.BlobSourceOptionStorage.BlobSourceOption.userProject(@NonNull String userProject) Returns an option for blob's billing user project.static Storage.BlobTargetOptionStorage.BlobTargetOption.userProject(@NonNull String userProject) Returns an option for blob's billing user project.static Storage.BlobWriteOptionStorage.BlobWriteOption.userProject(@NonNull String userProject) Returns an option for blob's billing user project.static Storage.BucketGetOptionStorage.BucketGetOption.userProject(@NonNull String userProject) Returns an option for bucket's billing user project.static Storage.BucketListOptionStorage.BucketListOption.userProject(@NonNull String userProject) Returns an option for bucket's billing user project.static Storage.BucketSourceOptionStorage.BucketSourceOption.userProject(@NonNull String userProject) Returns an option for bucket's billing user project.static Storage.BucketTargetOptionStorage.BucketTargetOption.userProject(@NonNull String userProject) Returns an option to define the billing user project.static Storage.CreateHmacKeyOptionStorage.CreateHmacKeyOption.userProject(@NonNull String userProject) Returns an option to specify the project to be billed for this request.static Storage.DeleteHmacKeyOptionStorage.DeleteHmacKeyOption.userProject(@NonNull String userProject) Returns an option to specify the project to be billed for this request.static Storage.GetHmacKeyOptionStorage.GetHmacKeyOption.userProject(@NonNull String userProject) Returns an option to specify the project to be billed for this request.static Storage.ListHmacKeysOptionStorage.ListHmacKeysOption.userProject(@NonNull String userProject) Returns an option to specify the project to be billed for this request.static Storage.UpdateHmacKeyOptionStorage.UpdateHmacKeyOption.userProject(@NonNull String userProject) Returns an option to specify the project to be billed for this request.static Storage.BlobListOptionStorage.BlobListOption.versions(boolean versions) If set totrue, lists all versions of a blob.static Storage.PostPolicyV4OptionStorage.PostPolicyV4Option.withBucketBoundHostname(String bucketBoundHostname) Use a bucket-bound hostname, which replaces the storage.googleapis.com host with the name of a CNAME bucket, e.g. a bucket named 'gcs-subdomain.my.domain.tld', or a Google Cloud Load Balancer which routes to a bucket you own, e.g.static Storage.PostPolicyV4OptionStorage.PostPolicyV4Option.withBucketBoundHostname(String bucketBoundHostname, Storage.UriScheme uriScheme) Use a bucket-bound hostname, which replaces the storage.googleapis.com host with the name of a CNAME bucket, e.g. a bucket named 'gcs-subdomain.my.domain.tld', or a Google Cloud Load Balancer which routes to a bucket you own, e.g.static Storage.SignUrlOptionStorage.SignUrlOption.withBucketBoundHostname(String bucketBoundHostname) Use a bucket-bound hostname, which replaces the storage.googleapis.com host with the name of a CNAME bucket, e.g. a bucket named 'gcs-subdomain.my.domain.tld', or a Google Cloud Load Balancer which routes to a bucket you own, e.g.static Storage.SignUrlOptionStorage.SignUrlOption.withBucketBoundHostname(String bucketBoundHostname, Storage.UriScheme uriScheme) Use a bucket-bound hostname, which replaces the storage.googleapis.com host with the name of a CNAME bucket, e.g. a bucket named 'gcs-subdomain.my.domain.tld', or a Google Cloud Load Balancer which routes to a bucket you own, e.g.static Storage.SignUrlOptionStorage.SignUrlOption.withContentType()Use it if signature should include the blob's content-type.static Storage.SignUrlOptionStorage.SignUrlOption.withExtHeaders(Map<String, String> extHeaders) Use it if signature should include the blob's canonicalized extended headers.static Storage.SignUrlOptionStorage.SignUrlOption.withHostName(String hostName) Use a different host name than the default host name 'storage.googleapis.com'.static Storage.SignUrlOptionStorage.SignUrlOption.withMd5()Use it if signature should include the blob's md5.static Storage.PostPolicyV4OptionStorage.PostPolicyV4Option.withPathStyle()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/...'.static Storage.SignUrlOptionStorage.SignUrlOption.withPathStyle()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/...'.static Storage.SignUrlOptionStorage.SignUrlOption.withQueryParams(Map<String, String> queryParams) Use if the URL should contain additional query parameters.static Storage.SignUrlOptionStorage.SignUrlOption.withV2Signature()Use if signature version should be V2.static Storage.SignUrlOptionStorage.SignUrlOption.withV4Signature()Use if signature version should be V4.static Storage.PostPolicyV4OptionStorage.PostPolicyV4Option.withVirtualHostedStyle()Use a virtual hosted-style hostname, which adds the bucket into the host portion of the URI rather than the path, e.g.static Storage.SignUrlOptionStorage.SignUrlOption.withVirtualHostedStyle()Use a virtual hosted-style hostname, which adds the bucket into the host portion of the URI rather than the path, e.g.com.google.cloud.WriteChannelBlob.writer(Storage.BlobWriteOption... options) Returns aWriteChannelobject for writing to this blob.com.google.cloud.WriteChannelStorage.writer(BlobInfo blobInfo, Storage.BlobWriteOption... options) Creates a blob and returns a channel for writing its content.com.google.cloud.WriteChannelAccepts signed URL and return a channel for writing content.