Skip to content

Commit 96f4736

Browse files
committed
storage: fix broken links
1 parent 35aac8a commit 96f4736

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

packages/storage/src/bucket.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,14 +256,14 @@ function Bucket(storage, name) {
256256
* the ACLs defined on your bucket, as well as set, update, and delete them.
257257
*
258258
* Buckets also have
259-
* [default ACLs](https://cloud.google.com/storage/docs/accesscontrol#default)
259+
* [default ACLs](https://cloud.google.com/storage/docs/access-control/lists#default)
260260
* for all created files. Default ACLs specify permissions that all new
261261
* objects added to the bucket will inherit by default. You can add, delete,
262262
* get, and update entities and permissions for these as well with
263263
* {module:storage/bucket#acl.default}.
264264
*
265265
* @resource [About Access Control Lists]{@link http://goo.gl/6qBBPO}
266-
* @resource [Default ACLs]{@link https://cloud.google.com/storage/docs/accesscontrol#default}
266+
* @resource [Default ACLs]{@link https://cloud.google.com/storage/docs/access-control/lists#default}
267267
*
268268
* @mixes module:storage/acl
269269
*
@@ -294,8 +294,8 @@ function Bucket(storage, name) {
294294
});
295295

296296
/**
297-
* Cloud Storage Buckets have [default ACLs](http://goo.gl/YpGdyv) for
298-
* all created files. You can add, delete, get, and update entities and
297+
* Cloud Storage Buckets have [default ACLs](https://cloud.google.com/storage/docs/access-control/lists#default)
298+
* for all created files. You can add, delete, get, and update entities and
299299
* permissions for these as well. The method signatures and examples are all
300300
* the same, after only prefixing the method call with `default`.
301301
*

packages/storage/src/file.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ File.prototype.createReadStream = function(options) {
744744
* Create a unique resumable upload session URI. This is the first step when
745745
* performing a resumable upload.
746746
*
747-
* See the [Resumable upload guide](https://cloud.google.com/storage/docs/json_api/v1/how-tos/upload#resumable)
747+
* See the [Resumable upload guide](https://cloud.google.com/storage/docs/json_api/v1/how-tos/resumable-upload)
748748
* for more on how the entire process works.
749749
*
750750
* <h4>Note</h4>
@@ -753,7 +753,7 @@ File.prototype.createReadStream = function(options) {
753753
* any of the details, see {module:storage/createWriteStream}. Resumable uploads
754754
* are performed by default.
755755
*
756-
* @resource [Resumable upload guide]{@link https://cloud.google.com/storage/docs/json_api/v1/how-tos/upload#resumable}
756+
* @resource [Resumable upload guide]{@link https://cloud.google.com/storage/docs/json_api/v1/how-tos/resumable-upload}
757757
*
758758
* @param {object=} options - Configuration object.
759759
* @param {object} options.metadata - Metadata to set on the file.
@@ -843,7 +843,7 @@ File.prototype.createResumableUpload = function(options, callback) {
843843
* NOTE: Writable streams will emit the `finish` event when the file is fully
844844
* uploaded.
845845
*
846-
* @resource [Upload Options (Simple or Resumable)]{@link https://cloud.google.com/storage/docs/json_api/v1/how-tos/upload#uploads}
846+
* @resource [Upload Options (Simple or Resumable)]{@link https://cloud.google.com/storage/docs/json_api/v1/how-tos/upload}
847847
* @resource [Objects: insert API Documentation]{@link https://cloud.google.com/storage/docs/json_api/v1/objects/insert}
848848
*
849849
* @param {object=} options - Configuration object.
@@ -1183,7 +1183,7 @@ File.prototype.setEncryptionKey = function(encryptionKey) {
11831183
* Get a signed policy document to allow a user to upload data with a POST
11841184
* request.
11851185
*
1186-
* @resource [Policy Document Reference]{@link https://cloud.google.com/storage/docs/reference-methods#policydocument}
1186+
* @resource [Policy Document Reference]{@link https://cloud.google.com/storage/docs/xml-api/post-object#policydocument}
11871187
*
11881188
* @throws {Error} If an expiration timestamp from the past is given.
11891189
* @throws {Error} If options.equals has an array with less or more than two
@@ -1351,7 +1351,7 @@ File.prototype.getSignedPolicy = function(options, callback) {
13511351
/**
13521352
* Get a signed URL to allow limited time access to the file.
13531353
*
1354-
* @resource [Signed URLs Reference]{@link https://cloud.google.com/storage/docs/access-control#Signed-URLs}
1354+
* @resource [Signed URLs Reference]{@link https://cloud.google.com/storage/docs/access-control/signed-urls}
13551355
*
13561356
* @throws {Error} if an expiration timestamp from the past is given.
13571357
*

packages/storage/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ util.inherits(Storage, common.Service);
101101
* - `gcs.acl.READER_ROLE` - ("READER")
102102
* - `gcs.acl.WRITER_ROLE` - ("WRITER")
103103
*
104-
* @resource [About Access Control Lists]{@link https://cloud.google.com/storage/docs/access-control#About-Access-Control-Lists}
104+
* @resource [About Access Control Lists]{@link https://cloud.google.com/storage/docs/access-control/lists}
105105
*
106106
* @type {object}
107107
*

0 commit comments

Comments
 (0)