File tree Expand file tree Collapse file tree
src/main/java/com/google/gcloud/storage Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
2- refs/heads/master: 6423879951de89d3deade718275d9a6545360947
2+ refs/heads/master: 5515d52b77c2f52df5d0b0806812b7850675f9d7
33refs/heads/travis: 0fa997e2fc9c6b61b2d91e6d163655aae67d44b6
44refs/heads/gh-pages: 5a10432ecc75f29812e33a8236c900379509fe99
Original file line number Diff line number Diff line change 1- Google Cloud Java Client -- Core Services
1+ Google Cloud Java Client -- Core
22=========================================
33
44This module provides common functionality required by service-specific modules of this library.
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Java idiomatic client for [Google Cloud Datastore] (https://cloud.google.com/dat
88
99- [ Homepage] (https://googlecloudplatform.github.io/gcloud-java/ )
1010- [ API Documentation] (http://googlecloudplatform.github.io/gcloud-java/apidocs/index.html?com/google/gcloud/datastore/package-summary.html )
11- - [ Examples] (http://googlecloudplatform.github.io/gcloud-java/apidocs/index.html ?com/google/gcloud/examples/package-summary .html )
11+ - [ Examples] (http://googlecloudplatform.github.io/gcloud-java/apidocs/?com/google/gcloud/examples/DatastoreExample .html )
1212
1313> Note: This client is a work-in-progress, and may occasionally
1414> make backwards-incompatible changes.
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Java idiomatic client for [Google Cloud Storage] (https://cloud.google.com/stora
88
99- [ Homepage] (https://googlecloudplatform.github.io/gcloud-java/ )
1010- [ API Documentation] (http://googlecloudplatform.github.io/gcloud-java/apidocs/index.html?com/google/gcloud/storage/package-summary.html )
11- - [ Examples] (http://googlecloudplatform.github.io/gcloud-java/apidocs/index.html ?com/google/gcloud/examples/package-summary .html )
11+ - [ Examples] (http://googlecloudplatform.github.io/gcloud-java/apidocs/?com/google/gcloud/examples/StorageExample .html )
1212
1313> Note: This client is a work-in-progress, and may occasionally
1414> make backwards-incompatible changes.
Original file line number Diff line number Diff line change @@ -632,9 +632,15 @@ public static Builder builder() {
632632 * is only valid within a certain time period.
633633 * This is particularly useful if you don't want publicly
634634 * accessible blobs, but don't want to require users to explicitly log in.
635+ * <p>
636+ * Example usage of creating a signed URL that is valid for 2 weeks:
637+ * <pre> {@code
638+ * service.signUrl(BlobInfo.of("bucket", "name"), TimeUnit.DAYS.toSeconds(14));
639+ * }</pre>
635640 *
636641 * @param blobInfo the blob associated with the signed url
637642 * @param expirationTimeInSeconds the signed URL expiration (using epoch time)
643+ * @param options optional URL signing options
638644 * @see <a href="https://cloud.google.com/storage/docs/access-control#Signed-URLs">Signed-URLs</a>
639645 */
640646 URL signUrl (BlobInfo blobInfo , long expirationTimeInSeconds , SignUrlOption ... options );
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ if [ "${TRAVIS_JDK_VERSION}" == "oraclejdk7" -a "${TRAVIS_BRANCH}" == "master" -
2424 git add $SITE_VERSION
2525 echo " <html><head><meta http-equiv=\" refresh\" content=\" 0; URL='http://GoogleCloudPlatform.github.io/gcloud-java/${SITE_VERSION} /index.html'\" /></head><body></body></html>" > index.html
2626 git add index.html
27+ echo " <html><head><script>window.location.replace('/gcloud-java/${SITE_VERSION} /apidocs' + location.search)</script></head><body></body></html>" > apidocs/index.html
28+ git add apidocs/index.html
2729 git commit -m " Added a new site for version $SITE_VERSION and updated the root directory's redirect."
2830 git config --global push.default simple
2931 git push --quiet " https://${CI_DEPLOY_USERNAME} :${CI_DEPLOY_PASSWORD} @github.com/GoogleCloudPlatform/gcloud-java.git" > /dev/null 2>&1
You can’t perform that action at this time.
0 commit comments