Skip to content

Commit a15ae91

Browse files
committed
addressing review comments
1 parent 97e4b50 commit a15ae91

File tree

7 files changed

+50
-1
lines changed

7 files changed

+50
-1
lines changed

storage-control/createAnywhereCache.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@
1414

1515
'use strict';
1616

17+
/**
18+
* This application demonstrates how to perform basic operations on an Anywhere Cache
19+
* instance with the Google Cloud Storage API.
20+
*
21+
* For more information, see the documentation at https://cloud.google.com/storage/docs/anywhere-cache.
22+
*/
23+
1724
function main(bucketName, zoneName) {
1825
// [START storage_control_create_anywhere_cache]
1926
/**

storage-control/disableAnywhereCache.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@
1414

1515
'use strict';
1616

17+
/**
18+
* This application demonstrates how to perform basic operations on an Anywhere Cache
19+
* instance with the Google Cloud Storage API.
20+
*
21+
* For more information, see the documentation at https://cloud.google.com/storage/docs/anywhere-cache.
22+
*/
23+
1724
function main(bucketName, cacheName) {
1825
// [START storage_control_disable_anywhere_cache]
1926
/**

storage-control/getAnywhereCache.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@
1414

1515
'use strict';
1616

17+
/**
18+
* This application demonstrates how to perform basic operations on an Anywhere Cache
19+
* instance with the Google Cloud Storage API.
20+
*
21+
* For more information, see the documentation at https://cloud.google.com/storage/docs/anywhere-cache.
22+
*/
23+
1724
function main(bucketName, cacheName) {
1825
// [START storage_control_get_anywhere_cache]
1926
/**

storage-control/listAnywhereCaches.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515

1616
'use strict';
1717

18+
/**
19+
* This application demonstrates how to perform basic operations on an Anywhere Cache
20+
* instance with the Google Cloud Storage API.
21+
*
22+
* For more information, see the documentation at https://cloud.google.com/storage/docs/anywhere-cache.
23+
*/
24+
1825
function main(bucketName) {
1926
// [START storage_control_list_anywhere_caches]
2027
/**

storage-control/pauseAnywhereCache.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@
1414

1515
'use strict';
1616

17+
/**
18+
* This application demonstrates how to perform basic operations on an Anywhere Cache
19+
* instance with the Google Cloud Storage API.
20+
*
21+
* For more information, see the documentation at https://cloud.google.com/storage/docs/anywhere-cache.
22+
*/
23+
1724
function main(bucketName, cacheName) {
1825
// [START storage_control_pause_anywhere_cache]
1926
/**

storage-control/resumeAnywhereCache.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@
1414

1515
'use strict';
1616

17+
/**
18+
* This application demonstrates how to perform basic operations on an Anywhere Cache
19+
* instance with the Google Cloud Storage API.
20+
*
21+
* For more information, see the documentation at https://cloud.google.com/storage/docs/anywhere-cache.
22+
*/
23+
1724
function main(bucketName, cacheName) {
1825
// [START storage_control_resume_anywhere_cache]
1926
/**

storage-control/updateAnywhereCache.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@
1414

1515
'use strict';
1616

17+
/**
18+
* This application demonstrates how to perform basic operations on an Anywhere Cache
19+
* instance with the Google Cloud Storage API.
20+
*
21+
* For more information, see the documentation at https://cloud.google.com/storage/docs/anywhere-cache.
22+
*/
23+
1724
function main(bucketName, cacheName, admissionPolicy) {
1825
// [START storage_control_update_anywhere_cache]
1926
/**
@@ -27,7 +34,7 @@ function main(bucketName, cacheName, admissionPolicy) {
2734
// const cacheName = 'cacheName';
2835

2936
// The admission policy of the cache to be updated
30-
// const admissionPolicy = 'admit-on-first-miss';
37+
// const admissionPolicy = 'admit-on-second-miss';
3138

3239
// Imports the Control library
3340
const {StorageControlClient} = require('@google-cloud/storage-control').v2;

0 commit comments

Comments
 (0)