CARVIEW |
Select Language
HTTP/2 200
date: Thu, 24 Jul 2025 05:26:49 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/googleapis/java-storage.git
etag: W/"32eff723ccbe12c8ea872a5023949e78"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=CWEGNowMqTAh76Ib842ekM4R1mNBwa9vDpPFakOkMwa1RkRhK4gGk5ttRWPLA6khXv3sNxcZJUjR9Jrwbgx33MmglLR57W7pqXxbAKwhoFHR7Rt9aPowB47BUVezTnSoEyBP0GPLCelcZ9%2BV0FKEvK2x2SlOwytEVxVtFq7pMuQTgu7NUrpGTr3o3kPstrFTnSmPG31S7dNTPxKgkbehLVFPhd%2FfU8%2ByUMncbjQm9E97bVnsA3u%2B1XbZhRL%2BnVJb4d5cEoKBbOnG%2BGA53kG00w%3D%3D--%2BgVw9YBTTV%2FajBbL--xhFd649vwkaL2m74c4ghjw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.697290668.1753334809; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 05:26:49 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 05:26:49 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: C57C:36F97A:13C0909:17F4D5A:6881C419
feat: add object retention feature (#2277) · googleapis/java-storage@3deb29b · GitHub

![gcf-owl-bot[bot]](https://avatars.githubusercontent.com/in/99011?v=4&size=40)
authored
Copy file name to clipboardExpand all lines: google-cloud-storage/clirr-ignored-differences.xml
Copy file name to clipboardExpand all lines: google-cloud-storage/src/main/java/com/google/cloud/storage/Blob.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/main/java/com/google/cloud/storage/BlobInfo.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/main/java/com/google/cloud/storage/Bucket.java
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 84
Commit 3deb29b
feat: add object retention feature (#2277)
* feat: add object retention feature
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* address review comments
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* Add a workaround to avoid a testbench failure
* chore: some fixes from pairing with jesse
* chore: put a `!` :don't program while sleepy:
* chore: mvn-fmt
* add a way to avoid using the objectRetentionField in bucket tests
* add retention to blobfield tests
* clirr and fmt
* add todos
* fmt
---------
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: BenWhitehead <BenWhitehead@users.noreply.github.com>1 parent 6d26d14 commit 3deb29bCopy full SHA for 3deb29b
File tree
Expand file treeCollapse file tree
19 files changed
+548
-21
lines changedFilter options
- google-cloud-storage
- src
- main/java/com/google/cloud/storage
- spi/v1
- test/java/com/google/cloud/storage
- it
Expand file treeCollapse file tree
19 files changed
+548
-21
lines changedgoogle-cloud-storage/clirr-ignored-differences.xml
Copy file name to clipboardExpand all lines: google-cloud-storage/clirr-ignored-differences.xml+6Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
18 | 24 |
| |
19 | 25 |
| |
20 | 26 |
| |
|
google-cloud-storage/src/main/java/com/google/cloud/storage/Blob.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/main/java/com/google/cloud/storage/Blob.java+6Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
526 | 526 |
| |
527 | 527 |
| |
528 | 528 |
| |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
529 | 535 |
| |
530 | 536 |
| |
531 | 537 |
| |
|
google-cloud-storage/src/main/java/com/google/cloud/storage/BlobInfo.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/main/java/com/google/cloud/storage/BlobInfo.java+138-1Lines changed: 138 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
| 25 | + | |
25 | 26 |
| |
| 27 | + | |
| 28 | + | |
26 | 29 |
| |
27 | 30 |
| |
28 | 31 |
| |
| |||
104 | 107 |
| |
105 | 108 |
| |
106 | 109 |
| |
| 110 | + | |
107 | 111 |
| |
108 | 112 |
| |
109 | 113 |
| |
| |||
168 | 172 |
| |
169 | 173 |
| |
170 | 174 |
| |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
171 | 288 |
| |
172 | 289 |
| |
173 | 290 |
| |
| |||
408 | 525 |
| |
409 | 526 |
| |
410 | 527 |
| |
| 528 | + | |
| 529 | + | |
411 | 530 |
| |
412 | 531 |
| |
413 | 532 |
| |
| |||
506 | 625 |
| |
507 | 626 |
| |
508 | 627 |
| |
| 628 | + | |
509 | 629 |
| |
510 | 630 |
| |
511 | 631 |
| |
| |||
543 | 663 |
| |
544 | 664 |
| |
545 | 665 |
| |
| 666 | + | |
546 | 667 |
| |
547 | 668 |
| |
548 | 669 |
| |
| |||
916 | 1037 |
| |
917 | 1038 |
| |
918 | 1039 |
| |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
919 | 1048 |
| |
920 | 1049 |
| |
921 | 1050 |
| |
| |||
1139 | 1268 |
| |
1140 | 1269 |
| |
1141 | 1270 |
| |
| 1271 | + | |
1142 | 1272 |
| |
1143 | 1273 |
| |
1144 | 1274 |
| |
| |||
1532 | 1662 |
| |
1533 | 1663 |
| |
1534 | 1664 |
| |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
1535 | 1670 |
| |
1536 | 1671 |
| |
1537 | 1672 |
| |
| |||
1581 | 1716 |
| |
1582 | 1717 |
| |
1583 | 1718 |
| |
| 1719 | + | |
1584 | 1720 |
| |
1585 | 1721 |
| |
1586 | 1722 |
| |
| |||
1622 | 1758 |
| |
1623 | 1759 |
| |
1624 | 1760 |
| |
1625 |
| - | |
| 1761 | + | |
| 1762 | + | |
1626 | 1763 |
| |
1627 | 1764 |
| |
1628 | 1765 |
| |
|
google-cloud-storage/src/main/java/com/google/cloud/storage/Bucket.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/main/java/com/google/cloud/storage/Bucket.java+16Lines changed: 16 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
272 | 272 |
| |
273 | 273 |
| |
274 | 274 |
| |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
275 | 285 |
| |
276 | 286 |
| |
277 | 287 |
| |
| |||
732 | 742 |
| |
733 | 743 |
| |
734 | 744 |
| |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
735 | 751 |
| |
736 | 752 |
| |
737 | 753 |
| |
|
You can’t perform that action at this time.
0 commit comments