Package | Description |
---|---|
com.google.api.services.storage |
Modifier and Type | Method and Description |
---|---|
Storage.Objects.Rewrite |
Storage.Objects.rewrite(String sourceBucket,
String sourceObject,
String destinationBucket,
String destinationObject,
StorageObject content)
Rewrites a source object to a destination object.
|
Storage.Objects.Rewrite |
Storage.Objects.Rewrite.set(String parameterName,
Object value) |
Storage.Objects.Rewrite |
Storage.Objects.Rewrite.setAlt(String alt) |
Storage.Objects.Rewrite |
Storage.Objects.Rewrite.setDestinationBucket(String destinationBucket)
Name of the bucket in which to store the new object.
|
Storage.Objects.Rewrite |
Storage.Objects.Rewrite.setDestinationObject(String destinationObject)
Name of the new object.
|
Storage.Objects.Rewrite |
Storage.Objects.Rewrite.setDestinationPredefinedAcl(String destinationPredefinedAcl)
Apply a predefined set of access controls to the destination object.
|
Storage.Objects.Rewrite |
Storage.Objects.Rewrite.setFields(String fields) |
Storage.Objects.Rewrite |
Storage.Objects.Rewrite.setIfGenerationMatch(Long ifGenerationMatch)
Makes the operation conditional on whether the destination object's current generation
matches the given value.
|
Storage.Objects.Rewrite |
Storage.Objects.Rewrite.setIfGenerationNotMatch(Long ifGenerationNotMatch)
Makes the operation conditional on whether the destination object's current generation does
not match the given value.
|
Storage.Objects.Rewrite |
Storage.Objects.Rewrite.setIfMetagenerationMatch(Long ifMetagenerationMatch)
Makes the operation conditional on whether the destination object's current metageneration
matches the given value.
|
Storage.Objects.Rewrite |
Storage.Objects.Rewrite.setIfMetagenerationNotMatch(Long ifMetagenerationNotMatch)
Makes the operation conditional on whether the destination object's current metageneration
does not match the given value.
|
Storage.Objects.Rewrite |
Storage.Objects.Rewrite.setIfSourceGenerationMatch(Long ifSourceGenerationMatch)
Makes the operation conditional on whether the source object's generation matches the given
value.
|
Storage.Objects.Rewrite |
Storage.Objects.Rewrite.setIfSourceGenerationNotMatch(Long ifSourceGenerationNotMatch)
Makes the operation conditional on whether the source object's generation does not match
the given value.
|
Storage.Objects.Rewrite |
Storage.Objects.Rewrite.setIfSourceMetagenerationMatch(Long ifSourceMetagenerationMatch)
Makes the operation conditional on whether the source object's current metageneration
matches the given value.
|
Storage.Objects.Rewrite |
Storage.Objects.Rewrite.setIfSourceMetagenerationNotMatch(Long ifSourceMetagenerationNotMatch)
Makes the operation conditional on whether the source object's current metageneration does
not match the given value.
|
Storage.Objects.Rewrite |
Storage.Objects.Rewrite.setKey(String key) |
Storage.Objects.Rewrite |
Storage.Objects.Rewrite.setMaxBytesRewrittenPerCall(Long maxBytesRewrittenPerCall)
The maximum number of bytes that will be rewritten per rewrite request.
|
Storage.Objects.Rewrite |
Storage.Objects.Rewrite.setOauthToken(String oauthToken) |
Storage.Objects.Rewrite |
Storage.Objects.Rewrite.setPrettyPrint(Boolean prettyPrint) |
Storage.Objects.Rewrite |
Storage.Objects.Rewrite.setProjection(String projection)
Set of properties to return.
|
Storage.Objects.Rewrite |
Storage.Objects.Rewrite.setQuotaUser(String quotaUser) |
Storage.Objects.Rewrite |
Storage.Objects.Rewrite.setRewriteToken(String rewriteToken)
Include this field (from the previous rewrite response) on each rewrite request after the
first one, until the rewrite response 'done' flag is true.
|
Storage.Objects.Rewrite |
Storage.Objects.Rewrite.setSourceBucket(String sourceBucket)
Name of the bucket in which to find the source object.
|
Storage.Objects.Rewrite |
Storage.Objects.Rewrite.setSourceGeneration(Long sourceGeneration)
If present, selects a specific revision of the source object (as opposed to the latest
version, the default).
|
Storage.Objects.Rewrite |
Storage.Objects.Rewrite.setSourceObject(String sourceObject)
Name of the source object.
|
Storage.Objects.Rewrite |
Storage.Objects.Rewrite.setUserIp(String userIp) |