Skip to content

Commit 5cfc28f

Browse files
authored
fix(storage): fix region tags for encryption enforcement samples (#4324)
1 parent 09c8109 commit 5cfc28f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

storage/getBucketEncryptionEnforcementConfig.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
// usage: node getBucketEncryptionEnforcementConfig.js <BUCKET_NAME>
2121

2222
function main(bucketName = 'my-bucket') {
23-
// [START storage_get_encryption_enforcement_config]
23+
// [START storage_get_bucket_encryption_enforcement_config]
2424
/**
2525
* TODO(developer): Uncomment the following lines before running the sample.
2626
*/
@@ -71,6 +71,6 @@ function main(bucketName = 'my-bucket') {
7171
}
7272

7373
getBucketEncryptionEnforcementConfig().catch(console.error);
74-
// [END storage_get_encryption_enforcement_config]
74+
// [END storage_get_bucket_encryption_enforcement_config]
7575
}
7676
main(...process.argv.slice(2));

storage/setBucketEncryptionEnforcementConfig.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function main(
2323
bucketName = 'my-bucket',
2424
defaultKmsKeyName = process.env.GOOGLE_CLOUD_KMS_KEY_ASIA
2525
) {
26-
// [START storage_set_encryption_enforcement_config]
26+
// [START storage_set_bucket_encryption_enforcement_config]
2727
/**
2828
* TODO(developer): Uncomment the following lines before running the sample.
2929
*/
@@ -88,6 +88,6 @@ function main(
8888
}
8989

9090
setBucketEncryptionEnforcementConfig().catch(console.error);
91-
// [END storage_set_encryption_enforcement_config]
91+
// [END storage_set_bucket_encryption_enforcement_config]
9292
}
9393
main(...process.argv.slice(2));

0 commit comments

Comments
 (0)