Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions storage/getBucketEncryptionEnforcementConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// usage: node getBucketEncryptionEnforcementConfig.js <BUCKET_NAME>

function main(bucketName = 'my-bucket') {
// [START storage_get_encryption_enforcement_config]
// [START storage_get_bucket_encryption_enforcement_config]
/**
* TODO(developer): Uncomment the following lines before running the sample.
*/
Expand Down Expand Up @@ -71,6 +71,6 @@ function main(bucketName = 'my-bucket') {
}

getBucketEncryptionEnforcementConfig().catch(console.error);
// [END storage_get_encryption_enforcement_config]
// [END storage_get_bucket_encryption_enforcement_config]
}
main(...process.argv.slice(2));
4 changes: 2 additions & 2 deletions storage/setBucketEncryptionEnforcementConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function main(
bucketName = 'my-bucket',
defaultKmsKeyName = process.env.GOOGLE_CLOUD_KMS_KEY_ASIA
) {
// [START storage_set_encryption_enforcement_config]
// [START storage_set_bucket_encryption_enforcement_config]
/**
* TODO(developer): Uncomment the following lines before running the sample.
*/
Expand Down Expand Up @@ -88,6 +88,6 @@ function main(
}

setBucketEncryptionEnforcementConfig().catch(console.error);
// [END storage_set_encryption_enforcement_config]
// [END storage_set_bucket_encryption_enforcement_config]
}
main(...process.argv.slice(2));