FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: add new preview Bucket encryption policy configuration by BenWhitehead · Pull Request #3204 · googleapis/java-storage · GitHub

feat: add new preview Bucket encryption policy configuration - #3204

Merged
BenWhitehead merged 2 commits into
mainfrom
feat/bucket-encryption-config
Aug 5, 2025
Merged

feat: add new preview Bucket encryption policy configuration#3204
BenWhitehead merged 2 commits into
mainfrom
feat/bucket-encryption-config

Conversation

Copy link
Copy Markdown
Collaborator
  • GoogleManagedEncryptionEnforcementConfig
  • CustomerManagedEncryptionEnforcementConfig
  • CustomerSuppliedEncryptionEnforcementConfig

BenWhitehead requested review from a team July 23, 2025 16:14
product-auto-label Bot added size: l Pull request size is large. api: storage Issues related to the googleapis/java-storage API. labels Jul 23, 2025
* GoogleManagedEncryptionEnforcementConfig
* CustomerManagedEncryptionEnforcementConfig
* CustomerSuppliedEncryptionEnforcementConfig
BenWhitehead force-pushed the feat/bucket-encryption-config branch from 122f35c to 67baf14 Compare July 23, 2025 16:40
BrandonY previously approved these changes Aug 4, 2025
GoogleManagedEncryptionEnforcementConfig,
Encryption.GoogleManagedEncryptionEnforcementConfig>
googleManagedEncryptionEnforcementConfigCodec =
Codec.of(

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

This stuff seems very boilerplate. I wonder if there's a good way to pare it down or make more in common with the other methods. Probably nothing to do about it just now, so just an observation.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

It is. Unfortunately, the types we are touching are grpc generated and apiary generated classes. Which have the same shape, but none of the shared common class hierarchy. We'd either need what we have here, or some facade that was able to sit over both and make this code easier, but that facade would need to do some translation/mapping itself. So, while not ideal by an abstraction perspective, the conversions classes are at least mostly self contained and low maintenance once the conversions are added.

BenWhitehead merged commit 7b250dd into main Aug 5, 2025
25 checks passed
BenWhitehead deleted the feat/bucket-encryption-config branch August 5, 2025 16:28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storage Issues related to the googleapis/java-storage API. size: l Pull request size is large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL