nodejs-storage
nodejs-storage copied to clipboard
samples: add samples for object retention
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)
Fixes #2408 🦕
Here is the summary of changes.
You are about to add 2 region tags.
- samples/createBucketWithObjectRetention.js:23, tag
storage_create_bucket_with_object_retention - samples/setObjectRetentionPolicy.js:27, tag
storage_set_object_retention_policy
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
Warning: This pull request is touching the following templated files:
- README.md -
README.mdis managed bysynthtool. However, a partials file can be used to update the README, e.g.: https://github.com/googleapis/nodejs-storage/blob/main/.readme-partials.yaml - samples/README.md -
samples/README.mdis managed bysynthtool. However, a partials file can be used to update the README, e.g.: https://github.com/googleapis/nodejs-storage/blob/main/.readme-partials.yaml