@@ -33,7 +33,7 @@ amount of data at any time.
3333
3434View the [ documentation] [ acl_docs ] or the [ source code] [ acl_code ] .
3535
36- __ Usage:__ ` node acl --help `
36+ __ Usage:__ ` node acl.js --help `
3737
3838```
3939Commands:
@@ -49,26 +49,19 @@ Commands:
4949 remove-file-owner <bucketName> <fileName> <userEmail> Removes a user from the ACL of a file.
5050
5151Options:
52- --help Show help [boolean]
52+ --help Show help [boolean]
5353
5454Examples:
55- node acl print-bucket-acl my-bucket Prints the ACL for a bucket named "my-bucket".
56- node acl print-bucket-acl-for-user my-bucket bob@company.com Prints a user's ACL for a bucket named "my-bucket".
57- node acl add-bucket-owner my-bucket bob@company.com Adds "bob@company.com" as an owner of a bucket named
58- "my-bucket".
59- node acl remove-bucket-owner my-bucket bob@company.com Removes "bob@company.com" from the ACL of a bucket named
60- "my-bucket".
61- node acl add-bucket-default-owner my-bucket bob@company.com Adds "bob@company.com" as an owner in the default ACL of
62- a bucket named "my-bucket".
63- node acl remove-bucket-default-owner my-bucket Removes "bob@company.com" from the default ACL of a
64- bob@company.com bucket named "my-bucket".
65- node acl print-file-acl my-bucket file.txt Prints the ACL for a file named "file.txt".
66- node acl print-file-acl-for-user my-bucket file.txt Prints a user's ACL for a file named "file.txt".
67- bob@company.com
68- node acl add-file-owner my-bucket file.txt bob@company.com Adds "bob@company.com" as an owner of a file named
69- "file.txt".
70- node acl remove-file-owner my-bucket file.txt Removes "bob@company.com" from the ACL of a file named
71- bob@company.com "file.txt".
55+ node acl.js print-bucket-acl my-bucket
56+ node acl.js print-bucket-acl-for-user my-bucket bob@company.com
57+ node acl.js add-bucket-owner my-bucket bob@company.com
58+ node acl.js remove-bucket-owner my-bucket bob@company.com
59+ node acl.js add-bucket-default-owner my-bucket bob@company.com
60+ node acl.js remove-bucket-default-owner my-bucket bob@company.com
61+ node acl.js print-file-acl my-bucket file.txt
62+ node acl.js print-file-acl-for-user my-bucket file.txt bob@company.com
63+ node acl.js add-file-owner my-bucket file.txt bob@company.com
64+ node acl.js remove-file-owner my-bucket file.txt bob@company.com
7265
7366For more information, see https://cloud.google.com/storage/docs/access-control/create-manage-lists
7467```
@@ -80,7 +73,7 @@ For more information, see https://cloud.google.com/storage/docs/access-control/c
8073
8174View the [ documentation] [ buckets_docs ] or the [ source code] [ buckets_code ] .
8275
83- __ Usage:__ ` node buckets --help `
76+ __ Usage:__ ` node buckets.js --help `
8477
8578```
8679Commands:
@@ -89,12 +82,12 @@ Commands:
8982 delete <bucket> Deletes a bucket.
9083
9184Options:
92- --help Show help [boolean]
85+ --help Show help [boolean]
9386
9487Examples:
95- node buckets create my-bucket Creates a new bucket named "my-bucket".
96- node buckets list Lists all buckets in the current project.
97- node buckets delete my-bucket Deletes a bucket named "my-bucket".
88+ node buckets.js create my-bucket Creates a new bucket named "my-bucket".
89+ node buckets.js list Lists all buckets in the current project.
90+ node buckets.js delete my-bucket Deletes a bucket named "my-bucket".
9891
9992For more information, see https://cloud.google.com/storage/docs
10093```
@@ -106,7 +99,7 @@ For more information, see https://cloud.google.com/storage/docs
10699
107100View the [ documentation] [ encryption_docs ] or the [ source code] [ encryption_code ] .
108101
109- __ Usage:__ ` node encryption --help `
102+ __ Usage:__ ` node encryption.js --help `
110103
111104```
112105Commands:
@@ -119,12 +112,12 @@ Options:
119112 --help Show help [boolean]
120113
121114Examples:
122- node encryption generate-encryption-key Generate a sample encryption key.
123- node encryption upload my-bucket ./resources/test.txt Encrypts and uploads "resources/test.txt" to
115+ node encryption.js generate-encryption-key Generate a sample encryption key.
116+ node encryption.js upload my-bucket ./resources/test.txt Encrypts and uploads "resources/test.txt" to
124117 file_encrypted.txt QxhqaZEqBGVTW55HhQw9Q= "gs://my-bucket/file_encrypted.txt".
125- node encryption download my-bucket file_encrypted.txt Decrypts and downloads
118+ node encryption.js download my-bucket file_encrypted.txt Decrypts and downloads
126119 ./file.txt QxhqaZEqBGVTW55HhQw9Q= "gs://my-bucket/file_encrypted.txt" to "./file.txt".
127- node encryption rotate my-bucket file_encrypted.txt Rotates encryptiong keys for
120+ node encryption.js rotate my-bucket file_encrypted.txt Rotates encryption keys for
128121 QxhqaZEqBGVTW55HhQw9Q= SxafpsdfSDFS89sds9Q= "gs://my-bucket/file_encrypted.txt".
129122
130123For more information, see https://cloud.google.com/storage/docs
@@ -137,7 +130,7 @@ For more information, see https://cloud.google.com/storage/docs
137130
138131View the [ documentation] [ files_docs ] or the [ source code] [ files_code ] .
139132
140- __ Usage:__ ` node files --help `
133+ __ Usage:__ ` node files.js --help `
141134
142135```
143136Commands:
@@ -158,19 +151,20 @@ Options:
158151 --help Show help [boolean]
159152
160153Examples:
161- node files list my-bucket Lists files in "my-bucket".
162- node files list my-bucket public/ Lists files in "my-bucket" filtered by prefix "public/".
163- node files upload my-bucket ./file.txt Uploads "./file.txt" to "my-bucket".
164- node files download my-bucket file.txt ./file.txt Downloads "gs://my-bucket/file.txt" to "./file.txt".
165- node files delete my-bucket file.txt Deletes "gs://my-bucket/file.txt".
166- node files get-metadata my-bucket file.txt Gets the metadata for "gs://my-bucket/file.txt".
167- node files make-public my-bucket file.txt Makes "gs://my-bucket/file.txt" public.
168- node files move my-bucket file.txt file2.txt Renames "gs://my-bucket/file.txt" to
169- "gs://my-bucket/file2.txt".
170- node files copy my-bucket file.txt my-other-bucket file.txt Copies "gs://my-bucket/file.txt" to
171- "gs://my-other-bucket/file.txt".
154+ node files.js list my-bucket Lists files in "my-bucket".
155+ node files.js list my-bucket public/ Lists files in "my-bucket" filtered by prefix "public/".
156+ node files.js upload my-bucket ./file.txt Uploads "./file.txt" to "my-bucket".
157+ node files.js download my-bucket file.txt ./file.txt Downloads "gs://my-bucket/file.txt" to "./file.txt".
158+ node files.js delete my-bucket file.txt Deletes "gs://my-bucket/file.txt".
159+ node files.js get-metadata my-bucket file.txt Gets the metadata for "gs://my-bucket/file.txt".
160+ node files.js make-public my-bucket file.txt Makes "gs://my-bucket/file.txt" public.
161+ node files.js move my-bucket file.txt file2.txt Renames "gs://my-bucket/file.txt" to
162+ "gs://my-bucket/file2.txt".
163+ node files.js copy my-bucket file.txt my-other-bucket Copies "gs://my-bucket/file.txt" to
164+ file.txt "gs://my-other-bucket/file.txt".
172165
173166For more information, see https://cloud.google.com/storage/docs
167+
174168```
175169
176170[ files_docs ] : https://cloud.google.com/storage/docs
0 commit comments