We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent deee850 commit e4c800dCopy full SHA for e4c800d
samples/bucketMetadata.js
@@ -37,9 +37,7 @@ function main(bucketName = 'my-bucket') {
37
// Get Bucket Metadata
38
const [metadata] = await storage.bucket(bucketName).getMetadata();
39
40
- for (const [key, value] of Object.entries(metadata)) {
41
- console.log(`${key}: ${value}`);
42
- }
+ console.log(JSON.stringify(metadata, null, 2));
43
}
44
// [END storage_get_bucket_metadata]
45
getBucketMetadata().catch(console.error);
0 commit comments