public class Storage.Objects.Compose extends StorageRequest<StorageObject>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Storage.Objects.Compose(String destinationBucket,
String destinationObject,
ComposeRequest content)
Concatenates a list of existing objects into a new object in the same bucket.
|
Modifier and Type | Method and Description |
---|---|
String |
getDestinationBucket()
Name of the bucket in which to store the new object.
|
String |
getDestinationObject()
Name of the new object.
|
com.google.common.primitives.UnsignedLong |
getIfGenerationMatch()
Makes the operation conditional on whether the object's current generation matches the given value.
|
com.google.common.primitives.UnsignedLong |
getIfMetagenerationMatch()
Makes the operation conditional on whether the object's current metageneration matches the given
value.
|
Storage.Objects.Compose |
setAlt(String alt)
Data format for the response.
|
Storage.Objects.Compose |
setDestinationBucket(String destinationBucket)
Name of the bucket in which to store the new object.
|
Storage.Objects.Compose |
setDestinationObject(String destinationObject)
Name of the new object.
|
Storage.Objects.Compose |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Storage.Objects.Compose |
setIfGenerationMatch(com.google.common.primitives.UnsignedLong ifGenerationMatch)
Makes the operation conditional on whether the object's current generation matches the given
value.
|
Storage.Objects.Compose |
setIfMetagenerationMatch(com.google.common.primitives.UnsignedLong ifMetagenerationMatch)
Makes the operation conditional on whether the object's current metageneration matches the
given value.
|
Storage.Objects.Compose |
setKey(String key)
API key.
|
Storage.Objects.Compose |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Storage.Objects.Compose |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Storage.Objects.Compose |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Storage.Objects.Compose |
setUserIp(String userIp)
IP address of the site where the request originates.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected Storage.Objects.Compose(String destinationBucket, String destinationObject, ComposeRequest content)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
Storage.initialize(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 ComposeRequest
public Storage.Objects.Compose setAlt(String alt)
StorageRequest
setAlt
in class StorageRequest<StorageObject>
public Storage.Objects.Compose setFields(String fields)
StorageRequest
setFields
in class StorageRequest<StorageObject>
public Storage.Objects.Compose setKey(String key)
StorageRequest
setKey
in class StorageRequest<StorageObject>
public Storage.Objects.Compose setOauthToken(String oauthToken)
StorageRequest
setOauthToken
in class StorageRequest<StorageObject>
public Storage.Objects.Compose setPrettyPrint(Boolean prettyPrint)
StorageRequest
setPrettyPrint
in class StorageRequest<StorageObject>
public Storage.Objects.Compose setQuotaUser(String quotaUser)
StorageRequest
setQuotaUser
in class StorageRequest<StorageObject>
public Storage.Objects.Compose setUserIp(String userIp)
StorageRequest
setUserIp
in class StorageRequest<StorageObject>
public String getDestinationBucket()
public Storage.Objects.Compose setDestinationBucket(String destinationBucket)
public String getDestinationObject()
public Storage.Objects.Compose setDestinationObject(String destinationObject)
public com.google.common.primitives.UnsignedLong getIfMetagenerationMatch()
public Storage.Objects.Compose setIfMetagenerationMatch(com.google.common.primitives.UnsignedLong ifMetagenerationMatch)
public com.google.common.primitives.UnsignedLong getIfGenerationMatch()
public Storage.Objects.Compose setIfGenerationMatch(com.google.common.primitives.UnsignedLong ifGenerationMatch)