Package | Description |
---|---|
com.google.api.services.storage |
Modifier and Type | Method and Description |
---|---|
Storage.Objects.Copy |
Storage.Objects.copy(String sourceBucket,
String sourceObject,
String destinationBucket,
String destinationObject,
StorageObject content)
Copies an object to a destination in the same location.
|
Storage.Objects.Copy |
Storage.Objects.Copy.setAlt(String alt) |
Storage.Objects.Copy |
Storage.Objects.Copy.setDestinationBucket(String destinationBucket)
Name of the bucket in which to store the new object.
|
Storage.Objects.Copy |
Storage.Objects.Copy.setDestinationObject(String destinationObject)
Name of the new object.
|
Storage.Objects.Copy |
Storage.Objects.Copy.setFields(String fields) |
Storage.Objects.Copy |
Storage.Objects.Copy.setIfGenerationMatch(com.google.common.primitives.UnsignedLong ifGenerationMatch)
Makes the operation conditional on whether the destination object's current generation
matches the given value.
|
Storage.Objects.Copy |
Storage.Objects.Copy.setIfGenerationNotMatch(com.google.common.primitives.UnsignedLong ifGenerationNotMatch)
Makes the operation conditional on whether the destination object's current generation does
not match the given value.
|
Storage.Objects.Copy |
Storage.Objects.Copy.setIfMetagenerationMatch(com.google.common.primitives.UnsignedLong ifMetagenerationMatch)
Makes the operation conditional on whether the destination object's current metageneration
matches the given value.
|
Storage.Objects.Copy |
Storage.Objects.Copy.setIfMetagenerationNotMatch(com.google.common.primitives.UnsignedLong ifMetagenerationNotMatch)
Makes the operation conditional on whether the destination object's current metageneration
does not match the given value.
|
Storage.Objects.Copy |
Storage.Objects.Copy.setIfSourceGenerationMatch(com.google.common.primitives.UnsignedLong ifSourceGenerationMatch)
Makes the operation conditional on whether the source object's generation matches the given
value.
|
Storage.Objects.Copy |
Storage.Objects.Copy.setIfSourceGenerationNotMatch(com.google.common.primitives.UnsignedLong ifSourceGenerationNotMatch)
Makes the operation conditional on whether the source object's generation does not match the
given value.
|
Storage.Objects.Copy |
Storage.Objects.Copy.setIfSourceMetagenerationMatch(com.google.common.primitives.UnsignedLong ifSourceMetagenerationMatch)
Makes the operation conditional on whether the source object's current metageneration matches
the given value.
|
Storage.Objects.Copy |
Storage.Objects.Copy.setIfSourceMetagenerationNotMatch(com.google.common.primitives.UnsignedLong ifSourceMetagenerationNotMatch)
Makes the operation conditional on whether the source object's current metageneration does
not match the given value.
|
Storage.Objects.Copy |
Storage.Objects.Copy.setKey(String key) |
Storage.Objects.Copy |
Storage.Objects.Copy.setOauthToken(String oauthToken) |
Storage.Objects.Copy |
Storage.Objects.Copy.setPrettyPrint(Boolean prettyPrint) |
Storage.Objects.Copy |
Storage.Objects.Copy.setProjection(String projection)
Set of properties to return.
|
Storage.Objects.Copy |
Storage.Objects.Copy.setQuotaUser(String quotaUser) |
Storage.Objects.Copy |
Storage.Objects.Copy.setSourceBucket(String sourceBucket)
Name of the bucket in which to find the source object.
|
Storage.Objects.Copy |
Storage.Objects.Copy.setSourceGeneration(com.google.common.primitives.UnsignedLong sourceGeneration)
If present, selects a specific revision of the source object (as opposed to the latest
version, the default).
|
Storage.Objects.Copy |
Storage.Objects.Copy.setSourceObject(String sourceObject)
Name of the source object.
|
Storage.Objects.Copy |
Storage.Objects.Copy.setUserIp(String userIp) |