Commit bcb28f2
authored
[Storage] Bucket Lock (googleapis#3727)
* [Storage] Replay GCS Bucket Lock (googleapis#3645)
* Add support for defaultEventBasedHold
* Add support for Blob eventBasedHold
* Add support for blob temporary holds
* Remove Beta launch annotations for CMEK
* Add support for lockRetentionPolicy and RetentionPolicy
* Update FakeStorageRPC
* codacy-bot review fix (final only)
* Update getRetentionPolicyIsLocked() -> retentionPolicyIsLocked() and misc.
* Address comments
* Address comments
* Address comments.
* Small nits
* Fix additional comments
* [Storage] Bucket lock samples and bug fixes. (googleapis#3709)
* Fix issue in tests, write bucket lock samples, and resolve issue in client library
* Update documentation around Boolean returns to clarify different return caes.
* Fix broken unit test
* Address feedback
* Fix typo in comments1 parent c79f280 commit bcb28f2
19 files changed
Lines changed: 1255 additions & 285 deletions
File tree
- google-cloud-clients
- google-cloud-contrib/google-cloud-nio/src/main/java/com/google/cloud/storage/contrib/nio/testing
- google-cloud-storage/src
- main/java/com/google/cloud/storage
- spi/v1
- testing
- test/java/com/google/cloud/storage
- it
- google-cloud-examples/src
- main/java/com/google/cloud/examples/storage/snippets
- test/java/com/google/cloud/examples/storage/snippets
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
520 | 521 | | |
521 | 522 | | |
522 | 523 | | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
523 | 529 | | |
524 | 530 | | |
525 | 531 | | |
| |||
Lines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
405 | | - | |
406 | 405 | | |
407 | 406 | | |
408 | 407 | | |
409 | 408 | | |
410 | 409 | | |
411 | 410 | | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
412 | 429 | | |
413 | 430 | | |
414 | 431 | | |
| |||
0 commit comments