Skip to content

Commit 56c7413

Browse files
DEV-35794 Add Lifecycle rule capabilities to private SDK (#111)
Update python version to 3.12 Attempts to install python3 Change python version to 3.13.9 trying 3.10 Attempt to use python3 instead 3.9 More changes Attempt python 3.10 with cache and architecture Just use Python Attempt to use uv revert to main changes Use python slim using uv going back to main changes Rebase with main
1 parent 435975c commit 56c7413

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

core/src/main/java/com/backblaze/b2/client/structures/B2Capabilities.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,7 @@ public interface B2Capabilities {
5454

5555
String READ_BUCKET_NOTIFICATIONS = "readBucketNotifications";
5656
String WRITE_BUCKET_NOTIFICATIONS = "writeBucketNotifications";
57+
58+
String READ_BUCKET_LIFECYCLE_RULES = "readBucketLifecycleRules";
59+
String WRITE_BUCKET_LIFECYCLE_RULES = "writeBucketLifecycleRules";
5760
}

core/src/test/java/com/backblaze/b2/client/structures/B2ApplicationKeyTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ public void testEquals() {
3636
capabilities.add(B2Capabilities.WRITE_BUCKET_REPLICATIONS);
3737
capabilities.add(B2Capabilities.READ_BUCKET_NOTIFICATIONS);
3838
capabilities.add(B2Capabilities.WRITE_BUCKET_NOTIFICATIONS);
39+
capabilities.add(B2Capabilities.READ_BUCKET_LIFECYCLE_RULES);
40+
capabilities.add(B2Capabilities.WRITE_BUCKET_LIFECYCLE_RULES);
3941
final B2ApplicationKey applicationKey =
4042
new B2ApplicationKey(
4143
"accountId",

0 commit comments

Comments
 (0)