Remove OLM action UnsupportedOperationException #1159
Labels
api: storage
Issues related to the googleapis/java-storage API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Milestone
The library throws an error when parsing unrecognized OLM actions - https://github.com/googleapis/java-storage/blob/main/google-cloud-storage/src/main/java/com/google/cloud/storage/BucketInfo.java#L551. This is not future proof as it causes old versions to break when new actions are introduced.
We should update the client to silently error, or add an additional "UNKNOWN" enum to gracefully handle these cases.
The text was updated successfully, but these errors were encountered: