public class Storage.Objects.Compose extends StorageRequest<StorageObject>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
Storage.Objects.Compose(java.lang.String destinationBucket,
java.lang.String destinationObject,
ComposeRequest content)
Concatenates a list of existing objects into a new object in the same bucket.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpResponse |
executeMedia() |
void |
executeMediaAndDownloadTo(java.io.OutputStream outputStream) |
java.io.InputStream |
executeMediaAsInputStream() |
java.lang.String |
getDestinationBucket()
Name of the bucket in which to store the new object.
|
java.lang.String |
getDestinationObject()
Name of the new object.
|
java.lang.String |
getDestinationPredefinedAcl()
Apply a predefined set of access controls to the destination object.
|
java.lang.Long |
getIfGenerationMatch()
Makes the operation conditional on whether the object's current generation matches the given value.
|
java.lang.Long |
getIfMetagenerationMatch()
Makes the operation conditional on whether the object's current metageneration matches the given
value.
|
Storage.Objects.Compose |
set(java.lang.String parameterName,
java.lang.Object value) |
Storage.Objects.Compose |
setAlt(java.lang.String alt)
Data format for the response.
|
Storage.Objects.Compose |
setDestinationBucket(java.lang.String destinationBucket)
Name of the bucket in which to store the new object.
|
Storage.Objects.Compose |
setDestinationObject(java.lang.String destinationObject)
Name of the new object.
|
Storage.Objects.Compose |
setDestinationPredefinedAcl(java.lang.String destinationPredefinedAcl)
Apply a predefined set of access controls to the destination object.
|
Storage.Objects.Compose |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Storage.Objects.Compose |
setIfGenerationMatch(java.lang.Long ifGenerationMatch)
Makes the operation conditional on whether the object's current generation matches the
given value.
|
Storage.Objects.Compose |
setIfMetagenerationMatch(java.lang.Long ifMetagenerationMatch)
Makes the operation conditional on whether the object's current metageneration matches the
given value.
|
Storage.Objects.Compose |
setKey(java.lang.String key)
API key.
|
Storage.Objects.Compose |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Storage.Objects.Compose |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Storage.Objects.Compose |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Storage.Objects.Compose |
setUserIp(java.lang.String userIp)
IP address of the site where the request originates.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysprotected Storage.Objects.Compose(java.lang.String destinationBucket,
java.lang.String destinationObject,
ComposeRequest content)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Storage.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must
be called to initialize this instance immediately after invoking the constructor.
destinationBucket - Name of the bucket in which to store the new object.destinationObject - Name of the new object.content - the ComposeRequestpublic void executeMediaAndDownloadTo(java.io.OutputStream outputStream)
throws java.io.IOException
executeMediaAndDownloadTo in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<StorageObject>java.io.IOExceptionpublic java.io.InputStream executeMediaAsInputStream()
throws java.io.IOException
executeMediaAsInputStream in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<StorageObject>java.io.IOExceptionpublic com.google.api.client.http.HttpResponse executeMedia()
throws java.io.IOException
executeMedia in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<StorageObject>java.io.IOExceptionpublic Storage.Objects.Compose setAlt(java.lang.String alt)
StorageRequestsetAlt in class StorageRequest<StorageObject>public Storage.Objects.Compose setFields(java.lang.String fields)
StorageRequestsetFields in class StorageRequest<StorageObject>public Storage.Objects.Compose setKey(java.lang.String key)
StorageRequestsetKey in class StorageRequest<StorageObject>public Storage.Objects.Compose setOauthToken(java.lang.String oauthToken)
StorageRequestsetOauthToken in class StorageRequest<StorageObject>public Storage.Objects.Compose setPrettyPrint(java.lang.Boolean prettyPrint)
StorageRequestsetPrettyPrint in class StorageRequest<StorageObject>public Storage.Objects.Compose setQuotaUser(java.lang.String quotaUser)
StorageRequestsetQuotaUser in class StorageRequest<StorageObject>public Storage.Objects.Compose setUserIp(java.lang.String userIp)
StorageRequestsetUserIp in class StorageRequest<StorageObject>public java.lang.String getDestinationBucket()
public Storage.Objects.Compose setDestinationBucket(java.lang.String destinationBucket)
public java.lang.String getDestinationObject()
public Storage.Objects.Compose setDestinationObject(java.lang.String destinationObject)
public java.lang.Long getIfGenerationMatch()
public Storage.Objects.Compose setIfGenerationMatch(java.lang.Long ifGenerationMatch)
public java.lang.Long getIfMetagenerationMatch()
public Storage.Objects.Compose setIfMetagenerationMatch(java.lang.Long ifMetagenerationMatch)
public java.lang.String getDestinationPredefinedAcl()
public Storage.Objects.Compose setDestinationPredefinedAcl(java.lang.String destinationPredefinedAcl)
public Storage.Objects.Compose set(java.lang.String parameterName, java.lang.Object value)
set in class StorageRequest<StorageObject>