Skip to content

Commit 64121d8

Browse files
committed
Enhance storage/blob signUrl javadoc
1 parent 286065d commit 64121d8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

gcloud-java-storage/src/main/java/com/google/gcloud/storage/Blob.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ public BlobWriteChannel writer(BlobTargetOption... options) {
248248
* want to require users to explicitly log in.
249249
*
250250
* @param duration time until the signed URL expires, expressed in {@code unit}. The finer
251-
* granularity supported is 1 second
251+
* granularity supported is 1 second, finer granularities will be truncated
252252
* @param unit time unit of the {@code duration} parameter
253253
* @param options optional URL signing options
254254
* @return a signed URL for this bucket and the specified options

gcloud-java-storage/src/main/java/com/google/gcloud/storage/Storage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ public static Builder builder() {
649649
*
650650
* @param blobInfo the blob associated with the signed URL
651651
* @param duration time until the signed URL expires, expressed in {@code unit}. The finer
652-
* granularity supported is 1 second
652+
* granularity supported is 1 second, finer granularities will be truncated
653653
* @param unit time unit of the {@code duration} parameter
654654
* @param options optional URL signing options
655655
* @see <a href="https://cloud.google.com/storage/docs/access-control#Signed-URLs">Signed-URLs</a>

0 commit comments

Comments
 (0)