Package com.google.cloud.storage
Class ParallelCompositeUploadBlobWriteSessionConfig.PartCleanupStrategy
java.lang.Object
com.google.cloud.storage.ParallelCompositeUploadBlobWriteSessionConfig.PartCleanupStrategy
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ParallelCompositeUploadBlobWriteSessionConfig
@BetaApi
@Immutable
public static class ParallelCompositeUploadBlobWriteSessionConfig.PartCleanupStrategy
extends Object
implements Serializable
A cleanup strategy which will dictate what cleanup operations are performed automatically when
performing a parallel composite upload.
- Since:
- 2.28.0 This new api is in preview and is subject to breaking changes.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionalways()
Cleanup strategy which will always attempt to clean up part and intermediary compose objects either on success or on error.never()
Cleanup strategy which will never attempt to clean up parts or intermediary compose objects either on success or on error.Cleanup strategy which will only attempt to clean up parts and intermediary compose objects either on success.
-
Method Details
-
always
Cleanup strategy which will always attempt to clean up part and intermediary compose objects either on success or on error.- Since:
- 2.28.0 This new api is in preview and is subject to breaking changes.
- See Also:
-
onlyOnSuccess
@BetaApi public static ParallelCompositeUploadBlobWriteSessionConfig.PartCleanupStrategy onlyOnSuccess()Cleanup strategy which will only attempt to clean up parts and intermediary compose objects either on success.- Since:
- 2.28.0 This new api is in preview and is subject to breaking changes.
- See Also:
-
never
Cleanup strategy which will never attempt to clean up parts or intermediary compose objects either on success or on error.- Since:
- 2.28.0 This new api is in preview and is subject to breaking changes.
- See Also:
-