@@ -33,7 +33,7 @@ amount of data at any time.
33
33
34
34
View the [ documentation] [ acl_docs ] or the [ source code] [ acl_code ] .
35
35
36
- __ Usage:__ ` node acl --help `
36
+ __ Usage:__ ` node acl.js --help `
37
37
38
38
```
39
39
Commands:
@@ -49,26 +49,19 @@ Commands:
49
49
remove-file-owner <bucketName> <fileName> <userEmail> Removes a user from the ACL of a file.
50
50
51
51
Options:
52
- --help Show help [boolean]
52
+ --help Show help [boolean]
53
53
54
54
Examples:
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 [email protected] Prints a user's ACL for a bucket named "my-bucket".
57
- node acl add-bucket-owner my-bucket [email protected] Adds "[email protected] " as an owner of a bucket named
58
- "my-bucket".
59
- node acl remove-bucket-owner my-bucket [email protected] Removes "[email protected] " from the ACL of a bucket named
60
- "my-bucket".
61
- node acl add-bucket-default-owner my-bucket [email protected] Adds "[email protected] " as an owner in the default ACL of
62
- a bucket named "my-bucket".
63
- node acl remove-bucket-default-owner my-bucket Removes "[email protected] " from the default ACL of a
64
- [email protected] 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
-
68
- node acl add-file-owner my-bucket file.txt [email protected] Adds "[email protected] " as an owner of a file named
69
- "file.txt".
70
- node acl remove-file-owner my-bucket file.txt Removes "[email protected] " from the ACL of a file named
71
-
55
+ node acl.js print-bucket-acl my-bucket
56
+ node acl.js print-bucket-acl-for-user my-bucket [email protected]
57
+ node acl.js add-bucket-owner my-bucket [email protected]
58
+ node acl.js remove-bucket-owner my-bucket [email protected]
59
+ node acl.js add-bucket-default-owner my-bucket [email protected]
60
+ node acl.js remove-bucket-default-owner my-bucket [email protected]
61
+ node acl.js print-file-acl my-bucket file.txt
62
+ node acl.js print-file-acl-for-user my-bucket file.txt [email protected]
63
+ node acl.js add-file-owner my-bucket file.txt [email protected]
64
+ node acl.js remove-file-owner my-bucket file.txt [email protected]
72
65
73
66
For more information, see https://cloud.google.com/storage/docs/access-control/create-manage-lists
74
67
```
@@ -80,7 +73,7 @@ For more information, see https://cloud.google.com/storage/docs/access-control/c
80
73
81
74
View the [ documentation] [ buckets_docs ] or the [ source code] [ buckets_code ] .
82
75
83
- __ Usage:__ ` node buckets --help `
76
+ __ Usage:__ ` node buckets.js --help `
84
77
85
78
```
86
79
Commands:
@@ -89,12 +82,12 @@ Commands:
89
82
delete <bucket> Deletes a bucket.
90
83
91
84
Options:
92
- --help Show help [boolean]
85
+ --help Show help [boolean]
93
86
94
87
Examples:
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".
98
91
99
92
For more information, see https://cloud.google.com/storage/docs
100
93
```
@@ -106,7 +99,7 @@ For more information, see https://cloud.google.com/storage/docs
106
99
107
100
View the [ documentation] [ encryption_docs ] or the [ source code] [ encryption_code ] .
108
101
109
- __ Usage:__ ` node encryption --help `
102
+ __ Usage:__ ` node encryption.js --help `
110
103
111
104
```
112
105
Commands:
@@ -119,12 +112,12 @@ Options:
119
112
--help Show help [boolean]
120
113
121
114
Examples:
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
124
117
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
126
119
./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
128
121
QxhqaZEqBGVTW55HhQw9Q= SxafpsdfSDFS89sds9Q= "gs://my-bucket/file_encrypted.txt".
129
122
130
123
For more information, see https://cloud.google.com/storage/docs
@@ -137,7 +130,7 @@ For more information, see https://cloud.google.com/storage/docs
137
130
138
131
View the [ documentation] [ files_docs ] or the [ source code] [ files_code ] .
139
132
140
- __ Usage:__ ` node files --help `
133
+ __ Usage:__ ` node files.js --help `
141
134
142
135
```
143
136
Commands:
@@ -158,19 +151,20 @@ Options:
158
151
--help Show help [boolean]
159
152
160
153
Examples:
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".
172
165
173
166
For more information, see https://cloud.google.com/storage/docs
167
+
174
168
```
175
169
176
170
[ files_docs ] : https://cloud.google.com/storage/docs
0 commit comments