Skip to content
This repository was archived by the owner on Mar 3, 2026. It is now read-only.

Commit aadec92

Browse files
docs: update list of available samples (#1320)
1 parent c77eaa3 commit aadec92

3 files changed

Lines changed: 20 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ has instructions for running the samples.
164164
| Remove Bucket Owner Acl | [source code](https://github.com/googleapis/nodejs-storage/blob/master/samples/removeBucketOwnerAcl.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-storage&page=editor&open_in_editor=samples/removeBucketOwnerAcl.js,samples/README.md) |
165165
| Remove File Owner Acl | [source code](https://github.com/googleapis/nodejs-storage/blob/master/samples/removeFileOwnerAcl.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-storage&page=editor&open_in_editor=samples/removeFileOwnerAcl.js,samples/README.md) |
166166
| Remove Retention Policy | [source code](https://github.com/googleapis/nodejs-storage/blob/master/samples/removeRetentionPolicy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-storage&page=editor&open_in_editor=samples/removeRetentionPolicy.js,samples/README.md) |
167+
| Rename File | [source code](https://github.com/googleapis/nodejs-storage/blob/master/samples/renameFile.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-storage&page=editor&open_in_editor=samples/renameFile.js,samples/README.md) |
167168
| Rotate Encryption Key | [source code](https://github.com/googleapis/nodejs-storage/blob/master/samples/rotateEncryptionKey.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-storage&page=editor&open_in_editor=samples/rotateEncryptionKey.js,samples/README.md) |
168169
| Set Event Based Hold | [source code](https://github.com/googleapis/nodejs-storage/blob/master/samples/setEventBasedHold.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-storage&page=editor&open_in_editor=samples/setEventBasedHold.js,samples/README.md) |
169170
| Set Retention Policy | [source code](https://github.com/googleapis/nodejs-storage/blob/master/samples/setRetentionPolicy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-storage&page=editor&open_in_editor=samples/setRetentionPolicy.js,samples/README.md) |

samples/README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ objects to users via direct download.
8686
* [Remove Bucket Owner Acl](#remove-bucket-owner-acl)
8787
* [Remove File Owner Acl](#remove-file-owner-acl)
8888
* [Remove Retention Policy](#remove-retention-policy)
89+
* [Rename File](#rename-file)
8990
* [Rotate Encryption Key](#rotate-encryption-key)
9091
* [Set Event Based Hold](#set-event-based-hold)
9192
* [Set Retention Policy](#set-retention-policy)
@@ -1293,6 +1294,23 @@ __Usage:__
12931294

12941295

12951296

1297+
### Rename File
1298+
1299+
View the [source code](https://github.com/googleapis/nodejs-storage/blob/master/samples/renameFile.js).
1300+
1301+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-storage&page=editor&open_in_editor=samples/renameFile.js,samples/README.md)
1302+
1303+
__Usage:__
1304+
1305+
1306+
`node samples/renameFile.js`
1307+
1308+
1309+
-----
1310+
1311+
1312+
1313+
12961314
### Rotate Encryption Key
12971315

12981316
View the [source code](https://github.com/googleapis/nodejs-storage/blob/master/samples/rotateEncryptionKey.js).

synth.metadata

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/nodejs-storage.git",
7-
"sha": "62832a9f631d6dc91c6564970c45570a4d719103"
7+
"sha": "c77eaa363be18b6b9ddd1f7b505e23be8cd5bf98"
88
}
99
},
1010
{

0 commit comments

Comments
 (0)