Package com.google.cloud.storage
Class Storage.ComposeRequest
java.lang.Object
com.google.cloud.storage.Storage.ComposeRequest
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- Storage
@TransportCompatibility({HTTP,GRPC})
public static class Storage.ComposeRequest
extends Object
implements Serializable
A class to contain all information needed for a Google Cloud Storage Compose operation.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classClass for Compose source blobs. -
Method Summary
Modifier and TypeMethodDescriptionReturns compose operation's source blobs.Returns compose operation's target blob.Returns compose operation's target blob's options.booleanReturns whether to delete source blobs after compose operation.Returns aComposeRequestbuilder.static Storage.ComposeRequestCreates aComposeRequestobject.static Storage.ComposeRequestCreates aComposeRequestobject.
-
Method Details
-
getSourceBlobs
Returns compose operation's source blobs. -
getTarget
Returns compose operation's target blob. -
getTargetOptions
Returns compose operation's target blob's options. -
isDeleteSourceObjects
public boolean isDeleteSourceObjects()Returns whether to delete source blobs after compose operation. -
of
@TransportCompatibility({HTTP,GRPC}) public static Storage.ComposeRequest of(Iterable<String> sources, BlobInfo target) Creates aComposeRequestobject.- Parameters:
sources- source blobs namestarget- target blob
-
of
@TransportCompatibility({HTTP,GRPC}) public static Storage.ComposeRequest of(String bucket, Iterable<String> sources, String target) Creates aComposeRequestobject.- Parameters:
bucket- name of the bucket where the compose operation takes placesources- source blobs namestarget- target blob name
-
newBuilder
Returns aComposeRequestbuilder.
-