Class Storage.ComposeRequest (2.9.3)

public static class Storage.ComposeRequest implements Serializable

A class to contain all information needed for a Google Cloud Storage Compose operation. See Also: Compose Operation

Inheritance

java.lang.Object > Storage.ComposeRequest

Implements

Serializable

Static Methods

newBuilder()

public static Storage.ComposeRequest.Builder newBuilder()

Returns a ComposeRequest builder.

Returns
Type Description
Storage.ComposeRequest.Builder

of(Iterable<String> sources, BlobInfo target)

public static Storage.ComposeRequest of(Iterable<String> sources, BlobInfo target)

Creates a ComposeRequest object.

Parameters
Name Description
sources Iterable<String>

source blobs names

target BlobInfo

target blob

Returns
Type Description
Storage.ComposeRequest

of(String bucket, Iterable<String> sources, String target)

public static Storage.ComposeRequest of(String bucket, Iterable<String> sources, String target)

Creates a ComposeRequest object.

Parameters
Name Description
bucket String

name of the bucket where the compose operation takes place

sources Iterable<String>

source blobs names

target String

target blob name

Returns
Type Description
Storage.ComposeRequest

Methods

getSourceBlobs()

public List<Storage.ComposeRequest.SourceBlob> getSourceBlobs()

Returns compose operation's source blobs.

Returns
Type Description
List<SourceBlob>

getTarget()

public BlobInfo getTarget()

Returns compose operation's target blob.

Returns
Type Description
BlobInfo

getTargetOptions()

public List<Storage.BlobTargetOption> getTargetOptions()

Returns compose operation's target blob's options.

Returns
Type Description
List<BlobTargetOption>