Skip to content

Commit 30fff15

Browse files
yoshi-automationalexander-fenster
authored andcommitted
fix: allow calls with no request, add JSON proto
1 parent d4d0d58 commit 30fff15

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ has instructions for running the samples.
9393
| --------------------------- | --------------------------------- | ------ |
9494
| Acl | [source code](https://github.com/googleapis/nodejs-storage/blob/master/samples/acl.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/acl.js,samples/README.md) |
9595
| Bucket Lock | [source code](https://github.com/googleapis/nodejs-storage/blob/master/samples/bucketLock.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/bucketLock.js,samples/README.md) |
96+
| Storage Get Bucket Metadata. | [source code](https://github.com/googleapis/nodejs-storage/blob/master/samples/bucketMetadata.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/bucketMetadata.js,samples/README.md) |
9697
| Buckets | [source code](https://github.com/googleapis/nodejs-storage/blob/master/samples/buckets.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/buckets.js,samples/README.md) |
9798
| Encryption | [source code](https://github.com/googleapis/nodejs-storage/blob/master/samples/encryption.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/encryption.js,samples/README.md) |
9899
| Files | [source code](https://github.com/googleapis/nodejs-storage/blob/master/samples/files.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/files.js,samples/README.md) |

samples/README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ objects to users via direct download.
2020
* [Samples](#samples)
2121
* [Acl](#acl)
2222
* [Bucket Lock](#bucket-lock)
23+
* [Storage Get Bucket Metadata.](#storage-get-bucket-metadata.)
2324
* [Buckets](#buckets)
2425
* [Encryption](#encryption)
2526
* [Files](#files)
@@ -71,6 +72,25 @@ __Usage:__
7172

7273

7374

75+
### Storage Get Bucket Metadata.
76+
77+
Get bucket metadata.
78+
79+
View the [source code](https://github.com/googleapis/nodejs-storage/blob/master/samples/bucketMetadata.js).
80+
81+
[![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/bucketMetadata.js,samples/README.md)
82+
83+
__Usage:__
84+
85+
86+
`node bucketMetadata.js <BUCKET_NAME>`
87+
88+
89+
-----
90+
91+
92+
93+
7494
### Buckets
7595

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

synth.metadata

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"updateTime": "2019-06-18T01:04:57.314259Z",
2+
"updateTime": "2019-08-02T11:26:24.848730Z",
33
"sources": [
44
{
55
"template": {

0 commit comments

Comments
 (0)