Uses of Class
com.google.cloud.storage.BlobInfo
Packages that use BlobInfo
Package
Description
A client for Cloud Storage - Unified object storage.
-
Uses of BlobInfo in com.google.cloud.storage
Subclasses of BlobInfo in com.google.cloud.storageMethods in com.google.cloud.storage that return BlobInfoModifier and TypeMethodDescriptionBlob.asBlobInfo()
Drop the heldStorage
instance.abstract BlobInfo
BlobInfo.Builder.build()
Creates aBlobInfo
object.Storage.ComposeRequest.getTarget()
Returns compose operation's target blob.Storage.CopyRequest.getTarget()
Returns theBlobInfo
for the target blob.Methods in com.google.cloud.storage that return types with arguments of type BlobInfoModifier and TypeMethodDescriptioncom.google.api.core.ApiFuture<BlobInfo>
BlobWriteSession.getResult()
Return anApiFuture
<BlobInfo>
which will represent the state of the object upon finalization and success response from Google Cloud Storage.Methods in com.google.cloud.storage with parameters of type BlobInfoModifier and TypeMethodDescriptiondefault BlobWriteSession
Storage.blobWriteSession
(BlobInfo blobInfo, Storage.BlobWriteOption... options) 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.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) Uploadspath
to the blob usingStorage.writer(com.google.cloud.storage.BlobInfo, com.google.cloud.storage.Storage.BlobWriteOption...)
andbufferSize
.Storage.createFrom
(BlobInfo blobInfo, Path path, Storage.BlobWriteOption... options) Uploadspath
to the blob usingStorage.writer(com.google.cloud.storage.BlobInfo, com.google.cloud.storage.Storage.BlobWriteOption...)
.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 Storage.ComposeRequest
Creates aComposeRequest
object.static Storage.CopyRequest
Creates a copy request.static Storage.CopyRequest
Creates a copy request.Sets compose operation's target blob.Storage.CopyRequest.Builder.setTarget
(BlobInfo target, Storage.BlobTargetOption... options) Sets the copy target and target options.Storage.CopyRequest.Builder.setTarget
(BlobInfo target, Iterable<Storage.BlobTargetOption> options) Sets the copy target and target options.Storage.signUrl
(BlobInfo blobInfo, long duration, TimeUnit unit, Storage.SignUrlOption... options) Generates a signed URL for a blob.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 byoptions
are met.StorageBatch.update
(BlobInfo blobInfo, Storage.BlobTargetOption... options) Adds a request representing the "update blob" operation to this batch.com.google.cloud.WriteChannel
Storage.writer
(BlobInfo blobInfo, Storage.BlobWriteOption... options) Creates a blob and returns a channel for writing its content.Method parameters in com.google.cloud.storage with type arguments of type BlobInfo -
Uses of BlobInfo in com.google.cloud.storage.transfermanager
Methods in com.google.cloud.storage.transfermanager that return BlobInfoModifier and TypeMethodDescription@NonNull BlobInfo
DownloadResult.getInput()
TheBlobInfo
for the object requested for download.@NonNull BlobInfo
UploadResult.getInput()
TheBlobInfo
for the object requested for upload.@NonNull BlobInfo
UploadResult.getUploadedBlob()
TheBlobInfo
for the Uploaded object.Methods in com.google.cloud.storage.transfermanager with parameters of type BlobInfoModifier and TypeMethodDescriptionstatic DownloadResult.Builder
DownloadResult.newBuilder
(@NonNull BlobInfo blobInfo, @NonNull TransferStatus status) static UploadResult.Builder
UploadResult.newBuilder
(@NonNull BlobInfo input, @NonNull TransferStatus status) Sets theBlobInfo
for the object request for download.Sets theBlobInfo
for the object request for upload.UploadResult.Builder.setUploadedBlob
(@NonNull BlobInfo uploadedBlob) Sets theBlobInfo
for the uploaded object.Method parameters in com.google.cloud.storage.transfermanager with type arguments of type BlobInfoModifier and TypeMethodDescription@NonNull DownloadJob
TransferManager.downloadBlobs
(List<BlobInfo> blobs, ParallelDownloadConfig config) Downloads a list of blobs in parallel.