feat(storage): add samples and system tests for bucket encryption enforcement#4272
Conversation
…orcement Adds comprehensive code samples and system tests to verify Google-managed, Customer-managed, and Customer-supplied encryption enforcement logic. - Add setBucketEncryptionEnforcementConfig.js sample - Add getBucketEncryptionEnforcementConfig.js sample - Add updateBucketEncryptionEnforcementConfig.js sample - Add system tests to verify CLI output and backend metadata state - Ensure server-side effectiveTime is correctly captured and displayed
|
Here is the summary of changes. You are about to add 3 region tags.
This comment is generated by snippet-bot.
|
There was a problem hiding this comment.
Code Review
This pull request introduces three new code samples and corresponding system tests for managing bucket encryption enforcement configurations in Google Cloud Storage. The new samples demonstrate how to retrieve, set, and update or clear enforcement settings for Google-managed (GMEK), customer-managed (CMEK), and customer-supplied (CSEK) encryption. I have no feedback to provide as there are no review comments to evaluate.
chandra-siri
left a comment
There was a problem hiding this comment.
Approved by Jetski on behalf of chandrasiri
Description
Adds comprehensive code samples and system tests to verify Google-managed,
Customer-managed, and Customer-supplied encryption enforcement logic.
Checklist
npm test(see Testing)npm run lint(see Style)GoogleCloudPlatform/nodejs-docs-samples. Not a fork.