GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docs: add samples for soft delete (objects) by JesseLovelace · Pull Request #2754 · googleapis/java-storage

This repository was archived by the owner on Sep 25, 2026. It is now read-only.

Conversation

@JesseLovelace

@JesseLovelace JesseLovelace commented Oct 7, 2024

Copy link
Copy Markdown
Contributor

Samples for working with soft deleted objects, intended for https://cloud.google.com/storage/docs/use-soft-delete and https://cloud.google.com/storage/docs/use-soft-deleted-objects

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@JesseLovelace
feat: add samples for soft delete (objects)
8724af6
@product-auto-label product-auto-label Bot added size: l Pull request size is large. api: storage Issues related to the googleapis/java-storage API. samples Issues that are directly related to samples. labels Oct 7, 2024
@blunderbuss-gcf blunderbuss-gcf Bot assigned olivi-eh Oct 7, 2024
@snippet-bot

snippet-bot Bot commented Oct 7, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Here is the summary of changes.

You are about to add 6 region tags.
  • samples/snippets/src/main/java/com/example/storage/bucket/DisableSoftDelete.java:19, tag storage_disable_soft_delete
  • samples/snippets/src/main/java/com/example/storage/bucket/GetSoftDeletePolicy.java:19, tag storage_get_soft_delete_policy
  • samples/snippets/src/main/java/com/example/storage/bucket/SetSoftDeletePolicy.java:19, tag storage_set_soft_delete_policy
  • samples/snippets/src/main/java/com/example/storage/object/ListSoftDeletedObjects.java:19, tag storage_list_soft_deleted_objects
  • samples/snippets/src/main/java/com/example/storage/object/ListSoftDeletedVersionsOfObject.java:19, tag storage_list_soft_deleted_object_versions
  • samples/snippets/src/main/java/com/example/storage/object/RestoreSoftDeletedObject.java:19, tag storage_restore_object

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@BenWhitehead BenWhitehead changed the title feat: add samples for soft delete (objects) docs: add samples for soft delete (objects) Oct 10, 2024
sydney-munro
sydney-munro approved these changes Nov 26, 2024
View reviewed changes

@sydney-munro sydney-munro left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

approved with 2 small comments.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread samples/snippets/src/main/java/com/example/storage/bucket/DisableSoftDelete.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread samples/snippets/src/main/java/com/example/storage/bucket/SetSoftDeletePolicy.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

JesseLovelace added 4 commits November 26, 2024 11:24
@JesseLovelace
seperate calls; run lint
ef3e09a
@JesseLovelace
style issues
a882825
@JesseLovelace
one more lint issue
9fc7b09
@JesseLovelace
fix test issue
fd42a0f
@sydney-munro

sydney-munro commented Nov 27, 2024

Copy link
Copy Markdown
Contributor

approved with 2 small comments.

LGTM

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

JesseLovelace added 2 commits December 5, 2024 14:45
@JesseLovelace
create test-specific bucket in restore test
e8cc7d9
@JesseLovelace
format
18610ff
@JesseLovelace
JesseLovelace merged commit 41bc807 into main Dec 6, 2024
@JesseLovelace
JesseLovelace deleted the softdelsamps branch December 6, 2024 18:20
@release-please release-please Bot mentioned this pull request Dec 5, 2024
chore(main): release 2.46.0 #2832
Merged
This was referenced Dec 6, 2024
storage: samples for Soft Delete (objects) GoogleCloudPlatform/golang-samples#4789
Closed
Storage: Samples for object soft delete googleapis/google-cloud-cpp#14884
Closed
Samples for object soft delete googleapis/python-storage#1391
Closed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

1 more reviewer
@sydney-munro sydney-munro sydney-munro approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@olivi-eh olivi-eh

Labels

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

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@JesseLovelace @sydney-munro @olivi-eh
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.