Skip to content

Commit 8084f47

Browse files
Apply suggestions from code review
Co-authored-by: BenWhitehead <BenWhitehead@users.noreply.github.com>
1 parent 6c57139 commit 8084f47

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

google-cloud-storage/src/main/java/com/google/cloud/storage/ParallelCompositeUploadBlobWriteSessionConfig.java

+6-8
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,7 @@ public ParallelCompositeUploadBlobWriteSessionConfig withPartCleanupStrategy(
251251
*
252252
* <p><i>Default: </i> {@link PartMetadataFieldDecorator#noOp()}
253253
*
254-
* @since 2.35.1 This new api is in preview and is subject to breaking changes.
255-
* @param partMetadataFieldDecorator
256-
* @return
254+
* @since 2.36.0 This new api is in preview and is subject to breaking changes.
257255
*/
258256
@BetaApi
259257
public ParallelCompositeUploadBlobWriteSessionConfig withPartMetadataFieldDecorator(
@@ -674,11 +672,11 @@ protected String fmtFields(String randomKey, String ultimateObjectName, String p
674672
}
675673

676674
/**
677-
* A Decorator which is used to manipulate metadata fields, specifically on the part files used in
675+
* A Decorator which is used to manipulate metadata fields, specifically on the part objects created in
678676
* a Parallel Composite Upload
679677
*
680678
* @see #withPartMetadataFieldDecorator(PartMetadataFieldDecorator)
681-
* @since 2.35.1 This new api is in preview and is subject to breaking changes.
679+
* @since 2.36.0 This new api is in preview and is subject to breaking changes.
682680
*/
683681
@BetaApi
684682
@Immutable
@@ -688,16 +686,16 @@ public abstract static class PartMetadataFieldDecorator implements Serializable
688686

689687
/**
690688
* A decorator that is used to manipulate the Custom Time Metadata field of part files. {@link
691-
* com.google.storage.v2.Object#customTime_}
689+
* BlobInfo#getCustomTimeOffsetDateTime()}
692690
*
693-
* <p>When provided with a duration, a time in the future will be calculated for each part file
691+
* <p>When provided with a duration, a time in the future will be calculated for each part object
694692
* upon upload, this new value can be used in OLM rules to cleanup abandoned part files.
695693
*
696694
* <p>See [CustomTime OLM
697695
* documentation](https://cloud.google.com/storage/docs/lifecycle#dayssincecustomtime)
698696
*
699697
* @see #withPartMetadataFieldDecorator(PartMetadataFieldDecorator)
700-
* @since 2.35.1 This new api is in preview and is subject to breaking changes.
698+
* @since 2.36.0 This new api is in preview and is subject to breaking changes.
701699
*/
702700
@BetaApi
703701
public static PartMetadataFieldDecorator setCustomTimeInFuture(Duration timeInFuture) {

0 commit comments

Comments
 (0)